UserPolicyArgs

data class UserPolicyArgs(val policyDocument: Output<Any>, val policyName: Output<String>) : ConvertibleToJava<UserPolicyArgs>

Contains information about an attached policy. An attached policy is a managed policy that has been attached to a user, group, or role. For more information about managed policies, refer to Managed Policies and Inline Policies in the User Guide.

Constructors

Link copied to clipboard
constructor(policyDocument: Output<Any>, policyName: Output<String>)

Properties

Link copied to clipboard
val policyDocument: Output<Any>

The entire contents of the policy that defines permissions. For more information, see Overview of JSON policies.

Link copied to clipboard
val policyName: Output<String>

The friendly name (not ARN) identifying the policy.

Functions

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