aws-cdk-lib.aws_iot.CfnJobTemplate.PresignedUrlConfigProperty

interface PresignedUrlConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.IoT.CfnJobTemplate.PresignedUrlConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnJobTemplate_PresignedUrlConfigProperty
Javasoftware.amazon.awscdk.services.iot.CfnJobTemplate.PresignedUrlConfigProperty
Pythonaws_cdk.aws_iot.CfnJobTemplate.PresignedUrlConfigProperty
TypeScript aws-cdk-lib » 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 { aws_iot as iot } from 'aws-cdk-lib';
const presignedUrlConfigProperty: iot.CfnJobTemplate.PresignedUrlConfigProperty = {
  roleArn: 'roleArn',

  // the properties below are optional
  expiresInSec: 123,
};

Properties

NameTypeDescription
roleArnstringThe ARN of an IAM role that grants grants permission to download files from the S3 bucket where the job data/updates are stored.
expiresInSec?numberHow 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.