interface PresignedUrlConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoT.Mixins.CfnJobTemplatePropsMixin.PresignedUrlConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiot/mixins#CfnJobTemplatePropsMixin_PresignedUrlConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.iot.mixins.CfnJobTemplatePropsMixin.PresignedUrlConfigProperty |
Python | aws_cdk.mixins_preview.aws_iot.mixins.CfnJobTemplatePropsMixin.PresignedUrlConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iot » mixins » CfnJobTemplatePropsMixin » 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 { mixins as iot_mixins } from '@aws-cdk/mixins-preview/aws-iot';
const presignedUrlConfigProperty: iot_mixins.CfnJobTemplatePropsMixin.PresignedUrlConfigProperty = {
expiresInSec: 123,
roleArn: 'roleArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| expires | number | How long (in seconds) pre-signed URLs are valid. |
| 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. |
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.
roleArn?
Type:
string
(optional)
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 .

.NET
Go
Java
Python
TypeScript