interface PresignedUrlConfigProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.IoT.CfnJobTemplate.PresignedUrlConfigProperty | 
|  Java | software.amazon.awscdk.services.iot.CfnJobTemplate.PresignedUrlConfigProperty | 
|  Python | aws_cdk.aws_iot.CfnJobTemplate.PresignedUrlConfigProperty | 
|  TypeScript | @aws-cdk/aws-iot»CfnJobTemplate»PresignedUrlConfigProperty | 
Configuration for pre-signed S3 URLs.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iot from '@aws-cdk/aws-iot';
const presignedUrlConfigProperty: iot.CfnJobTemplate.PresignedUrlConfigProperty = {
  roleArn: 'roleArn',
  // the properties below are optional
  expiresInSec: 123,
};
Properties
| Name | Type | Description | 
|---|---|---|
| role | string | The ARN of an IAM role that grants grants permission to download files from the S3 bucket where the job data/updates are stored. | 
| expires | number | How long (in seconds) pre-signed URLs are valid. | 
roleArn
Type:
string
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 AWS IoT Core developer guide .
expiresInSec?
Type:
number
(optional)
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.
