Interface CfnJobTemplate.PresignedUrlConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnJobTemplate.PresignedUrlConfigProperty.Jsii$Proxy
- Enclosing class:
CfnJobTemplate
@Stability(Stable)
public static interface CfnJobTemplate.PresignedUrlConfigProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.iot.*; PresignedUrlConfigProperty presignedUrlConfigProperty = PresignedUrlConfigProperty.builder() .roleArn("roleArn") // the properties below are optional .expiresInSec(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnJobTemplate.PresignedUrlConfigProperty
static final class
An implementation forCfnJobTemplate.PresignedUrlConfigProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRoleArn
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 .
- See Also:
-
getExpiresInSec
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.
- See Also:
-
builder
-