1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ecr
  5. getReplicationConfiguration

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.ecr.getReplicationConfiguration

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:ecr:getReplicationConfiguration
      arguments:
        # arguments dictionary

    The following arguments are supported:

    RegistryId string
    The RegistryId associated with the aws account.
    RegistryId string
    The RegistryId associated with the aws account.
    registryId String
    The RegistryId associated with the aws account.
    registryId string
    The RegistryId associated with the aws account.
    registry_id str
    The RegistryId associated with the aws account.
    registryId String
    The RegistryId associated with the aws account.

    getReplicationConfiguration Result

    The following output properties are available:

    RegistryId string
    The RegistryId associated with the aws account.
    ReplicationConfigurationValue Pulumi.AwsNative.Ecr.Outputs.ReplicationConfiguration
    The replication configuration for a registry.
    RegistryId string
    The RegistryId associated with the aws account.
    ReplicationConfiguration ReplicationConfigurationType
    The replication configuration for a registry.
    registryId String
    The RegistryId associated with the aws account.
    replicationConfiguration ReplicationConfiguration
    The replication configuration for a registry.
    registryId string
    The RegistryId associated with the aws account.
    replicationConfiguration 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.
    registryId String
    The RegistryId associated with the aws account.
    replicationConfiguration Property Map
    The replication configuration for a registry.

    Supporting Types

    ReplicationConfiguration

    Rules List<Pulumi.AwsNative.Ecr.Inputs.ReplicationConfigurationReplicationRule>
    An array of objects representing the replication rules for a replication configuration. A replication configuration may contain a maximum of 10 rules.
    Rules []ReplicationConfigurationReplicationRule
    An array of objects representing the replication rules for a replication configuration. A replication configuration may contain a maximum of 10 rules.
    rules List<ReplicationConfigurationReplicationRule>
    An array of objects representing the replication rules for a replication configuration. A replication configuration may contain a maximum of 10 rules.
    rules ReplicationConfigurationReplicationRule[]
    An array of objects representing the replication rules for a replication configuration. A replication configuration may contain a maximum of 10 rules.
    rules Sequence[ReplicationConfigurationReplicationRule]
    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.
    RegistryId 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.
    RegistryId 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.
    registryId 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.
    registryId 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.
    registryId 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.AwsNative.Ecr.Inputs.ReplicationConfigurationReplicationDestination>
    An array of objects representing the details of a replication destination.
    RepositoryFilters List<Pulumi.AwsNative.Ecr.Inputs.ReplicationConfigurationRepositoryFilter>
    An array of objects representing the details of a repository filter.
    Destinations []ReplicationConfigurationReplicationDestination
    An array of objects representing the details of a replication destination.
    RepositoryFilters []ReplicationConfigurationRepositoryFilter
    An array of objects representing the details of a repository filter.
    destinations List<ReplicationConfigurationReplicationDestination>
    An array of objects representing the details of a replication destination.
    repositoryFilters List<ReplicationConfigurationRepositoryFilter>
    An array of objects representing the details of a repository filter.
    destinations ReplicationConfigurationReplicationDestination[]
    An array of objects representing the details of a replication destination.
    repositoryFilters ReplicationConfigurationRepositoryFilter[]
    An array of objects representing the details of a repository filter.
    destinations Sequence[ReplicationConfigurationReplicationDestination]
    An array of objects representing the details of a replication destination.
    repository_filters Sequence[ReplicationConfigurationRepositoryFilter]
    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.
    repositoryFilters List<Property Map>
    An array of objects representing the details of a repository filter.

    ReplicationConfigurationRepositoryFilter

    Filter string
    The repository filter details. When the PREFIX_MATCH filter type is specified, this value is required and should be the repository name prefix to configure replication for.
    FilterType Pulumi.AwsNative.Ecr.ReplicationConfigurationFilterType
    The repository filter type. The only supported value is PREFIX_MATCH , which is a repository name prefix specified with the filter parameter.
    Filter string
    The repository filter details. When the PREFIX_MATCH filter type is specified, this value is required and should be the repository name prefix to configure replication for.
    FilterType ReplicationConfigurationFilterType
    The repository filter type. The only supported value is PREFIX_MATCH , which is a repository name prefix specified with the filter parameter.
    filter String
    The repository filter details. When the PREFIX_MATCH filter type is specified, this value is required and should be the repository name prefix to configure replication for.
    filterType ReplicationConfigurationFilterType
    The repository filter type. The only supported value is PREFIX_MATCH , which is a repository name prefix specified with the filter parameter.
    filter string
    The repository filter details. When the PREFIX_MATCH filter type is specified, this value is required and should be the repository name prefix to configure replication for.
    filterType ReplicationConfigurationFilterType
    The repository filter type. The only supported value is PREFIX_MATCH , which is a repository name prefix specified with the filter parameter.
    filter str
    The repository filter details. When the PREFIX_MATCH filter type is specified, this value is required and should be the repository name prefix to configure replication for.
    filter_type ReplicationConfigurationFilterType
    The repository filter type. The only supported value is PREFIX_MATCH , which is a repository name prefix specified with the filter parameter.
    filter String
    The repository filter details. When the PREFIX_MATCH filter type is specified, this value is required and should be the repository name prefix to configure replication for.
    filterType "PREFIX_MATCH"
    The repository filter type. The only supported value is PREFIX_MATCH , which is a repository name prefix specified with the filter parameter.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi