ReplicationTimeProperty Struct
A container specifying S3 Replication Time Control (S3 RTC) related information, including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated.
Must be specified together with a Metrics block.
| 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 replicationTimeProperty: s3.CfnBucket.ReplicationTimeProperty = {
status: 'status',
time: {
minutes: 123,
},
};
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
replication_time_property = s3.CfnBucket.ReplicationTimeProperty(
status="status",
time=s3.CfnBucket.ReplicationTimeValueProperty(
minutes=123
)
)
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.*;
ReplicationTimeProperty replicationTimeProperty = ReplicationTimeProperty.builder()
.status("status")
.time(ReplicationTimeValueProperty.builder()
.minutes(123)
.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.S3;
var replicationTimeProperty = new ReplicationTimeProperty {
Status = "status",
Time = new ReplicationTimeValueProperty {
Minutes = 123
}
};
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"
replicationTimeProperty := &ReplicationTimeProperty{
Status: jsii.String("status"),
Time: &ReplicationTimeValueProperty{
Minutes: jsii.Number(123),
},
}
Properties
Specifies whether the replication time is enabled.
timeIResolvable | CfnBucket.timetyping.Union[IResolvable, ReplicationTimeValueProperty]timeIResolvableTimeIResolvableTimeinterface{} required #A container specifying the time by which replication should be complete for all objects and operations on objects.