Class: Aws::IAM::Types::SetSecurityTokenServicePreferencesRequest

Inherits:
Struct
  • Object
show all
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
}

Constant Summary collapse

SENSITIVE =
[]

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 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 Region] in the *IAM User Guide*.

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html

Returns:

  • (String)

10366
10367
10368
10369
10370
# File 'lib/aws-sdk-iam/types.rb', line 10366

class SetSecurityTokenServicePreferencesRequest < Struct.new(
  :global_endpoint_token_version)
  SENSITIVE = []
  include Aws::Structure
end