launch_configuration
Gets an individual launch_configuration
resource
Overview
Name | launch_configuration |
Type | Resource |
Description | launch_configuration |
Id | awscc.autoscaling.launch_configuration |
Fields
Name | Datatype | Description |
---|---|---|
associate_public_ip_address | boolean | For Auto Scaling groups that are running in a virtual private cloud (VPC), specifies whether to assign a public IP address to the group's instances. |
block_device_mappings | array | Specifies how block devices are exposed to the instance. You can specify virtual devices and EBS volumes. |
classic_link_vpc_id | string | The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. |
classic_link_vpc_security_groups | array | The IDs of one or more security groups for the VPC that you specified in the ClassicLinkVPCId property. |
ebs_optimized | boolean | Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false). |
iam_instance_profile | string | Provides the name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role. |
image_id | string | Provides the unique ID of the Amazon Machine Image (AMI) that was assigned during registration. |
instance_id | string | The ID of the Amazon EC2 instance you want to use to create the launch configuration. |
instance_monitoring | boolean | Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring. |
instance_type | string | Specifies the instance type of the EC2 instance. |
kernel_id | string | Provides the ID of the kernel associated with the EC2 AMI. |
key_name | string | Provides the name of the EC2 key pair. |
launch_configuration_name | string | The name of the launch configuration. This name must be unique per Region per account. |
metadata_options | object | The metadata options for the instances. |
placement_tenancy | string | The tenancy of the instance, either default or dedicated. |
ram_disk_id | string | The ID of the RAM disk to select. |
security_groups | array | A list that contains the security groups to assign to the instances in the Auto Scaling group. |
spot_price | string | The maximum hourly price you are willing to pay for any Spot Instances launched to fulfill the request. |
user_data | string | The Base64-encoded user data to make available to the launched EC2 instances. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
associate_public_ip_address,
block_device_mappings,
classic_link_vpc_id,
classic_link_vpc_security_groups,
ebs_optimized,
iam_instance_profile,
image_id,
instance_id,
instance_monitoring,
instance_type,
kernel_id,
key_name,
launch_configuration_name,
metadata_options,
placement_tenancy,
ram_disk_id,
security_groups,
spot_price,
user_data
FROM awscc.autoscaling.launch_configuration
WHERE data__Identifier = '<LaunchConfigurationName>';
Permissions
To operate on the launch_configuration
resource, the following permissions are required:
Read
autoscaling:DescribeLaunchConfigurations
Delete
autoscaling:DeleteLaunchConfiguration,
autoscaling:DescribeLaunchConfigurations