Initializer
Properties
| Name | Type | Description |
|---|---|---|
duration | str | (Optional) The duration individual credentials will be valid. |
policy | str | (Optional) IAM Policy JSON describing further restricting permissions for the IAM Role being assumed. |
policy_arns | typing.List[str] | (Optional) Set of Amazon Resource Names (ARNs) of IAM Policies describing further restricting permissions for the IAM Role being assumed. |
role_arn | str | (Required) Amazon Resource Name (ARN) of the IAM Role to assume. |
session_name | str | (Optional) Session name to use when assuming the role. |
web_identity_token | str | (Optional) The value of a web identity token from an OpenID Connect (OIDC) or OAuth provider. |
web_identity_token_file | str | (Optional) File containing a web identity token from an OpenID Connect (OIDC) or OAuth provider. |
durationOptional
- Type: str
policyOptional
- Type: str
policy_arnsOptional
- Type: typing.List[str]
role_arnOptional
- Type: str
session_nameOptional
- Type: str
web_identity_tokenOptional
- Type: str
web_identity_token_fileOptional
- Type: str