pub struct AssumeRoleOptions {
pub duration: Option<Duration>,
pub session_name: Option<String>,
pub policy: Option<String>,
pub external_id: Option<String>,
pub source_identity: Option<String>,
pub tags: Vec<(String, String)>,
pub sts_endpoint: Option<String>,
pub client_options: ClientOptions,
pub retry: RetryConfig,
}Expand description
The parameters of an STS:AssumeRole call beyond the role.
https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
Fields§
§duration: Option<Duration>DurationSeconds: the session lifetime, between 15 minutes and the role’s maximum.
STS’s own default (one hour) when None.
session_name: Option<String>RoleSessionName, recorded in CloudTrail; DEFAULT_SESSION_NAME when None.
policy: Option<String>Policy: an inline session policy (JSON) intersected with the role’s policies.
external_id: Option<String>ExternalId, when the role’s trust policy requires one.
source_identity: Option<String>SourceIdentity, a persistent identity for the caller, recorded in CloudTrail.
Session tags, as Tags.member.N key/value pairs.
sts_endpoint: Option<String>The STS endpoint; https://sts.<region>.amazonaws.com when None.
client_options: ClientOptionsHTTP client options for the STS call.
retry: RetryConfigRetries for the STS call.
Trait Implementations§
Source§impl Clone for AssumeRoleOptions
impl Clone for AssumeRoleOptions
Source§impl Debug for AssumeRoleOptions
impl Debug for AssumeRoleOptions
Auto Trait Implementations§
impl !Freeze for AssumeRoleOptions
impl RefUnwindSafe for AssumeRoleOptions
impl Send for AssumeRoleOptions
impl Sync for AssumeRoleOptions
impl Unpin for AssumeRoleOptions
impl UnsafeUnpin for AssumeRoleOptions
impl UnwindSafe for AssumeRoleOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more