CfnReplicationConfigurationProps
- class aws_cdk.aws_ecr.CfnReplicationConfigurationProps(*, replication_configuration)
Bases:
object
Properties for defining a
CfnReplicationConfiguration
.- Parameters:
replication_configuration (
Union
[IResolvable
,ReplicationConfigurationProperty
,Dict
[str
,Any
]]) – The replication configuration for a registry.- See:
- ExampleMetadata:
fixture=_generated
Example:
# 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 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
The replication configuration for a registry.