Skip to main content

compute_node_group_tags

Expands all tag keys and values for compute_node_groups in a region

Overview

Namecompute_node_group_tags
TypeResource
DescriptionAWS::PCS::ComputeNodeGroup resource creates an AWS PCS compute node group.
Idaws.pcs.compute_node_group_tags

Fields

NameDatatypeDescription
ami_idstringThe ID of the Amazon Machine Image (AMI) that AWS PCS uses to launch instances. If not provided, AWS PCS uses the AMI ID specified in the custom launch template.
arnstringThe unique Amazon Resource Name (ARN) of the compute node group.
cluster_idstringThe ID of the cluster of the compute node group.
custom_launch_templateobjectAn Amazon EC2 launch template AWS PCS uses to launch compute nodes.
error_infoarrayThe list of errors that occurred during compute node group provisioning.
iam_instance_profile_arnstringThe Amazon Resource Name (ARN) of the IAM instance profile used to pass an IAM role when launching EC2 instances. The role contained in your instance profile must have pcs:RegisterComputeNodeGroupInstance permissions attached to provision instances correctly.
idstringThe generated unique ID of the compute node group.
instance_configsarrayA list of EC2 instance configurations that AWS PCS can provision in the compute node group.
namestringThe name that identifies the compute node group.
purchase_optionstringSpecifies how EC2 instances are purchased on your behalf. AWS PCS supports On-Demand and Spot instances. For more information, see Instance purchasing options in the Amazon Elastic Compute Cloud User Guide. If you don't provide this option, it defaults to On-Demand.
scaling_configurationobjectSpecifies the boundaries of the compute node group auto scaling.
slurm_configurationobjectAdditional options related to the Slurm scheduler.
spot_optionsobjectAdditional configuration when you specify SPOT as the purchase option.
statusstringThe provisioning status of the compute node group. The provisioning status doesn't indicate the overall health of the compute node group.
subnet_idsarrayThe list of subnet IDs where instances are provisioned by the compute node group. The subnets must be in the same VPC as the cluster.
tag_keystringTag key.
tag_valuestringTag value.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Expands tags for all compute_node_groups in a region.

SELECT
region,
ami_id,
arn,
cluster_id,
custom_launch_template,
error_info,
iam_instance_profile_arn,
id,
instance_configs,
name,
purchase_option,
scaling_configuration,
slurm_configuration,
spot_options,
status,
subnet_ids,
tag_key,
tag_value
FROM aws.pcs.compute_node_group_tags
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the compute_node_group_tags resource, see compute_node_groups