interface PresignedUrlConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.IoT.CfnJobTemplatePropsMixin.PresignedUrlConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsiot#CfnJobTemplatePropsMixin_PresignedUrlConfigProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.iot.CfnJobTemplatePropsMixin.PresignedUrlConfigProperty |
Python | aws_cdk.cfn_property_mixins.aws_iot.CfnJobTemplatePropsMixin.PresignedUrlConfigProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_iot » 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 { aws_iot as iot } from '@aws-cdk/cfn-property-mixins';
const presignedUrlConfigProperty: iot.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