CfnReplicationConfigurationPropsMixin Mixin
The AWS::ECR::ReplicationConfiguration resource creates or updates the replication configuration for a private registry.
The first time a replication configuration is applied to a private registry, a service-linked IAM role is created in your account for the replication process. For more information, see Using Service-Linked Roles for Amazon ECR in the Amazon Elastic Container Registry User Guide .
When configuring cross-account replication, the destination account must grant the source account permission to replicate. This permission is controlled using a private registry permissions policy. For more information, see
AWS::ECR::RegistryPolicy.
Initializer
ts
new CfnReplicationConfigurationPropsMixin(props: CfnReplicationConfigurationMixinProps, options?: CfnPropertyMixinOptions)
python
CfnReplicationConfigurationPropsMixin(props: CfnReplicationConfigurationMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnReplicationConfigurationPropsMixin(CfnReplicationConfigurationMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnReplicationConfigurationPropsMixin(CfnReplicationConfigurationMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnReplicationConfigurationPropsMixin(Props CfnReplicationConfigurationMixinProps, Options CfnPropertyMixinOptions)
Methods
applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#Checks if `x` is a Mixin.
1 parameter · returns
Parameters
xxxxX— Any object.
Returns: true if x is an object created from a class which extends Mixin.
supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#Check if this mixin supports the given construct.