ManagedPolicyArgs

data class ManagedPolicyArgs(val description: Output<String>? = null, val groups: Output<List<String>>? = null, val managedPolicyName: Output<String>? = null, val path: Output<String>? = null, val policyDocument: Output<Any>? = null, val roles: Output<List<String>>? = null, val users: Output<List<String>>? = null) : ConvertibleToJava<ManagedPolicyArgs>

Resource Type definition for AWS::IAM::ManagedPolicy

Constructors

Link copied to clipboard
fun ManagedPolicyArgs(description: Output<String>? = null, groups: Output<List<String>>? = null, managedPolicyName: Output<String>? = null, path: Output<String>? = null, policyDocument: Output<Any>? = null, roles: Output<List<String>>? = null, users: Output<List<String>>? = null)

Functions

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

Properties

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

A friendly description of the policy.

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

The name (friendly name, not ARN) of the group to attach the policy to.

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

The friendly name of the policy.

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

The path for the policy.

Link copied to clipboard
val policyDocument: Output<Any>? = null

The JSON policy document that you want to use as the content for the new policy.

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

The name (friendly name, not ARN) of the role to attach the policy to.

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

The name (friendly name, not ARN) of the IAM user to attach the policy to.