AwsIamPolicyVersionPropertiesResponse

data class AwsIamPolicyVersionPropertiesResponse(val createDate: String? = null, val document: String? = null, val isDefaultVersion: Boolean? = null, val versionId: String? = null)

Definition of awsIamPolicyVersion

Constructors

Link copied to clipboard
constructor(createDate: String? = null, document: String? = null, isDefaultVersion: Boolean? = null, versionId: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val createDate: String? = null

The date and time, in ISO 8601 date-time format, when the policy version was created.

Link copied to clipboard
val document: String? = null

The policy document.

The policy document is returned in the response to the GetPolicyVersion and GetAccountAuthorizationDetails operations. It is not returned in the response to the CreatePolicyVersion or ListPolicyVersions operations.

The policy document returned in this structure is URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode method of the java.net.URLDecoder utility class in the Java SDK. Other languages and SDKs provide similar functionality.

Link copied to clipboard

Specifies whether the policy version is set as the policy's default version.

Link copied to clipboard
val versionId: String? = null

The identifier for the policy version.

Policy version identifiers always begin with v (always lowercase). When a policy is created, the first policy version is v1.