aws_autoscaling_launch_configuration

account_id

Type: STRING

associate_public_ip_address

Type: BOOLEAN
Provider name: AssociatePublicIpAddress
Description: Specifies whether to assign a public IPv4 address to the group’s instances. If the instance is launched into a default subnet, the default is to assign a public IPv4 address, unless you disabled the option to assign a public IPv4 address on the subnet. If the instance is launched into a nondefault subnet, the default is not to assign a public IPv4 address, unless you enabled the option to assign a public IPv4 address on the subnet. For more information, see Launching Auto Scaling instances in a VPC in the Amazon EC2 Auto Scaling User Guide.

block_device_mappings

Type: UNORDERED_LIST_STRUCT
Provider name: BlockDeviceMappings
Description: The block device mapping entries that define the block devices to attach to the instances at launch. By default, the block devices specified in the block device mapping for the AMI are used. For more information, see Block Device Mapping in the Amazon EC2 User Guide for Linux Instances.

  • device_name
    Type: STRING
    Provider name: DeviceName
    Description: The device name assigned to the volume (for example, /dev/sdh or xvdh). For more information, see Device naming on Linux instances in the Amazon EC2 User Guide for Linux Instances. To define a block device mapping, set the device name and exactly one of the following properties: Ebs, NoDevice, or VirtualName.
  • ebs
    Type: STRUCT
    Provider name: Ebs
    Description: Information to attach an EBS volume to an instance at launch.
    • delete_on_termination
      Type: BOOLEAN
      Provider name: DeleteOnTermination
      Description: Indicates whether the volume is deleted on instance termination. For Amazon EC2 Auto Scaling, the default value is true.
    • encrypted
      Type: BOOLEAN
      Provider name: Encrypted
      Description: Specifies whether the volume should be encrypted. Encrypted EBS volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported instance types. If your AMI uses encrypted volumes, you can also only launch it on supported instance types. If you are creating a volume from a snapshot, you cannot create an unencrypted volume from an encrypted snapshot. Also, you cannot specify a KMS key ID when using a launch configuration. If you enable encryption by default, the EBS volumes that you create are always encrypted, either using the Amazon Web Services managed KMS key or a customer-managed KMS key, regardless of whether the snapshot was encrypted. For more information, see Use Amazon Web Services KMS keys to encrypt Amazon EBS volumes in the Amazon EC2 Auto Scaling User Guide.
    • iops
      Type: INT32
      Provider name: Iops
      Description: The number of input/output (I/O) operations per second (IOPS) to provision for the volume. For gp3 and io1 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. The following are the supported values for each volume type:
      • gp3: 3,000-16,000 IOPS
      • io1: 100-64,000 IOPS
      For io1 volumes, we guarantee 64,000 IOPS only for Instances built on the Nitro System. Other instance families guarantee performance up to 32,000 IOPS. Iops is supported when the volume type is gp3 or io1 and required only when the volume type is io1. (Not used with standard, gp2, st1, or sc1 volumes.)
    • snapshot_id
      Type: STRING
      Provider name: SnapshotId
      Description: The snapshot ID of the volume to use. You must specify either a VolumeSize or a SnapshotId.
    • throughput
      Type: INT32
      Provider name: Throughput
      Description: The throughput (MiBps) to provision for a gp3 volume.
    • volume_size
      Type: INT32
      Provider name: VolumeSize
      Description: The volume size, in GiBs. The following are the supported volumes sizes for each volume type:
      • gp2 and gp3: 1-16,384
      • io1: 4-16,384
      • st1 and sc1: 125-16,384
      • standard: 1-1,024
      You must specify either a SnapshotId or a VolumeSize. If you specify both SnapshotId and VolumeSize, the volume size must be equal or greater than the size of the snapshot.
    • volume_type
      Type: STRING
      Provider name: VolumeType
      Description: The volume type. For more information, see Amazon EBS volume types in the Amazon EC2 User Guide for Linux Instances. Valid values: standard | io1 | gp2 | st1 | sc1 | gp3
  • no_device
    Type: BOOLEAN
    Provider name: NoDevice
    Description: Setting this value to true prevents a volume that is included in the block device mapping of the AMI from being mapped to the specified device name at launch. If NoDevice is true for the root device, instances might fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches replacement instances.
  • virtual_name
    Type: STRING
    Provider name: VirtualName
    Description: The name of the instance store volume (virtual device) to attach to an instance at launch. The name must be in the form ephemeralX where X is a number starting from zero (0), for example, ephemeral0.

