tencentcloud.cos

COS - Cloud Object Storage (COS) is a powerful Tencent Cloud distributed storage service

that features low costs and high scalability

https://www.tencentcloud.com/document/product/436/6222?lang=en&pg=

Filters

bucket-encryption

Filters for cos buckets that have bucket-encryption

example

properties:
  crypto:
    enum:
    - AES256
    type: string
  state:
    type: boolean
  type:
    enum:
    - bucket-encryption
required:
- type

bucket-lifecycle

Filter based on bucket lifecycle configuration

example

properties:
  key:
    type: string
  op:
    type: string
  type:
    enum:
    - bucket-lifecycle
  value:
    type: string
  value_type:
    type: string
required:
- type

bucket-logging

Filter based on bucket logging configuration

example

properties:
  op:
    enum:
    - enabled
    - disabled
    - equal
    - not-equal
    - eq
    - ne
  target_bucket:
    type: string
  target_prefix:
    type: string
  type:
    enum:
    - bucket-logging
required:
- op
- type

has-statement

Filter bucket statement

example

properties:
  statements:
    items:
      properties:
        Action:
          anyOf:
          - type: string
          - type: array
        Effect:
          enum:
          - Allow
          - Deny
          type: string
        Principal:
          anyOf:
          - type: string
          - type: object
          - type: array
        Resource:
          anyOf:
          - type: string
          - type: array
        Sid:
          type: string
      required:
      - Effect
      type: object
    type: array
  type:
    enum:
    - has-statement
required:
- type

Actions

  • mark-for-op

  • remove-tag

  • rename-tag

  • tag

  • webhook