Elastic Block Store Volumes (EBS Volumes)

Filters

instance

Filter volumes based on filtering on their attached instance

Schema:

additionalProperties: false
properties:
  default:
    type: object
  key:
    type: string
  op:
    $ref: '#/definitions/filters_common/comparison_operators'
  type:
    enum:
    - instance
  value:
    $ref: '#/definitions/filters_common/value'
  value_from:
    $ref: '#/definitions/filters_common/value_from'
  value_regex:
    type: string
  value_type:
    $ref: '#/definitions/filters_common/value_types'
required:
- type
type: object

Actions

delete

Delete volume

Schema:

additionalProperties: false
properties:
  force:
    type: boolean
  type:
    enum:
    - delete
required:
- type
type: object
copy-instance-tags

Copy instance tags to its attached volume.

Schema:

additionalProperties: false
properties:
  tags:
    items:
      type: string
    type: array
  type:
    enum:
    - copy-instance-tags
required:
- type
type: object
encrypt-instance-volumes

Encrypt extant volumes attached to an instance (see c7n.resources.ebs.EncryptInstanceVolumes)

Schema:

additionalProperties: false
properties:
  delay:
    type: number
  key:
    type: string
  type:
    enum:
    - encrypt-instance-volumes
  verbose:
    type: boolean
required:
- key
- type
type: object