AwsIamPolicyVersionPropertiesArgs

data class AwsIamPolicyVersionPropertiesArgs(val createDate: Output<String>? = null, val document: Output<String>? = null, val isDefaultVersion: Output<Boolean>? = null, val versionId: Output<String>? = null) : ConvertibleToJava<AwsIamPolicyVersionPropertiesArgs>

Definition of awsIamPolicyVersion

Constructors

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

Properties

Link copied to clipboard
val createDate: Output<String>? = null

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

Link copied to clipboard
val document: Output<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
val isDefaultVersion: Output<Boolean>? = null

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

Link copied to clipboard
val versionId: Output<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.

Functions

Link copied to clipboard
open override fun toJava(): AwsIamPolicyVersionPropertiesArgs