aws-cdk-lib.aws_ecr.CfnReplicationConfigurationProps

interface CfnReplicationConfigurationProps

LanguageType name
.NETAmazon.CDK.AWS.ECR.CfnReplicationConfigurationProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsecr#CfnReplicationConfigurationProps
Javasoftware.amazon.awscdk.services.ecr.CfnReplicationConfigurationProps
Pythonaws_cdk.aws_ecr.CfnReplicationConfigurationProps
TypeScript aws-cdk-lib » aws_ecr » CfnReplicationConfigurationProps

Properties for defining a CfnReplicationConfiguration.

Example

// 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 cfnReplicationConfigurationProps: ecr.CfnReplicationConfigurationProps = {
  replicationConfiguration: {
    rules: [{
      destinations: [{
        region: 'region',
        registryId: 'registryId',
      }],

      // the properties below are optional
      repositoryFilters: [{
        filter: 'filter',
        filterType: 'filterType',
      }],
    }],
  },
};

Properties

NameTypeDescription
replicationConfigurationIResolvable | ReplicationConfigurationPropertyThe replication configuration for a registry.

replicationConfiguration

Type: IResolvable | ReplicationConfigurationProperty

The replication configuration for a registry.