Elastic Block Store Volumes (EBS Volumes)

Filters

instance

Filter volumes based on filtering on their attached instance

Schema:

{
  "default": {
    "type": "object"
  },
  "key": {
    "type": "string"
  },
  "op": {
    "$ref": "#/definitions/filters_common/comparison_operators"
  },
  "value": {
    "$ref": "#/definitions/filters_common/value"
  },
  "value_from": {
    "$ref": "#/definitions/filters_common/value_from"
  },
  "value_type": {
    "$ref": "#/definitions/filters_common/value_types"
  }
}

Actions

delete

Delete volume

Schema:

{
  "force": {
    "type": "boolean"
  }
}
copy-instance-tags

Copy instance tags to its attached volume.

Schema:

{
  "tags": {
    "items": {
      "type": "string"
    },
    "type": "array"
  }
}
encrypt-instance-volumes

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

Schema:

{
  "delay": {
    "type": "number"
  },
  "key": {
    "required": true,
    "type": "string"
  },
  "verbose": {
    "type": "boolean"
  }
}