Class CfnJobTemplate.PresignedUrlConfigProperty
Configuration for pre-signed S3 URLs.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.AWS.IoT.dll
Syntax (csharp)
public class PresignedUrlConfigProperty : Object, CfnJobTemplate.IPresignedUrlConfigProperty
Syntax (vb)
Public Class PresignedUrlConfigProperty
Inherits Object
Implements CfnJobTemplate.IPresignedUrlConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;
var presignedUrlConfigProperty = new PresignedUrlConfigProperty {
RoleArn = "roleArn",
// the properties below are optional
ExpiresInSec = 123
};
Synopsis
Constructors
PresignedUrlConfigProperty() |
Properties
ExpiresInSec | How long (in seconds) pre-signed URLs are valid. |
RoleArn | The ARN of an IAM role that grants grants permission to download files from the S3 bucket where the job data/updates are stored. |
Constructors
PresignedUrlConfigProperty()
public PresignedUrlConfigProperty()
Properties
ExpiresInSec
How long (in seconds) pre-signed URLs are valid.
public Nullable<double> ExpiresInSec { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
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
The ARN of an IAM role that grants grants permission to download files from the S3 bucket where the job data/updates are stored.
public string RoleArn { get; set; }
Property Value
System.String
Remarks
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 .