Class: Ansible::Ruby::Modules::Sts_session_token

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/amazon/sts_session_token.rb

Overview

Obtain a session token from the AWS Security Token Service

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#duration_secondsObject?

Returns The duration, in seconds, of the session token. See docs.aws.amazon.com/STS/latest/APIReference/API_GetSessionToken.html#API_GetSessionToken_RequestParameters for acceptable and default values.

Returns:



12
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/sts_session_token.rb', line 12

attribute :duration_seconds

#mfa_serial_numberObject?

Returns The identification number of the MFA device that is associated with the user who is making the GetSessionToken call.

Returns:

  • (Object, nil)

    The identification number of the MFA device that is associated with the user who is making the GetSessionToken call.



15
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/sts_session_token.rb', line 15

attribute :mfa_serial_number

#mfa_tokenObject?

Returns The value provided by the MFA device, if the trust policy of the user requires MFA.

Returns:

  • (Object, nil)

    The value provided by the MFA device, if the trust policy of the user requires MFA.



18
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/sts_session_token.rb', line 18

attribute :mfa_token