AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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
show all
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

Instance Attribute Details

#global_endpoint_token_versionString

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.

Returns:

  • (String)

    The version of the global endpoint token.