interface DeleteMarkerReplicationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.S3.CfnBucket.DeleteMarkerReplicationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awss3#CfnBucket_DeleteMarkerReplicationProperty |
![]() | software.amazon.awscdk.services.s3.CfnBucket.DeleteMarkerReplicationProperty |
![]() | aws_cdk.aws_s3.CfnBucket.DeleteMarkerReplicationProperty |
![]() | aws-cdk-lib » aws_s3 » CfnBucket » DeleteMarkerReplicationProperty |
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 .
Example
// 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',
};
Properties
Name | Type | Description |
---|---|---|
status? | string | Indicates whether to replicate delete markers. |
status?
Type:
string
(optional)
Indicates whether to replicate delete markers.
Disabled by default.