Builder

class Builder

Properties

Link copied to clipboard

The trust relationship policy document that grants an entity permission to assume the role.

Link copied to clipboard

A description of the role.

Link copied to clipboard

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 value of one hour is applied. This setting can have a value from 1 hour to 12 hours.

Link copied to clipboard
var path: String?

The path to the role. For more information about paths, see IAM Identifiers in the IAM User Guide.

Link copied to clipboard

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

Link copied to clipboard

The name of the role to create.

Link copied to clipboard
var tags: List<Tag>?

A list of tags that you want to attach to the new role. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM resources in the IAM User Guide.