AssumeRootRequest
¶
Source code in docs_src/capo_sts/types/assume_root_request.py
duration_seconds
instance-attribute
¶
duration_seconds: NotRequired[RootDurationSecondsType]
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.
minimum_session_token_size
instance-attribute
¶
minimum_session_token_size: NotRequired[minimumSessionTokenSizeType]
target_principal
instance-attribute
¶
target_principal: TargetPrincipalType
The member account principal ARN or account ID.
task_policy_arn
instance-attribute
¶
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: