Initializer
Properties
| Name | Type | Description |
|---|---|---|
duration | string | (Optional) The duration individual credentials will be valid. |
policy | string | (Optional) IAM Policy JSON describing further restricting permissions for the IAM Role being assumed. |
policyArns | string[] | (Optional) Set of Amazon Resource Names (ARNs) of IAM Policies describing further restricting permissions for the IAM Role being assumed. |
roleArn | string | (Required) Amazon Resource Name (ARN) of the IAM Role to assume. |
sessionName | string | (Optional) Session name to use when assuming the role. |
webIdentityToken | string | (Optional) The value of a web identity token from an OpenID Connect (OIDC) or OAuth provider. |
webIdentityTokenFile | string | (Optional) File containing a web identity token from an OpenID Connect (OIDC) or OAuth provider. |
durationOptional
- Type: string
policyOptional
- Type: string
policyArnsOptional
- Type: string[]
roleArnOptional
- Type: string
sessionNameOptional
- Type: string
webIdentityTokenOptional
- Type: string
webIdentityTokenFileOptional
- Type: string