@Stability(value=Stable) public static final class CfnJobTemplate.PresignedUrlConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnJobTemplate.PresignedUrlConfigProperty>
CfnJobTemplate.PresignedUrlConfigProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnJobTemplate.PresignedUrlConfigProperty |
build()
Builds the configured instance.
|
CfnJobTemplate.PresignedUrlConfigProperty.Builder |
expiresInSec(Number expiresInSec)
Sets the value of
CfnJobTemplate.PresignedUrlConfigProperty.getExpiresInSec() |
CfnJobTemplate.PresignedUrlConfigProperty.Builder |
roleArn(String roleArn)
Sets the value of
CfnJobTemplate.PresignedUrlConfigProperty.getRoleArn() |
@Stability(value=Stable) public CfnJobTemplate.PresignedUrlConfigProperty.Builder roleArn(String roleArn)
CfnJobTemplate.PresignedUrlConfigProperty.getRoleArn()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. This parameter is required.
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 .
this@Stability(value=Stable) public CfnJobTemplate.PresignedUrlConfigProperty.Builder expiresInSec(Number expiresInSec)
CfnJobTemplate.PresignedUrlConfigProperty.getExpiresInSec()expiresInSec - 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.this@Stability(value=Stable) public CfnJobTemplate.PresignedUrlConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnJobTemplate.PresignedUrlConfigProperty>CfnJobTemplate.PresignedUrlConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.