Type: STRING
Provider name: ClassicLinkVPCId
Description: Available for backward compatibility.

Type: UNORDERED_LIST_STRING
Provider name: ClassicLinkVPCSecurityGroups
Description: Available for backward compatibility.

created_time

Type: TIMESTAMP
Provider name: CreatedTime
Description: The creation date and time for the launch configuration.

ebs_optimized

Type: BOOLEAN
Provider name: EbsOptimized
Description: Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false). For more information, see Amazon EBS-Optimized Instances in the Amazon EC2 User Guide for Linux Instances.

iam_instance_profile

Type: STRING
Provider name: IamInstanceProfile
Description: 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. For more information, see IAM role for applications that run on Amazon EC2 instances in the Amazon EC2 Auto Scaling User Guide.

image_id

Type: STRING
Provider name: ImageId
Description: The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more information, see Find a Linux AMI in the Amazon EC2 User Guide for Linux Instances.

instance_monitoring

Type: STRUCT
Provider name: InstanceMonitoring
Description: Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring. For more information, see Configure Monitoring for Auto Scaling Instances in the Amazon EC2 Auto Scaling User Guide.

  • enabled
    Type: BOOLEAN
    Provider name: Enabled
    Description: If true, detailed monitoring is enabled. Otherwise, basic monitoring is enabled.

instance_type

Type: STRING
Provider name: InstanceType
Description: The instance type for the instances. For information about available instance types, see Available instance types in the Amazon EC2 User Guide for Linux Instances.

kernel_id

Type: STRING
Provider name: KernelId
Description: The ID of the kernel associated with the AMI.

key_name

Type: STRING
Provider name: KeyName
Description: The name of the key pair. For more information, see Amazon EC2 Key Pairs in the Amazon EC2 User Guide for Linux Instances.

launch_configuration_arn

Type: STRING
Provider name: LaunchConfigurationARN
Description: The Amazon Resource Name (ARN) of the launch configuration.

launch_configuration_name

Type: STRING
Provider name: LaunchConfigurationName
Description: The name of the launch configuration.

metadata_options

Type: STRUCT
Provider name: MetadataOptions
Description: The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the Amazon EC2 Auto Scaling User Guide.

  • http_endpoint
    Type: STRING
    Provider name: HttpEndpoint
    Description: This parameter enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled. If you specify a value of disabled, you will not be able to access your instance metadata.
  • http_put_response_hop_limit
    Type: INT32
    Provider name: HttpPutResponseHopLimit
    Description: The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.
    Default: 1
  • http_tokens
    Type: STRING
    Provider name: HttpTokens
    Description: The state of token usage for your instance metadata requests. If the parameter is not specified in the request, the default state is optional. If the state is optional, you can choose to retrieve instance metadata with or without a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are returned. If you retrieve the IAM role credentials using a valid signed token, the version 2.0 role credentials are returned. If the state is required, you must send a signed token header with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns the version 2.0 credentials; the version 1.0 credentials are not available.

placement_tenancy

Type: STRING
Provider name: PlacementTenancy
Description: The tenancy of the instance, either default or dedicated. An instance with dedicated tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC. For more information, see Configuring instance tenancy with Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

ramdisk_id

Type: STRING
Provider name: RamdiskId
Description: The ID of the RAM disk associated with the AMI.

security_groups

Type: UNORDERED_LIST_STRING
Provider name: SecurityGroups
Description: A list that contains the security groups to assign to the instances in the Auto Scaling group. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.

spot_price

Type: STRING
Provider name: SpotPrice
Description: The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot price. For more information, see Requesting Spot Instances in the Amazon EC2 Auto Scaling User Guide.

tags

Type: UNORDERED_LIST_STRING

user_data

Type: STRING
Provider name: UserData
Description: The user data to make available to the launched EC2 instances. For more information, see Instance metadata and user data (Linux) and Instance metadata and user data (Windows). If you are using a command line tool, base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text. User data is limited to 16 KB.