LaunchConfigurationArgs

data class LaunchConfigurationArgs(val associatePublicIpAddress: Output<Boolean>? = null, val blockDeviceMappings: Output<List<LaunchConfigurationBlockDeviceMappingArgs>>? = null, val classicLinkVpcId: Output<String>? = null, val classicLinkVpcSecurityGroups: Output<List<String>>? = null, val ebsOptimized: Output<Boolean>? = null, val iamInstanceProfile: Output<String>? = null, val imageId: Output<String>? = null, val instanceId: Output<String>? = null, val instanceMonitoring: Output<Boolean>? = null, val instanceType: Output<String>? = null, val kernelId: Output<String>? = null, val keyName: Output<String>? = null, val launchConfigurationName: Output<String>? = null, val metadataOptions: Output<LaunchConfigurationMetadataOptionsArgs>? = null, val placementTenancy: Output<String>? = null, val ramDiskId: Output<String>? = null, val securityGroups: Output<List<String>>? = null, val spotPrice: Output<String>? = null, val userData: Output<String>? = null) : ConvertibleToJava<LaunchConfigurationArgs>

The AWS::AutoScaling::LaunchConfiguration resource specifies the launch configuration that can be used by an Auto Scaling group to configure Amazon EC2 instances.

Constructors

Link copied to clipboard
constructor(associatePublicIpAddress: Output<Boolean>? = null, blockDeviceMappings: Output<List<LaunchConfigurationBlockDeviceMappingArgs>>? = null, classicLinkVpcId: Output<String>? = null, classicLinkVpcSecurityGroups: Output<List<String>>? = null, ebsOptimized: Output<Boolean>? = null, iamInstanceProfile: Output<String>? = null, imageId: Output<String>? = null, instanceId: Output<String>? = null, instanceMonitoring: Output<Boolean>? = null, instanceType: Output<String>? = null, kernelId: Output<String>? = null, keyName: Output<String>? = null, launchConfigurationName: Output<String>? = null, metadataOptions: Output<LaunchConfigurationMetadataOptionsArgs>? = null, placementTenancy: Output<String>? = null, ramDiskId: Output<String>? = null, securityGroups: Output<List<String>>? = null, spotPrice: Output<String>? = null, userData: Output<String>? = null)

Properties

Link copied to clipboard
val associatePublicIpAddress: Output<Boolean>? = null

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.

Link copied to clipboard

Specifies how block devices are exposed to the instance. You can specify virtual devices and EBS volumes.

Link copied to clipboard
val classicLinkVpcId: Output<String>? = null

The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to.

Link copied to clipboard

The IDs of one or more security groups for the VPC that you specified in the ClassicLinkVPCId property.

Link copied to clipboard
val ebsOptimized: Output<Boolean>? = null

Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false).

Link copied to clipboard
val iamInstanceProfile: Output<String>? = null

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.

Link copied to clipboard
val imageId: Output<String>? = null

Provides the unique ID of the Amazon Machine Image (AMI) that was assigned during registration.

Link copied to clipboard
val instanceId: Output<String>? = null

The ID of the Amazon EC2 instance you want to use to create the launch configuration.

Link copied to clipboard
val instanceMonitoring: Output<Boolean>? = null

Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring.

Link copied to clipboard
val instanceType: Output<String>? = null

Specifies the instance type of the EC2 instance.

Link copied to clipboard
val kernelId: Output<String>? = null

Provides the ID of the kernel associated with the EC2 AMI.

Link copied to clipboard
val keyName: Output<String>? = null

Provides the name of the EC2 key pair.

Link copied to clipboard
val launchConfigurationName: Output<String>? = null

The name of the launch configuration. This name must be unique per Region per account.

Link copied to clipboard

The metadata options for the instances.

Link copied to clipboard
val placementTenancy: Output<String>? = null

The tenancy of the instance, either default or dedicated.

Link copied to clipboard
val ramDiskId: Output<String>? = null

The ID of the RAM disk to select.

Link copied to clipboard
val securityGroups: Output<List<String>>? = null

A list that contains the security groups to assign to the instances in the Auto Scaling group.

Link copied to clipboard
val spotPrice: Output<String>? = null

The maximum hourly price you are willing to pay for any Spot Instances launched to fulfill the request.

Link copied to clipboard
val userData: Output<String>? = null

The Base64-encoded user data to make available to the launched EC2 instances.

Functions

Link copied to clipboard
open override fun toJava(): LaunchConfigurationArgs