Amazon Web Services: EC2 - Instance Types
Summary
This module contains actions for viewing EC2 instance types.
Actions
aws.ec2.instance_types.
get_all
Get the instance types supported by the supplied EC2 region.
Minimum Plugin Version: 2.2.0
Input
-
aws_client: an AWSClient dictionary
-
region_name: the EC2 region name
Output
A list of EC2InstanceType dictionaries.
Example
1 2 3 4 5 |
|
aws.ec2.instance_types.
input_table
Display a list of instance types in a table, & allow the task operator to make a selection.
The table will have the following columns:
- Name
- Clock Speed (GHz)
- Memory (MiB)
- Hypervisor
- Bare Metal
Minimum Plugin Version: 2.2.0
Input
-
text: the title of the table
-
types: a list of EC2InstanceType dictionaries to display in the table
-
minimum: The minimum number of acceptable selections
-
maximum: The maximum number of acceptable selections
Output
A list of EC2InstanceType dictionaries.
Tip
-
If neither a
minimum
ormaximum
is provided, the task operator will be able to submit 0 selections. -
If
minimum
ormaximum
are provided, the operation will repeat until a valid number of selections is made.
Example
1 2 3 4 5 6 7 8 9 10 11 12 |
|
aws.ec2.instance_types.
output_table
Display a list of instance types in a table.
The table will have the following columns:
- Name
- Clock Speed (GHz)
- Memory (MiB)
- Hypervisor
- Bare Metal
Minimum Plugin Version: 2.2.0
Input
-
text: the title of the table
-
types: a single or list of EC2InstanceType dictionaries
Output
Nothing is outputted by this action.
Example
1 2 3 4 5 6 7 8 9 10 |
|