ReplicationRuleProperty
Struct External
A replication rule for the table 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_s3tables as s3tables } from 'aws-cdk-lib';
const replicationRuleProperty: s3tables.CfnTableBucket.ReplicationRuleProperty = {
destinations: [{
destinationTableBucketArn: 'destinationTableBucketArn',
}],
};
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_s3tables as s3tables
replication_rule_property = s3tables.CfnTableBucket.ReplicationRuleProperty(
destinations=[s3tables.CfnTableBucket.ReplicationDestinationProperty(
destination_table_bucket_arn="destinationTableBucketArn"
)]
)
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.s3tables.*;
ReplicationRuleProperty replicationRuleProperty = ReplicationRuleProperty.builder()
.destinations(List.of(ReplicationDestinationProperty.builder()
.destinationTableBucketArn("destinationTableBucketArn")
.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.S3Tables;
var replicationRuleProperty = new ReplicationRuleProperty {
Destinations = new [] { new ReplicationDestinationProperty {
DestinationTableBucketArn = "destinationTableBucketArn"
} }
};
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"
replicationRuleProperty := &ReplicationRuleProperty{
Destinations: []interface{}{
&ReplicationDestinationProperty{
DestinationTableBucketArn: jsii.String("destinationTableBucketArn"),
},
},
}
Properties
destinationsIResolvable | IResolvable | CfnTableBucket.destinationstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ReplicationDestinationProperty]]]destinationsIResolvableDestinationsIResolvableDestinationsinterface{} required #List of replication destinations.