S3BucketDestinationProperty Struct
This resource contains the details of the bucket where the Amazon S3 Storage Lens metrics export will be placed.
| 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_s3 as s3 } from 'aws-cdk-lib';
declare const sses3: any;
const s3BucketDestinationProperty: s3.CfnStorageLens.S3BucketDestinationProperty = {
accountId: 'accountId',
arn: 'arn',
format: 'format',
outputSchemaVersion: 'outputSchemaVersion',
// the properties below are optional
encryption: {
ssekms: {
keyId: 'keyId',
},
sses3: sses3,
},
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_s3 as s3
# sses3: Any
s3_bucket_destination_property = s3.CfnStorageLens.S3BucketDestinationProperty(
account_id="accountId",
arn="arn",
format="format",
output_schema_version="outputSchemaVersion",
# the properties below are optional
encryption=s3.CfnStorageLens.EncryptionProperty(
ssekms=s3.CfnStorageLens.SSEKMSProperty(
key_id="keyId"
),
sses3=sses3
),
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.s3.*;
Object sses3;
S3BucketDestinationProperty s3BucketDestinationProperty = S3BucketDestinationProperty.builder()
.accountId("accountId")
.arn("arn")
.format("format")
.outputSchemaVersion("outputSchemaVersion")
// the properties below are optional
.encryption(EncryptionProperty.builder()
.ssekms(SSEKMSProperty.builder()
.keyId("keyId")
.build())
.sses3(sses3)
.build())
.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.S3;
var sses3;
var s3BucketDestinationProperty = new S3BucketDestinationProperty {
AccountId = "accountId",
Arn = "arn",
Format = "format",
OutputSchemaVersion = "outputSchemaVersion",
// the properties below are optional
Encryption = new EncryptionProperty {
Ssekms = new SSEKMSProperty {
KeyId = "keyId"
},
Sses3 = sses3
},
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"
var sses3 interface{}
s3BucketDestinationProperty := &S3BucketDestinationProperty{
AccountId: jsii.String("accountId"),
Arn: jsii.String("arn"),
Format: jsii.String("format"),
OutputSchemaVersion: jsii.String("outputSchemaVersion"),
// the properties below are optional
Encryption: &EncryptionProperty{
Ssekms: &SSEKMSProperty{
KeyId: jsii.String("keyId"),
},
Sses3: sses3,
},
Prefix: jsii.String("prefix"),
}
Properties
This property contains the details of the AWS account ID of the S3 Storage Lens export bucket destination.
This property contains the details of the ARN of the bucket destination of the S3 Storage Lens export.
encryptionoptionalIResolvable | CfnStorageLens.encryptionoptionaltyping.Union[IResolvable, EncryptionProperty]encryptionoptionalIResolvableEncryptionoptionalIResolvableEncryptionoptionalinterface{} #This property contains the details of the encryption of the bucket destination of the Amazon S3 Storage Lens metrics export.
This property contains the details of the format of the S3 Storage Lens export bucket destination.
outputSchemaVersionstringoutput_schema_versionstroutputSchemaVersionStringOutputSchemaVersionstringOutputSchemaVersion*string required #This property contains the details of the output schema version of the S3 Storage Lens export bucket destination.
prefixoptionalstringprefixoptionalstrprefixoptionalStringPrefixoptionalstringPrefixoptional*string #This property contains the details of the prefix of the bucket destination of the S3 Storage Lens export .