Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data PresignedUrlConfig Source #
Configuration for pre-signed S3 URLs.
See: newPresignedUrlConfig
smart constructor.
PresignedUrlConfig' | |
|
Instances
newPresignedUrlConfig :: PresignedUrlConfig Source #
Create a value of PresignedUrlConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:expiresInSec:PresignedUrlConfig'
, presignedUrlConfig_expiresInSec
- 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.
$sel:roleArn:PresignedUrlConfig'
, presignedUrlConfig_roleArn
- 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.
presignedUrlConfig_expiresInSec :: Lens' PresignedUrlConfig (Maybe Natural) Source #
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.
presignedUrlConfig_roleArn :: Lens' PresignedUrlConfig (Maybe Text) Source #
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.