Skip to main content

Initializer

Properties


roleArnRequired

  • Type: java.lang.String
(Required) Amazon Resource Name (ARN) of the IAM Role to assume.

durationOptional

  • Type: java.lang.String
(Optional) The duration individual credentials will be valid. Credentials are automatically renewed up to the maximum defined by the AWS account. Specified using the format < hours >h< minutes >m< seconds >s with any unit being optional. For example, an hour and a half can be specified as 1h30m or 90m. Must be between 15 minutes (15m) and 12 hours (12h).

externalIdOptional

  • Type: java.lang.String
(Optional) External identifier to use when assuming the role.

policyOptional

  • Type: java.lang.String
(Optional) IAM Policy JSON describing further restricting permissions for the IAM Role being assumed.

policyArnsOptional

  • Type: java.util.List< java.lang.String >
(Optional) Set of Amazon Resource Names (ARNs) of IAM Policies describing further restricting permissions for the IAM Role being assumed.

sessionNameOptional

  • Type: java.lang.String
(Optional) Session name to use when assuming the role.

sourceIdentityOptional

  • Type: java.lang.String
(Optional) Source identity specified by the principal assuming the.

tagsOptional

  • Type: java.util.Map< java.lang.String, java.lang.String >
(Optional) Map of assume role session tags.

transitiveTagKeysOptional

  • Type: java.util.List< java.lang.String >
(Optional) Set of assume role session tag keys to pass to any subsequent sessions.