Struct aws_sdk_iot::model::PresignedUrlConfig [−][src]
#[non_exhaustive]pub struct PresignedUrlConfig {
pub role_arn: Option<String>,
pub expires_in_sec: Option<i64>,
}
Expand description
Configuration for pre-signed S3 URLs.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.role_arn: Option<String>
The ARN of an IAM role that grants grants permission to download files from the S3 bucket where the job data/updates are stored. The role must also grant permission for IoT to download the files.
expires_in_sec: Option<i64>
How long (in seconds) pre-signed URLs are valid. Valid values are 60 - 3600, the default value is 3600 seconds. Pre-signed URLs are generated when Jobs receives an MQTT request for the job document.
Implementations
The ARN of an IAM role that grants grants permission to download files from the S3 bucket where the job data/updates are stored. The role must also grant permission for IoT to download the files.
How long (in seconds) pre-signed URLs are valid. Valid values are 60 - 3600, the default value is 3600 seconds. Pre-signed URLs are generated when Jobs receives an MQTT request for the job document.
Creates a new builder-style object to manufacture PresignedUrlConfig
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PresignedUrlConfig
impl Send for PresignedUrlConfig
impl Sync for PresignedUrlConfig
impl Unpin for PresignedUrlConfig
impl UnwindSafe for PresignedUrlConfig
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