We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 9, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 9, 2026 by Pulumi
The AWS::ECR::ReplicationConfiguration resource configures the replication destinations for an Amazon Elastic Container Registry (Amazon Private ECR). For more information, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/replication.html
Using getReplicationConfiguration
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getReplicationConfiguration(args: GetReplicationConfigurationArgs, opts?: InvokeOptions): Promise<GetReplicationConfigurationResult>
function getReplicationConfigurationOutput(args: GetReplicationConfigurationOutputArgs, opts?: InvokeOptions): Output<GetReplicationConfigurationResult>def get_replication_configuration(registry_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetReplicationConfigurationResult
def get_replication_configuration_output(registry_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetReplicationConfigurationResult]func LookupReplicationConfiguration(ctx *Context, args *LookupReplicationConfigurationArgs, opts ...InvokeOption) (*LookupReplicationConfigurationResult, error)
func LookupReplicationConfigurationOutput(ctx *Context, args *LookupReplicationConfigurationOutputArgs, opts ...InvokeOption) LookupReplicationConfigurationResultOutput> Note: This function is named LookupReplicationConfiguration in the Go SDK.
public static class GetReplicationConfiguration
{
public static Task<GetReplicationConfigurationResult> InvokeAsync(GetReplicationConfigurationArgs args, InvokeOptions? opts = null)
public static Output<GetReplicationConfigurationResult> Invoke(GetReplicationConfigurationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetReplicationConfigurationResult> getReplicationConfiguration(GetReplicationConfigurationArgs args, InvokeOptions options)
public static Output<GetReplicationConfigurationResult> getReplicationConfiguration(GetReplicationConfigurationArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:ecr:getReplicationConfiguration
arguments:
# arguments dictionaryThe following arguments are supported:
- Registry
Id string - The RegistryId associated with the aws account.
- Registry
Id string - The RegistryId associated with the aws account.
- registry
Id String - The RegistryId associated with the aws account.
- registry
Id string - The RegistryId associated with the aws account.
- registry_
id str - The RegistryId associated with the aws account.
- registry
Id String - The RegistryId associated with the aws account.
getReplicationConfiguration Result
The following output properties are available:
- Registry
Id string - The RegistryId associated with the aws account.
- Replication
Configuration Pulumi.Value Aws Native. Ecr. Outputs. Replication Configuration - The replication configuration for a registry.
- Registry
Id string - The RegistryId associated with the aws account.
- Replication
Configuration ReplicationConfiguration Type - The replication configuration for a registry.
- registry
Id String - The RegistryId associated with the aws account.
- replication
Configuration ReplicationConfiguration - The replication configuration for a registry.
- registry
Id string - The RegistryId associated with the aws account.
- replication
Configuration ReplicationConfiguration - The replication configuration for a registry.
- registry_
id str - The RegistryId associated with the aws account.
- replication_
configuration ReplicationConfiguration - The replication configuration for a registry.
- registry
Id String - The RegistryId associated with the aws account.
- replication
Configuration Property Map - The replication configuration for a registry.
Supporting Types
ReplicationConfiguration
- Rules
List<Pulumi.
Aws Native. Ecr. Inputs. Replication Configuration Replication Rule> - An array of objects representing the replication rules for a replication configuration. A replication configuration may contain a maximum of 10 rules.
- Rules
[]Replication
Configuration Replication Rule - An array of objects representing the replication rules for a replication configuration. A replication configuration may contain a maximum of 10 rules.
- rules
List<Replication
Configuration Replication Rule> - An array of objects representing the replication rules for a replication configuration. A replication configuration may contain a maximum of 10 rules.
- rules
Replication
Configuration Replication Rule[] - An array of objects representing the replication rules for a replication configuration. A replication configuration may contain a maximum of 10 rules.
- rules
Sequence[Replication
Configuration Replication Rule] - An array of objects representing the replication rules for a replication configuration. A replication configuration may contain a maximum of 10 rules.
- rules List<Property Map>
- An array of objects representing the replication rules for a replication configuration. A replication configuration may contain a maximum of 10 rules.
ReplicationConfigurationFilterType
ReplicationConfigurationReplicationDestination
- Region string
- The Region to replicate to.
- Registry
Id string - The AWS account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID.
- Region string
- The Region to replicate to.
- Registry
Id string - The AWS account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID.
- region String
- The Region to replicate to.
- registry
Id String - The AWS account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID.
- region string
- The Region to replicate to.
- registry
Id string - The AWS account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID.
- region str
- The Region to replicate to.
- registry_
id str - The AWS account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID.
- region String
- The Region to replicate to.
- registry
Id String - The AWS account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID.
ReplicationConfigurationReplicationRule
- Destinations
List<Pulumi.
Aws Native. Ecr. Inputs. Replication Configuration Replication Destination> - An array of objects representing the details of a replication destination.
- Repository
Filters List<Pulumi.Aws Native. Ecr. Inputs. Replication Configuration Repository Filter> - An array of objects representing the details of a repository filter.
- Destinations
[]Replication
Configuration Replication Destination - An array of objects representing the details of a replication destination.
- Repository
Filters []ReplicationConfiguration Repository Filter - An array of objects representing the details of a repository filter.
- destinations
List<Replication
Configuration Replication Destination> - An array of objects representing the details of a replication destination.
- repository
Filters List<ReplicationConfiguration Repository Filter> - An array of objects representing the details of a repository filter.
- destinations
Replication
Configuration Replication Destination[] - An array of objects representing the details of a replication destination.
- repository
Filters ReplicationConfiguration Repository Filter[] - An array of objects representing the details of a repository filter.
- destinations
Sequence[Replication
Configuration Replication Destination] - An array of objects representing the details of a replication destination.
- repository_
filters Sequence[ReplicationConfiguration Repository Filter] - An array of objects representing the details of a repository filter.
- destinations List<Property Map>
- An array of objects representing the details of a replication destination.
- repository
Filters List<Property Map> - An array of objects representing the details of a repository filter.
ReplicationConfigurationRepositoryFilter
- Filter string
- The repository filter details. When the
PREFIX_MATCHfilter type is specified, this value is required and should be the repository name prefix to configure replication for. - Filter
Type Pulumi.Aws Native. Ecr. Replication Configuration Filter Type - The repository filter type. The only supported value is
PREFIX_MATCH, which is a repository name prefix specified with thefilterparameter.
- Filter string
- The repository filter details. When the
PREFIX_MATCHfilter type is specified, this value is required and should be the repository name prefix to configure replication for. - Filter
Type ReplicationConfiguration Filter Type - The repository filter type. The only supported value is
PREFIX_MATCH, which is a repository name prefix specified with thefilterparameter.
- filter String
- The repository filter details. When the
PREFIX_MATCHfilter type is specified, this value is required and should be the repository name prefix to configure replication for. - filter
Type ReplicationConfiguration Filter Type - The repository filter type. The only supported value is
PREFIX_MATCH, which is a repository name prefix specified with thefilterparameter.
- filter string
- The repository filter details. When the
PREFIX_MATCHfilter type is specified, this value is required and should be the repository name prefix to configure replication for. - filter
Type ReplicationConfiguration Filter Type - The repository filter type. The only supported value is
PREFIX_MATCH, which is a repository name prefix specified with thefilterparameter.
- filter str
- The repository filter details. When the
PREFIX_MATCHfilter type is specified, this value is required and should be the repository name prefix to configure replication for. - filter_
type ReplicationConfiguration Filter Type - The repository filter type. The only supported value is
PREFIX_MATCH, which is a repository name prefix specified with thefilterparameter.
- filter String
- The repository filter details. When the
PREFIX_MATCHfilter type is specified, this value is required and should be the repository name prefix to configure replication for. - filter
Type "PREFIX_MATCH" - The repository filter type. The only supported value is
PREFIX_MATCH, which is a repository name prefix specified with thefilterparameter.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 9, 2026 by Pulumi
