Class: Ansible::Ruby::Modules::Sts_session_token
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Sts_session_token
- 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
-
#duration_seconds ⇒ Object?
The duration, in seconds, of the session token.
-
#mfa_serial_number ⇒ Object?
The identification number of the MFA device that is associated with the user who is making the GetSessionToken call.
-
#mfa_token ⇒ Object?
The value provided by the MFA device, if the trust policy of the user requires MFA.
Methods inherited from Base
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_seconds ⇒ Object?
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.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/sts_session_token.rb', line 12 attribute :duration_seconds |
#mfa_serial_number ⇒ Object?
Returns 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_token ⇒ Object?
Returns 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 |