Class: Ansible::Ruby::Modules::Sts_assume_role

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

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

attr_option, attr_options, attribute, #initialize, #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 role session. The value can range from 900 seconds (15 minutes) to 3600 seconds (1 hour). By default, the value is set to 3600 seconds.

Returns:

  • (Object, nil)

    The duration, in seconds, of the role session. The value can range from 900 seconds (15 minutes) to 3600 seconds (1 hour). By default, the value is set to 3600 seconds.



21
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/sts_assume_role.rb', line 21

attribute :duration_seconds

#external_idObject?

Returns A unique identifier that is used by third parties to assume a role in their customers’ accounts.

Returns:

  • (Object, nil)

    A unique identifier that is used by third parties to assume a role in their customers’ accounts.



24
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/sts_assume_role.rb', line 24

attribute :external_id

#mfa_serial_numberObject?

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

Returns:

  • (Object, nil)

    he identification number of the MFA device that is associated with the user who is making the AssumeRole call.



27
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/sts_assume_role.rb', line 27

attribute :mfa_serial_number

#mfa_tokenObject?

Returns The value provided by the MFA device, if the trust policy of the role being assumed requires MFA.

Returns:

  • (Object, nil)

    The value provided by the MFA device, if the trust policy of the role being assumed requires MFA.



30
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/sts_assume_role.rb', line 30

attribute :mfa_token

#policyObject?

Returns Supplemental policy to use in addition to assumed role’s policies.

Returns:

  • (Object, nil)

    Supplemental policy to use in addition to assumed role’s policies.



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

attribute :policy

#role_arnObject

Returns The Amazon Resource Name (ARN) of the role that the caller is assuming (docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html#Identifiers_ARNs).

Returns:



10
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/sts_assume_role.rb', line 10

attribute :role_arn

#role_session_nameObject

Returns Name of the role’s session - will be used by CloudTrail.

Returns:

  • (Object)

    Name of the role’s session - will be used by CloudTrail



14
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/sts_assume_role.rb', line 14

attribute :role_session_name