Skip to content
v2.278.0

ReplicationTimeValueProperty Struct ​

A container specifying the time value for S3 Replication Time Control (S3 RTC) and replication metrics EventThreshold .

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 replicationTimeValueProperty: s3.CfnBucket.ReplicationTimeValueProperty = {
  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_value_property = 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.*;

ReplicationTimeValueProperty replicationTimeValueProperty = ReplicationTimeValueProperty.builder()
        .minutes(123)
        .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 replicationTimeValueProperty = 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"

replicationTimeValueProperty := &ReplicationTimeValueProperty{
	Minutes: jsii.Number(123),
}

Properties ​

minutesnumberminutesint | floatminutesNumberMinutesdoubleMinutes*float64 required #
Contains an integer specifying time in minutes.

Valid value: 15