DeleteMarkerReplicationProperty Struct
Specifies whether Amazon S3 replicates delete markers.
If you specify a Filter in your replication configuration, you must also include a DeleteMarkerReplication element. If your Filter includes a Tag element, the DeleteMarkerReplication Status must be set to Disabled, because Amazon S3 does not support replicating delete markers for tag-based rules. For an example configuration, see Basic Rule Configuration .
For more information about delete marker replication, see Basic Rule Configuration .
If you are using an earlier version of the replication configuration, Amazon S3 handles replication of delete markers differently. For more information, see Backward Compatibility .
| 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 deleteMarkerReplicationProperty: s3.CfnBucket.DeleteMarkerReplicationProperty = {
status: 'status',
};
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
delete_marker_replication_property = s3.CfnBucket.DeleteMarkerReplicationProperty(
status="status"
)
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.*;
DeleteMarkerReplicationProperty deleteMarkerReplicationProperty = DeleteMarkerReplicationProperty.builder()
.status("status")
.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 deleteMarkerReplicationProperty = new DeleteMarkerReplicationProperty {
Status = "status"
};
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"
deleteMarkerReplicationProperty := &DeleteMarkerReplicationProperty{
Status: jsii.String("status"),
}
Properties
statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string #Indicates whether to replicate delete markers.