pub struct LaunchConfigurationArgs {Show 18 fields
pub associate_public_ip_address: Output<Option<bool>>,
pub ebs_block_devices: Output<Option<Vec<LaunchConfigurationEbsBlockDevice>>>,
pub ebs_optimized: Output<Option<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<Option<String>>,
pub metadata_options: Output<Option<LaunchConfigurationMetadataOptions>>,
pub name: Output<Option<String>>,
pub name_prefix: Output<Option<String>>,
pub placement_tenancy: Output<Option<String>>,
pub root_block_device: Output<Option<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§
§associate_public_ip_address: Output<Option<bool>>
Associate a public ip address with an instance in a VPC.
ebs_block_devices: Output<Option<Vec<LaunchConfigurationEbsBlockDevice>>>
Additional EBS block devices to attach to the instance. See Block Devices below for details.
ebs_optimized: Output<Option<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<Option<String>>
The key name that should be used for the instance.
metadata_options: Output<Option<LaunchConfigurationMetadataOptions>>
The metadata options for the instance.
name: Output<Option<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<Option<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<Option<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.
Implementations§
source§impl LaunchConfigurationArgs
impl LaunchConfigurationArgs
sourcepub fn builder() -> LaunchConfigurationArgsBuilder
pub fn builder() -> LaunchConfigurationArgsBuilder
Create an instance of LaunchConfigurationArgs
using the builder syntax
Trait Implementations§
source§impl Clone for LaunchConfigurationArgs
impl Clone for LaunchConfigurationArgs
source§fn clone(&self) -> LaunchConfigurationArgs
fn clone(&self) -> LaunchConfigurationArgs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for LaunchConfigurationArgs
impl RefUnwindSafe for LaunchConfigurationArgs
impl Send for LaunchConfigurationArgs
impl Sync for LaunchConfigurationArgs
impl Unpin for LaunchConfigurationArgs
impl UnwindSafe for LaunchConfigurationArgs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)