Class: Aws::ECR::Types::RepositoryFilter

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 RepositoryFilter data as a hash:

{
  filter: "RepositoryFilterValue", # required
  filter_type: "PREFIX_MATCH", # required, accepts PREFIX_MATCH
}

The filter settings used with image replication. Specifying a repository filter to a replication rule provides a method for controlling which repositories in a private registry are replicated. If no repository filter is specified, all images in the repository are replicated.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#filterString

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.

Returns:

  • (String)


3640
3641
3642
3643
3644
3645
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3640

class RepositoryFilter < Struct.new(
  :filter,
  :filter_type)
  SENSITIVE = []
  include Aws::Structure
end

#filter_typeString

The repository filter type. The only supported value is PREFIX_MATCH, which is a repository name prefix specified with the filter parameter.

Returns:

  • (String)


3640
3641
3642
3643
3644
3645
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3640

class RepositoryFilter < Struct.new(
  :filter,
  :filter_type)
  SENSITIVE = []
  include Aws::Structure
end