Skip to content
v2.276.0

S3DestinationProperty 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 s3DestinationProperty: iot.CfnOTAUpdate.S3DestinationProperty = {
  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

s3_destination_property = 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.*;

S3DestinationProperty s3DestinationProperty = S3DestinationProperty.builder()
        .bucket("bucket")
        .prefix("prefix")
        .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 s3DestinationProperty = 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"

s3DestinationProperty := &S3DestinationProperty{
	Bucket: jsii.String("bucket"),
	Prefix: jsii.String("prefix"),
}

Properties ​

bucketoptionalstringbucketoptionalstrbucketoptionalStringBucketoptionalstringBucketoptional*string#
The S3 bucket that contains the updated firmware.
prefixoptionalstringprefixoptionalstrprefixoptionalStringPrefixoptionalstringPrefixoptional*string#
The S3 prefix.