MetadataDestinationProperty Struct
The destination information for the S3 Metadata configuration.
| 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';
const metadataDestinationProperty: s3.CfnBucket.MetadataDestinationProperty = {
tableBucketType: 'tableBucketType',
// the properties below are optional
tableBucketArn: 'tableBucketArn',
tableNamespace: 'tableNamespace',
};
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
metadata_destination_property = s3.CfnBucket.MetadataDestinationProperty(
table_bucket_type="tableBucketType",
# the properties below are optional
table_bucket_arn="tableBucketArn",
table_namespace="tableNamespace"
)
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.*;
MetadataDestinationProperty metadataDestinationProperty = MetadataDestinationProperty.builder()
.tableBucketType("tableBucketType")
// the properties below are optional
.tableBucketArn("tableBucketArn")
.tableNamespace("tableNamespace")
.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 metadataDestinationProperty = new MetadataDestinationProperty {
TableBucketType = "tableBucketType",
// the properties below are optional
TableBucketArn = "tableBucketArn",
TableNamespace = "tableNamespace"
};
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"
metadataDestinationProperty := &MetadataDestinationProperty{
TableBucketType: jsii.String("tableBucketType"),
// the properties below are optional
TableBucketArn: jsii.String("tableBucketArn"),
TableNamespace: jsii.String("tableNamespace"),
}
Properties
tableBucketArnoptionalstringtable_bucket_arnoptionalstrtableBucketArnoptionalStringTableBucketArnoptionalstringTableBucketArnoptional*string #The Amazon Resource Name (ARN) of the table bucket where the metadata configuration is stored.
tableBucketTypestringtable_bucket_typestrtableBucketTypeStringTableBucketTypestringTableBucketType*string required #The type of the table bucket where the metadata configuration is stored.
notes
The aws value indicates an AWS managed table bucket, and the customer value indicates a customer-managed table bucket. V2 metadata configurations are stored in AWS managed table buckets, and V1 metadata configurations are stored in customer-managed table buckets.
tableNamespaceoptionalstringtable_namespaceoptionalstrtableNamespaceoptionalStringTableNamespaceoptionalstringTableNamespaceoptional*string #The namespace in the table bucket where the metadata tables for a metadata configuration are stored.