Class: Aws::IAM::Types::SetSecurityTokenServicePreferencesRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IAM::Types::SetSecurityTokenServicePreferencesRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iam/types.rb
Overview
Note:
When making an API call, you may pass SetSecurityTokenServicePreferencesRequest data as a hash:
{
global_endpoint_token_version: "v1Token", # required, accepts v1Token, v2Token
}
Instance Attribute Summary collapse
-
#global_endpoint_token_version ⇒ String
The version of the global endpoint token.
Instance Attribute Details
#global_endpoint_token_version ⇒ String
The version of the global endpoint token. Version 1 tokens are valid only in AWS Regions that are available by default. These tokens do not work in manually enabled Regions, such as Asia Pacific (Hong Kong). Version 2 tokens are valid in all Regions. However, version 2 tokens are longer and might affect systems where you temporarily store tokens.
For information, see [Activating and Deactivating STS in an AWS Region] in the *IAM User Guide*.
[1]: docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html
9320 9321 9322 9323 |
# File 'lib/aws-sdk-iam/types.rb', line 9320 class SetSecurityTokenServicePreferencesRequest < Struct.new( :global_endpoint_token_version) include Aws::Structure end |