DestinationProperty Struct Added in v2.276.0
Example
ts
// 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 destinationProperty: iot.CfnOTAUpdate.DestinationProperty = {
s3Destination: {
bucket: 'bucket',
prefix: 'prefix',
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iot as iot
destination_property = iot.CfnOTAUpdate.DestinationProperty(
s3_destination=iot.CfnOTAUpdate.S3DestinationProperty(
bucket="bucket",
prefix="prefix"
)
)
java
// 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.*;
DestinationProperty destinationProperty = DestinationProperty.builder()
.s3Destination(S3DestinationProperty.builder()
.bucket("bucket")
.prefix("prefix")
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 destinationProperty = new DestinationProperty {
S3Destination = new S3DestinationProperty {
Bucket = "bucket",
Prefix = "prefix"
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
destinationProperty := &DestinationProperty{
S3Destination: &S3DestinationProperty{
Bucket: jsii.String("bucket"),
Prefix: jsii.String("prefix"),
},
}
Properties
s3DestinationoptionalIResolvable | CfnOTAUpdate.S3DestinationPropertys3_destinationoptionaltyping.Union[IResolvable, S3DestinationProperty]s3DestinationoptionalIResolvableS3DestinationoptionalIResolvableS3Destinationoptionalinterface{}#