pub struct LaunchConfigurationResult {Show 19 fields
pub arn: Output<String>,
pub associate_public_ip_address: Output<Option<bool>>,
pub ebs_block_devices: Output<Vec<LaunchConfigurationEbsBlockDevice>>,
pub ebs_optimized: Output<bool>,
pub enable_monitoring: Output<Option<bool>>,
pub ephemeral_block_devices: Output<Option<Vec<LaunchConfigurationEphemeralBlockDevice>>>,
pub iam_instance_profile: Output<Option<String>>,
pub image_id: Output<String>,
pub instance_type: Output<String>,
pub key_name: Output<String>,
pub metadata_options: Output<LaunchConfigurationMetadataOptions>,
pub name: Output<String>,
pub name_prefix: Output<String>,
pub placement_tenancy: Output<Option<String>>,
pub root_block_device: Output<LaunchConfigurationRootBlockDevice>,
pub security_groups: Output<Option<Vec<String>>>,
pub spot_price: Output<Option<String>>,
pub user_data: Output<Option<String>>,
pub user_data_base64: Output<Option<String>>,
}
Fields§
§arn: Output<String>
The Amazon Resource Name of the launch configuration.
associate_public_ip_address: Output<Option<bool>>
Associate a public ip address with an instance in a VPC.
ebs_block_devices: Output<Vec<LaunchConfigurationEbsBlockDevice>>
Additional EBS block devices to attach to the instance. See Block Devices below for details.
ebs_optimized: Output<bool>
If true, the launched EC2 instance will be EBS-optimized.
enable_monitoring: Output<Option<bool>>
Enables/disables detailed monitoring. This is enabled by default.
ephemeral_block_devices: Output<Option<Vec<LaunchConfigurationEphemeralBlockDevice>>>
Customize Ephemeral (also known as “Instance Store”) volumes on the instance. See Block Devices below for details.
iam_instance_profile: Output<Option<String>>
The name attribute of the IAM instance profile to associate with launched instances.
image_id: Output<String>
The EC2 image ID to launch.
instance_type: Output<String>
The size of instance to launch.
The following arguments are optional:
key_name: Output<String>
The key name that should be used for the instance.
metadata_options: Output<LaunchConfigurationMetadataOptions>
The metadata options for the instance.
name: Output<String>
The name of the launch configuration. If you leave this blank, this provider will auto-generate a unique name. Conflicts with name_prefix
.
name_prefix: Output<String>
Creates a unique name beginning with the specified prefix. Conflicts with name
.
placement_tenancy: Output<Option<String>>
The tenancy of the instance. Valid values are default
or dedicated
, see AWS’s Create Launch Configuration for more details.
root_block_device: Output<LaunchConfigurationRootBlockDevice>
Customize details about the root block device of the instance. See Block Devices below for details.
security_groups: Output<Option<Vec<String>>>
A list of associated security group IDS.
spot_price: Output<Option<String>>
The maximum price to use for reserving spot instances.
user_data: Output<Option<String>>
The user data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see user_data_base64
instead.
user_data_base64: Output<Option<String>>
Can be used instead of user_data
to pass base64-encoded binary data directly. Use this instead of user_data
whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption.