ResourceTypeOption
¶
Source code in docs_src/capo_ec2/types/resource_type_option.py
option_name
instance-attribute
¶
option_name: NotRequired[ImageReferenceOptionName]
The name of the option.
-
For
ec2:Instance:Specify
state-name- The current state of the EC2 instance. -
For
ec2:LaunchTemplate:Specify
version-depth- The number of launch template versions to check, starting from the most recent version.
option_values
instance-attribute
¶
option_values: NotRequired[ResourceTypeOptionValuesList]
A value for the specified option.
-
For
state-name:-
Valid values:
pending|running|shutting-down|terminated|stopping|stopped -
Default: All states
-
-
For
version-depth:-
Valid values: Integers between
1and10000 -
Default:
10
-