Class: Aws::ECR::Types::ReplicationRule

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb

Overview

Note:

When making an API call, you may pass ReplicationRule data as a hash:

{
  destinations: [ # required
    {
      region: "Region", # required
      registry_id: "RegistryId", # required
    },
  ],
  repository_filters: [
    {
      filter: "RepositoryFilterValue", # required
      filter_type: "PREFIX_MATCH", # required, accepts PREFIX_MATCH
    },
  ],
}

An array of objects representing the replication destinations and repository filters for a replication configuration.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#destinationsArray<Types::ReplicationDestination>

An array of objects representing the destination for a replication rule.

Returns:



2761
2762
2763
2764
2765
2766
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2761

class ReplicationRule < Struct.new(
  :destinations,
  :repository_filters)
  SENSITIVE = []
  include Aws::Structure
end

#repository_filtersArray<Types::RepositoryFilter>

An array of objects representing the filters for a replication rule. Specifying a repository filter for a replication rule provides a method for controlling which repositories in a private registry are replicated.

Returns:



2761
2762
2763
2764
2765
2766
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2761

class ReplicationRule < Struct.new(
  :destinations,
  :repository_filters)
  SENSITIVE = []
  include Aws::Structure
end