PresignedUrlConfig - AWS IoT

PresignedUrlConfig

Configuration for pre-signed S3 URLs.

Contents

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.

Type: Long

Valid Range: Minimum value of 60. Maximum value of 3600.

Required: No

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.

Important

For information about addressing the confused deputy problem, see cross-service confused deputy prevention in the AWS IoT Core developer guide.

Type: String

Length Constraints: Minimum length of 20. Maximum length of 2048.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: