LaunchTemplateData

Struct LaunchTemplateData 

Source
pub struct LaunchTemplateData {
Show 27 fields pub block_device_mappings: Option<ValueList<BlockDeviceMapping>>, pub capacity_reservation_specification: Option<Value<CapacityReservationSpecification>>, pub cpu_options: Option<Value<CpuOptions>>, pub credit_specification: Option<Value<CreditSpecification>>, pub disable_api_termination: Option<Value<bool>>, pub ebs_optimized: Option<Value<bool>>, pub elastic_gpu_specifications: Option<ValueList<ElasticGpuSpecification>>, pub elastic_inference_accelerators: Option<ValueList<LaunchTemplateElasticInferenceAccelerator>>, pub enclave_options: Option<Value<EnclaveOptions>>, pub hibernation_options: Option<Value<HibernationOptions>>, pub iam_instance_profile: Option<Value<IamInstanceProfile>>, pub image_id: Option<Value<String>>, pub instance_initiated_shutdown_behavior: Option<Value<String>>, pub instance_market_options: Option<Value<InstanceMarketOptions>>, pub instance_type: Option<Value<String>>, pub kernel_id: Option<Value<String>>, pub key_name: Option<Value<String>>, pub license_specifications: Option<ValueList<LicenseSpecification>>, pub metadata_options: Option<Value<MetadataOptions>>, pub monitoring: Option<Value<Monitoring>>, pub network_interfaces: Option<ValueList<NetworkInterface>>, pub placement: Option<Value<Placement>>, pub ram_disk_id: Option<Value<String>>, pub security_group_ids: Option<ValueList<String>>, pub security_groups: Option<ValueList<String>>, pub tag_specifications: Option<ValueList<TagSpecification>>, pub user_data: Option<Value<String>>,
}
Expand description

Fields§

§block_device_mappings: Option<ValueList<BlockDeviceMapping>>

Property BlockDeviceMappings.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§capacity_reservation_specification: Option<Value<CapacityReservationSpecification>>

Property CapacityReservationSpecification.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§cpu_options: Option<Value<CpuOptions>>

Property CpuOptions.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§credit_specification: Option<Value<CreditSpecification>>

Property CreditSpecification.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§disable_api_termination: Option<Value<bool>>

Property DisableApiTermination.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§ebs_optimized: Option<Value<bool>>

Property EbsOptimized.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§elastic_gpu_specifications: Option<ValueList<ElasticGpuSpecification>>

Property ElasticGpuSpecifications.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§elastic_inference_accelerators: Option<ValueList<LaunchTemplateElasticInferenceAccelerator>>

Property ElasticInferenceAccelerators.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§enclave_options: Option<Value<EnclaveOptions>>

Property EnclaveOptions.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§hibernation_options: Option<Value<HibernationOptions>>

Property HibernationOptions.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§iam_instance_profile: Option<Value<IamInstanceProfile>>

Property IamInstanceProfile.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§image_id: Option<Value<String>>

Property ImageId.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§instance_initiated_shutdown_behavior: Option<Value<String>>

Property InstanceInitiatedShutdownBehavior.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§instance_market_options: Option<Value<InstanceMarketOptions>>

Property InstanceMarketOptions.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§instance_type: Option<Value<String>>

Property InstanceType.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§kernel_id: Option<Value<String>>

Property KernelId.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§key_name: Option<Value<String>>

Property KeyName.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§license_specifications: Option<ValueList<LicenseSpecification>>

Property LicenseSpecifications.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§metadata_options: Option<Value<MetadataOptions>>

Property MetadataOptions.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§monitoring: Option<Value<Monitoring>>

Property Monitoring.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§network_interfaces: Option<ValueList<NetworkInterface>>

Property NetworkInterfaces.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§placement: Option<Value<Placement>>

Property Placement.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§ram_disk_id: Option<Value<String>>

Property RamDiskId.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§security_group_ids: Option<ValueList<String>>

Property SecurityGroupIds.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§security_groups: Option<ValueList<String>>

Property SecurityGroups.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§tag_specifications: Option<ValueList<TagSpecification>>

Property TagSpecifications.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§user_data: Option<Value<String>>

Property UserData.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

Trait Implementations§

Source§

impl Debug for LaunchTemplateData

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for LaunchTemplateData

Source§

fn default() -> LaunchTemplateData

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.