@Stability(value=Stable)
public static interface CfnJobTemplate.PresignedUrlConfigProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnJobTemplate.PresignedUrlConfigProperty.Builder
A builder for
CfnJobTemplate.PresignedUrlConfigProperty |
static class |
CfnJobTemplate.PresignedUrlConfigProperty.Jsii$Proxy
An implementation for
CfnJobTemplate.PresignedUrlConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnJobTemplate.PresignedUrlConfigProperty.Builder |
builder() |
default Number |
getExpiresInSec()
How long (in seconds) pre-signed URLs are valid.
|
String |
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.
|
@Stability(value=Stable) @NotNull String getRoleArn()
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 .
@Stability(value=Stable) @Nullable default Number getExpiresInSec()
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.
@Stability(value=Stable) static CfnJobTemplate.PresignedUrlConfigProperty.Builder builder()
Copyright © 2023. All rights reserved.