class Amazonite::Sts::AssumeRootRequest

Defined in:

sts/assume_root_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(node : XML::Node) : self #

[View source]
def self.new(target_principal : String, task_policy_arn : PolicyDescriptorType, duration_seconds : Int32 | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def duration_seconds : Int32 | Nil #

The duration, in seconds, of the privileged session. The value can range from 0 seconds up to the maximum session duration of 900 seconds (15 minutes). If you specify a value higher than this setting, the operation fails.

By default, the value is set to 900 seconds.


[View source]
def duration_seconds=(duration_seconds : Int32 | Nil) #

The duration, in seconds, of the privileged session. The value can range from 0 seconds up to the maximum session duration of 900 seconds (15 minutes). If you specify a value higher than this setting, the operation fails.

By default, the value is set to 900 seconds.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def target_principal : String #

The member account principal ARN or account ID.


[View source]
def target_principal=(target_principal : String) #

The member account principal ARN or account ID.


[View source]
def task_policy_arn : PolicyDescriptorType #

The identity based policy that scopes the session to the privileged tasks that can be performed. You must use one of following Amazon Web Services managed policies to scope root session actions:

IAMAuditRootUserCredentials

IAMCreateRootUserPassword

IAMDeleteRootUserCredentials

S3UnlockBucketPolicy

SQSUnlockQueuePolicy


[View source]
def task_policy_arn=(task_policy_arn : PolicyDescriptorType) #

The identity based policy that scopes the session to the privileged tasks that can be performed. You must use one of following Amazon Web Services managed policies to scope root session actions:

IAMAuditRootUserCredentials

IAMCreateRootUserPassword

IAMDeleteRootUserCredentials

S3UnlockBucketPolicy

SQSUnlockQueuePolicy


[View source]
def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def validate! : Nil #

[View source]