You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iam/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

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)


9195
9196
9197
9198
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 9195

class SetSecurityTokenServicePreferencesRequest < Struct.new(
  :global_endpoint_token_version)
  include Aws::Structure
end