RoleArgs

data class RoleArgs(val assumeRolePolicyDocument: Output<Any>? = null, val description: Output<String>? = null, val managedPolicyArns: Output<List<String>>? = null, val maxSessionDuration: Output<Int>? = null, val path: Output<String>? = null, val permissionsBoundary: Output<String>? = null, val policies: Output<List<RolePolicyArgs>>? = null, val roleName: Output<String>? = null, val tags: Output<List<RoleTagArgs>>? = null) : ConvertibleToJava<RoleArgs>

Resource Type definition for AWS::IAM::Role

Example Usage

Example

No Java example available.

Example

No Java example available.

Example

No Java example available.

Constructors

Link copied to clipboard
fun RoleArgs(assumeRolePolicyDocument: Output<Any>? = null, description: Output<String>? = null, managedPolicyArns: Output<List<String>>? = null, maxSessionDuration: Output<Int>? = null, path: Output<String>? = null, permissionsBoundary: Output<String>? = null, policies: Output<List<RolePolicyArgs>>? = null, roleName: Output<String>? = null, tags: Output<List<RoleTagArgs>>? = null)

Functions

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

Properties

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

The trust policy that is associated with this role.

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

A description of the role that you provide.

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

A list of Amazon Resource Names (ARNs) of the IAM managed policies that you want to attach to the role.

Link copied to clipboard
val maxSessionDuration: Output<Int>? = null

The maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours.

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

The path to the role.

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

The ARN of the policy used to set the permissions boundary for the role.

Link copied to clipboard
val policies: Output<List<RolePolicyArgs>>? = null

Adds or updates an inline policy document that is embedded in the specified IAM role.

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

A name for the IAM role, up to 64 characters in length.

Link copied to clipboard
val tags: Output<List<RoleTagArgs>>? = null

A list of tags that are attached to the role.