DestinationProperty Struct
Specifies information about where to publish inventory reports for an Amazon S3 Express bucket.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3express as s3express } from 'aws-cdk-lib';
const destinationProperty: s3express.CfnDirectoryBucket.DestinationProperty = {
bucketArn: 'bucketArn',
format: 'format',
// the properties below are optional
bucketAccountId: 'bucketAccountId',
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_s3express as s3express
destination_property = s3express.CfnDirectoryBucket.DestinationProperty(
bucket_arn="bucketArn",
format="format",
# the properties below are optional
bucket_account_id="bucketAccountId",
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.s3express.*;
DestinationProperty destinationProperty = DestinationProperty.builder()
.bucketArn("bucketArn")
.format("format")
// the properties below are optional
.bucketAccountId("bucketAccountId")
.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.S3Express;
var destinationProperty = new DestinationProperty {
BucketArn = "bucketArn",
Format = "format",
// the properties below are optional
BucketAccountId = "bucketAccountId",
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{
BucketArn: jsii.String("bucketArn"),
Format: jsii.String("format"),
// the properties below are optional
BucketAccountId: jsii.String("bucketAccountId"),
Prefix: jsii.String("prefix"),
}
Properties
bucketAccountIdoptionalstringbucket_account_idoptionalstrbucketAccountIdoptionalStringBucketAccountIdoptionalstringBucketAccountIdoptional*string #The account ID that owns the destination S3 bucket.
The Amazon Resource Name (ARN) of the destination Amazon S3 bucket to which data is exported.
Specifies the file format used when exporting data to Amazon S3.
prefixoptionalstringprefixoptionalstrprefixoptionalStringPrefixoptionalstringPrefixoptional*string #The prefix to use when exporting data.
The prefix is prepended to all results.