CfnReplicationConfigurationProps

class aws_cdk.aws_ecr.CfnReplicationConfigurationProps(*, replication_configuration)

Bases: object

Properties for defining a AWS::ECR::ReplicationConfiguration.

Parameters

replication_configuration (Union[IResolvable, ReplicationConfigurationProperty]) – AWS::ECR::ReplicationConfiguration.ReplicationConfiguration.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-replicationconfiguration.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ecr as ecr

cfn_replication_configuration_props = ecr.CfnReplicationConfigurationProps(
    replication_configuration=ecr.CfnReplicationConfiguration.ReplicationConfigurationProperty(
        rules=[ecr.CfnReplicationConfiguration.ReplicationRuleProperty(
            destinations=[ecr.CfnReplicationConfiguration.ReplicationDestinationProperty(
                region="region",
                registry_id="registryId"
            )],

            # the properties below are optional
            repository_filters=[ecr.CfnReplicationConfiguration.RepositoryFilterProperty(
                filter="filter",
                filter_type="filterType"
            )]
        )]
    )
)

Attributes

replication_configuration

AWS::ECR::ReplicationConfiguration.ReplicationConfiguration.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-replicationconfiguration.html#cfn-ecr-replicationconfiguration-replicationconfiguration

Return type

Union[IResolvable, ReplicationConfigurationProperty]