tencentcloud.tcr

TCR - Tencent Container Registry (TCR) is a container image cloud hosting service https://www.tencentcloud.com/document/product/614/11254?lang=en&pg=

Filters

lifecycle-rule

Lifecycle rule filtering Multiple rules only need one match, and the match content needs to match all

example:

policies:
  - name: tcr-no-lifecycle
    resource: tencentcloud.tcr
    filters:
      - type: lifecycle-rule
        state: true
        match:
          - NamespaceName: custodian-test-namespace-2
properties:
  match:
    items:
      oneOf:
      - $ref: '#/definitions/filters/value'
      - maxProperties: 1
        minProperties: 1
        type: object
    type: array
  state:
    type: boolean
  type:
    enum:
    - lifecycle-rule
required:
- type

Actions