You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IAM::Types::SetSecurityTokenServicePreferencesRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IAM::Types::SetSecurityTokenServicePreferencesRequest
- Defined in:
- (unknown)
Overview
Note:
When passing SetSecurityTokenServicePreferencesRequest as input to an Aws::Client method, you can use a vanilla 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.