| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.Types.PresignedUrlConfig
Description
Documentation
data PresignedUrlConfig Source #
Configuration for pre-signed S3 URLs.
See: newPresignedUrlConfig smart constructor.
Constructors
| PresignedUrlConfig' | |
Fields
| |
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.
For information about addressing the confused deputy problem, see cross-service confused deputy prevention in the Amazon Web Services IoT Core developer guide.
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.
For information about addressing the confused deputy problem, see cross-service confused deputy prevention in the Amazon Web Services IoT Core developer guide.