Skip to content
v2.278.0

DeleteReplicationProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecr as ecr } from 'aws-cdk-lib';
const deleteReplicationProperty: ecr.CfnReplicationConfiguration.DeleteReplicationProperty = {
  enabled: false,
};
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_ecr as ecr

delete_replication_property = ecr.CfnReplicationConfiguration.DeleteReplicationProperty(
    enabled=False
)
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.ecr.*;

DeleteReplicationProperty deleteReplicationProperty = DeleteReplicationProperty.builder()
        .enabled(false)
        .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.ECR;

var deleteReplicationProperty = new DeleteReplicationProperty {
    Enabled = false
};
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"

deleteReplicationProperty := &DeleteReplicationProperty{
	Enabled: jsii.Boolean(false),
}

Properties ​

enabledboolean | IResolvableenabledtyping.Union[bool, IResolvable]enabledBooleanEnabledboolEnabledinterface{} required #
Whether image deletions and image tag removals in the source registry are replicated to the replication destinations.