Struct aws_config::imds::client::Builder [−][src]
pub struct Builder { /* fields omitted */ }
Expand description
IMDSv2 Client Builder
Implementations
Override the number of retries for fetching tokens & metadata
By default, 4 attempts will be made.
Override the time-to-live for the session token
Requests to IMDS utilize a session token for authentication. By default, session tokens last for 6 hours. When the TTL for the token expires, a new token must be retrieved from the metadata service.
Override the connect timeout for IMDS
This value defaults to 1 second
Override the read timeout for IMDS
This value defaults to 1 second
Build an IMDSv2 Client
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Builder
impl !UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more