security-group
Filter for ASG’s that have a certain security group.
additionalProperties: false
properties:
default:
type: object
key:
type: string
match-resource:
type: boolean
op:
$ref: '#/definitions/filters_common/comparison_operators'
operator:
enum:
- and
- or
type:
enum:
- security-group
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
subnet
Filter on ASG’s
additionalProperties: false
properties:
default:
type: object
key:
type: string
match-resource:
type: boolean
op:
$ref: '#/definitions/filters_common/comparison_operators'
operator:
enum:
- and
- or
type:
enum:
- subnet
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
launch-config
Filter ASG by launch config attributes.
additionalProperties: false
properties:
default:
type: object
key:
type: string
op:
$ref: '#/definitions/filters_common/comparison_operators'
type:
enum:
- launch-config
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
valid
Filters ASG’s to find those that are structurally valid.
additionalProperties: false
properties:
type:
enum:
- valid
required:
- type
type: object
invalid
Filters ASG’s to find those that are structurally invalid.
additionalProperties: false
properties:
type:
enum:
- invalid
required:
- type
type: object
not-encrypted
Check if an ASG is configured to have unencrypted volumes.
additionalProperties: false
properties:
exclude_image:
type: boolean
type:
enum:
- not-encrypted
required:
- type
type: object
image-age
Filter ASG by image age (in days). Deprecated use image
additionalProperties: false
properties:
days:
type: number
op:
$ref: '#/definitions/filters_common/comparison_operators'
type:
enum:
- image-age
required:
- type
type: object
image
Filter by ASG image
additionalProperties: false
properties:
default:
type: object
key:
type: string
op:
$ref: '#/definitions/filters_common/comparison_operators'
type:
enum:
- image
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
vpc-id
Filters ASG based on the VpcId
additionalProperties: false
properties:
default:
type: object
op:
$ref: '#/definitions/filters_common/comparison_operators'
type:
enum:
- vpc-id
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
progagated-tags
Filter ASG based on propagated tags
additionalProperties: false
properties:
keys:
items:
type: string
type: array
match:
type: boolean
propagate:
type: boolean
type:
enum:
- progagated-tags
- propagated-tags
required:
- type
type: object
capacity-delta
Filter returns ASG that have less instances than desired or required
additionalProperties: false
properties:
type:
enum:
- capacity-delta
required:
- type
type: object
user-data
Filter for ASG’s with launch configs containing user data matching the value given.
additionalProperties: false
properties:
default:
type: object
key:
type: string
op:
$ref: '#/definitions/filters_common/comparison_operators'
type:
enum:
- user-data
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
offhour
or OffHour
Turn resources off based on a schedule.
additionalProperties: false
properties:
default_tz:
type: string
offhour:
maximum: 23
minimum: 0
type: integer
opt-out:
type: boolean
skip-days:
items:
pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}
type: string
type: array
skip-days-from:
additionalProperties: 'False'
properties:
expr:
oneOf:
- type: integer
- type: string
format:
enum:
- csv
- json
- txt
- csv2dict
url:
type: string
required:
- url
type: object
tag:
type: string
type:
enum:
- offhour
weekends:
type: boolean
weekends-only:
type: boolean
required:
- offhour
- default_tz
- type
type: object
onhour
or onhour
Turn resources on based on a schedule.
additionalProperties: false
properties:
default_tz:
type: string
onhour:
maximum: 23
minimum: 0
type: integer
opt-out:
type: boolean
skip-days:
items:
pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}
type: string
type: array
skip-days-from:
additionalProperties: 'False'
properties:
expr:
oneOf:
- type: integer
- type: string
format:
enum:
- csv
- json
- txt
- csv2dict
url:
type: string
required:
- url
type: object
tag:
type: string
type:
enum:
- onhour
weekends:
type: boolean
weekends-only:
type: boolean
required:
- onhour
- default_tz
- type
type: object