/AWS1/CL_IOTPRESIGNEDURLCONFIG¶
Configuration for pre-signed S3 URLs.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
IV_ROLEARN
TYPE /AWS1/IOTROLEARN
/AWS1/IOTROLEARN
¶
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.
IV_EXPIRESINSEC
TYPE /AWS1/IOTEXPIRESINSEC
/AWS1/IOTEXPIRESINSEC
¶
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.
Queryable Attributes¶
roleArn¶
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.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ROLEARN() |
Getter for ROLEARN, with configurable default |
ASK_ROLEARN() |
Getter for ROLEARN w/ exceptions if field has no value |
HAS_ROLEARN() |
Determine if ROLEARN has a value |
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.
Accessible with the following methods¶
Method | Description |
---|---|
GET_EXPIRESINSEC() |
Getter for EXPIRESINSEC, with configurable default |
ASK_EXPIRESINSEC() |
Getter for EXPIRESINSEC w/ exceptions if field has no value |
HAS_EXPIRESINSEC() |
Determine if EXPIRESINSEC has a value |