ReplicationConfigurationProperty
Struct External
Specifies replication configuration 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 replicationConfigurationProperty: s3tables.CfnTableBucket.ReplicationConfigurationProperty = {
role: 'role',
rules: [{
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_configuration_property = s3tables.CfnTableBucket.ReplicationConfigurationProperty(
role="role",
rules=[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.*;
ReplicationConfigurationProperty replicationConfigurationProperty = ReplicationConfigurationProperty.builder()
.role("role")
.rules(List.of(ReplicationRuleProperty.builder()
.destinations(List.of(ReplicationDestinationProperty.builder()
.destinationTableBucketArn("destinationTableBucketArn")
.build()))
.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 replicationConfigurationProperty = new ReplicationConfigurationProperty {
Role = "role",
Rules = new [] { 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"
replicationConfigurationProperty := &ReplicationConfigurationProperty{
Role: jsii.String("role"),
Rules: []interface{}{
&ReplicationRuleProperty{
Destinations: []interface{}{
&ReplicationDestinationProperty{
DestinationTableBucketArn: jsii.String("destinationTableBucketArn"),
},
},
},
},
}
Properties
The ARN of the IAM role to use for replication.
rulesIResolvable | IResolvable | CfnTableBucket.rulestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ReplicationRuleProperty]]]rulesIResolvableRulesIResolvableRulesinterface{} required #List of replication rules.