Struct aws_sdk_iot::types::PresignedUrlConfig
source · #[non_exhaustive]pub struct PresignedUrlConfig { /* private fields */ }
Expand description
Configuration for pre-signed S3 URLs.
Implementations§
source§impl PresignedUrlConfig
impl PresignedUrlConfig
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The ARN of an IAM role that 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.
For information about addressing the confused deputy problem, see cross-service confused deputy prevention in the Amazon Web Services IoT Core developer guide.
sourcepub fn expires_in_sec(&self) -> Option<i64>
pub fn expires_in_sec(&self) -> 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.
source§impl PresignedUrlConfig
impl PresignedUrlConfig
sourcepub fn builder() -> PresignedUrlConfigBuilder
pub fn builder() -> PresignedUrlConfigBuilder
Creates a new builder-style object to manufacture PresignedUrlConfig
.
Trait Implementations§
source§impl Clone for PresignedUrlConfig
impl Clone for PresignedUrlConfig
source§fn clone(&self) -> PresignedUrlConfig
fn clone(&self) -> PresignedUrlConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PresignedUrlConfig
impl Debug for PresignedUrlConfig
source§impl PartialEq<PresignedUrlConfig> for PresignedUrlConfig
impl PartialEq<PresignedUrlConfig> for PresignedUrlConfig
source§fn eq(&self, other: &PresignedUrlConfig) -> bool
fn eq(&self, other: &PresignedUrlConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PresignedUrlConfig
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§
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