awscc.ecr_replicationconfiguration

Filters

  • event

  • reduce

  • value

Actions

delete

Parent base class for filters and actions.

properties:
  type:
    enum:
    - delete
required:
- type

Permissions - ecr:DescribeRegistry, ecr:PutReplicationConfiguration, iam:CreateServiceLinkedRole

update

Parent base class for filters and actions.

definitions:
  Filter:
    description: The repository filter to be applied for replication.
    pattern: ^(?:[a-z0-9]+(?:[._-][a-z0-9]*)*/)*[a-z0-9]*(?:[._-][a-z0-9]*)*$
    type: string
  FilterType:
    description: Type of repository filter
    enum:
    - PREFIX_MATCH
    type: string
  Region:
    description: A Region to replicate to.
    pattern: '[0-9a-z-]{2,25}'
    type: string
  RegistryId:
    description: The account ID of the destination registry to replicate to.
    pattern: ^[0-9]{12}$
    type: string
  ReplicationConfiguration:
    additionalProperties: false
    description: An object representing the replication configuration for a registry.
    properties:
      Rules:
        description: An array of objects representing the replication rules for a
          replication configuration. A replication configuration may contain a maximum
          of 10 rules.
        items:
          additionalProperties: false
          description: An array of objects representing the details of a replication
            destination.
          properties:
            Destinations:
              description: An array of objects representing the details of a replication
                destination.
              items:
                additionalProperties: false
                description: An array of objects representing the details of a replication
                  destination.
                properties:
                  Region:
                    description: A Region to replicate to.
                    pattern: '[0-9a-z-]{2,25}'
                    type: string
                  RegistryId:
                    description: The account ID of the destination registry to replicate
                      to.
                    pattern: ^[0-9]{12}$
                    type: string
                required:
                - Region
                - RegistryId
                type: object
              maxItems: 25
              minItems: 1
              type: array
            RepositoryFilters:
              description: An array of objects representing the details of a repository
                filter.
              items:
                additionalProperties: false
                description: An array of objects representing the details of a repository
                  filter.
                properties:
                  Filter:
                    description: The repository filter to be applied for replication.
                    pattern: ^(?:[a-z0-9]+(?:[._-][a-z0-9]*)*/)*[a-z0-9]*(?:[._-][a-z0-9]*)*$
                    type: string
                  FilterType:
                    description: Type of repository filter
                    enum:
                    - PREFIX_MATCH
                    type: string
                required:
                - Filter
                - FilterType
                type: object
              maxItems: 100
              minItems: 0
              type: array
          required:
          - Destinations
          type: object
        maxItems: 10
        minItems: 0
        type: array
    required:
    - Rules
    type: object
  ReplicationDestination:
    additionalProperties: false
    description: An array of objects representing the details of a replication destination.
    properties:
      Region:
        description: A Region to replicate to.
        pattern: '[0-9a-z-]{2,25}'
        type: string
      RegistryId:
        description: The account ID of the destination registry to replicate to.
        pattern: ^[0-9]{12}$
        type: string
    required:
    - Region
    - RegistryId
    type: object
  ReplicationRule:
    additionalProperties: false
    description: An array of objects representing the details of a replication destination.
    properties:
      Destinations:
        description: An array of objects representing the details of a replication
          destination.
        items:
          additionalProperties: false
          description: An array of objects representing the details of a replication
            destination.
          properties:
            Region:
              description: A Region to replicate to.
              pattern: '[0-9a-z-]{2,25}'
              type: string
            RegistryId:
              description: The account ID of the destination registry to replicate
                to.
              pattern: ^[0-9]{12}$
              type: string
          required:
          - Region
          - RegistryId
          type: object
        maxItems: 25
        minItems: 1
        type: array
      RepositoryFilters:
        description: An array of objects representing the details of a repository
          filter.
        items:
          additionalProperties: false
          description: An array of objects representing the details of a repository
            filter.
          properties:
            Filter:
              description: The repository filter to be applied for replication.
              pattern: ^(?:[a-z0-9]+(?:[._-][a-z0-9]*)*/)*[a-z0-9]*(?:[._-][a-z0-9]*)*$
              type: string
            FilterType:
              description: Type of repository filter
              enum:
              - PREFIX_MATCH
              type: string
          required:
          - Filter
          - FilterType
          type: object
        maxItems: 100
        minItems: 0
        type: array
    required:
    - Destinations
    type: object
  RepositoryFilter:
    additionalProperties: false
    description: An array of objects representing the details of a repository filter.
    properties:
      Filter:
        description: The repository filter to be applied for replication.
        pattern: ^(?:[a-z0-9]+(?:[._-][a-z0-9]*)*/)*[a-z0-9]*(?:[._-][a-z0-9]*)*$
        type: string
      FilterType:
        description: Type of repository filter
        enum:
        - PREFIX_MATCH
        type: string
    required:
    - Filter
    - FilterType
    type: object
properties:
  ReplicationConfiguration:
    additionalProperties: false
    description: An object representing the replication configuration for a registry.
    properties:
      Rules:
        description: An array of objects representing the replication rules for a
          replication configuration. A replication configuration may contain a maximum
          of 10 rules.
        items:
          additionalProperties: false
          description: An array of objects representing the details of a replication
            destination.
          properties:
            Destinations:
              description: An array of objects representing the details of a replication
                destination.
              items:
                additionalProperties: false
                description: An array of objects representing the details of a replication
                  destination.
                properties:
                  Region:
                    description: A Region to replicate to.
                    pattern: '[0-9a-z-]{2,25}'
                    type: string
                  RegistryId:
                    description: The account ID of the destination registry to replicate
                      to.
                    pattern: ^[0-9]{12}$
                    type: string
                required:
                - Region
                - RegistryId
                type: object
              maxItems: 25
              minItems: 1
              type: array
            RepositoryFilters:
              description: An array of objects representing the details of a repository
                filter.
              items:
                additionalProperties: false
                description: An array of objects representing the details of a repository
                  filter.
                properties:
                  Filter:
                    description: The repository filter to be applied for replication.
                    pattern: ^(?:[a-z0-9]+(?:[._-][a-z0-9]*)*/)*[a-z0-9]*(?:[._-][a-z0-9]*)*$
                    type: string
                  FilterType:
                    description: Type of repository filter
                    enum:
                    - PREFIX_MATCH
                    type: string
                required:
                - Filter
                - FilterType
                type: object
              maxItems: 100
              minItems: 0
              type: array
          required:
          - Destinations
          type: object
        maxItems: 10
        minItems: 0
        type: array
    required:
    - Rules
    type: object
  type:
    enum:
    - update

Permissions - ecr:DescribeRegistry, ecr:PutReplicationConfiguration, iam:CreateServiceLinkedRole