pub struct LaunchTemplateArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> LaunchTemplateArgsBuilder<S>
impl<S: State> LaunchTemplateArgsBuilder<S>
sourcepub fn build_struct(self) -> LaunchTemplateArgswhere
S: IsComplete,
pub fn build_struct(self) -> LaunchTemplateArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn block_device_mappings(
self,
value: impl Into<Output<Option<Vec<LaunchTemplateBlockDeviceMapping>>>>,
) -> LaunchTemplateArgsBuilder<SetBlockDeviceMappings<S>>where
S::BlockDeviceMappings: IsUnset,
pub fn block_device_mappings(
self,
value: impl Into<Output<Option<Vec<LaunchTemplateBlockDeviceMapping>>>>,
) -> LaunchTemplateArgsBuilder<SetBlockDeviceMappings<S>>where
S::BlockDeviceMappings: IsUnset,
sourcepub fn maybe_block_device_mappings(
self,
value: Option<impl Into<Output<Option<Vec<LaunchTemplateBlockDeviceMapping>>>>>,
) -> LaunchTemplateArgsBuilder<SetBlockDeviceMappings<S>>where
S::BlockDeviceMappings: IsUnset,
pub fn maybe_block_device_mappings(
self,
value: Option<impl Into<Output<Option<Vec<LaunchTemplateBlockDeviceMapping>>>>>,
) -> LaunchTemplateArgsBuilder<SetBlockDeviceMappings<S>>where
S::BlockDeviceMappings: IsUnset,
sourcepub fn capacity_reservation_specification(
self,
value: impl Into<Output<Option<LaunchTemplateCapacityReservationSpecification>>>,
) -> LaunchTemplateArgsBuilder<SetCapacityReservationSpecification<S>>where
S::CapacityReservationSpecification: IsUnset,
pub fn capacity_reservation_specification(
self,
value: impl Into<Output<Option<LaunchTemplateCapacityReservationSpecification>>>,
) -> LaunchTemplateArgsBuilder<SetCapacityReservationSpecification<S>>where
S::CapacityReservationSpecification: IsUnset,
sourcepub fn maybe_capacity_reservation_specification(
self,
value: Option<impl Into<Output<Option<LaunchTemplateCapacityReservationSpecification>>>>,
) -> LaunchTemplateArgsBuilder<SetCapacityReservationSpecification<S>>where
S::CapacityReservationSpecification: IsUnset,
pub fn maybe_capacity_reservation_specification(
self,
value: Option<impl Into<Output<Option<LaunchTemplateCapacityReservationSpecification>>>>,
) -> LaunchTemplateArgsBuilder<SetCapacityReservationSpecification<S>>where
S::CapacityReservationSpecification: IsUnset,
sourcepub fn cpu_options(
self,
value: impl Into<Output<Option<LaunchTemplateCpuOptions>>>,
) -> LaunchTemplateArgsBuilder<SetCpuOptions<S>>where
S::CpuOptions: IsUnset,
pub fn cpu_options(
self,
value: impl Into<Output<Option<LaunchTemplateCpuOptions>>>,
) -> LaunchTemplateArgsBuilder<SetCpuOptions<S>>where
S::CpuOptions: IsUnset,
sourcepub fn maybe_cpu_options(
self,
value: Option<impl Into<Output<Option<LaunchTemplateCpuOptions>>>>,
) -> LaunchTemplateArgsBuilder<SetCpuOptions<S>>where
S::CpuOptions: IsUnset,
pub fn maybe_cpu_options(
self,
value: Option<impl Into<Output<Option<LaunchTemplateCpuOptions>>>>,
) -> LaunchTemplateArgsBuilder<SetCpuOptions<S>>where
S::CpuOptions: IsUnset,
sourcepub fn credit_specification(
self,
value: impl Into<Output<Option<LaunchTemplateCreditSpecification>>>,
) -> LaunchTemplateArgsBuilder<SetCreditSpecification<S>>where
S::CreditSpecification: IsUnset,
pub fn credit_specification(
self,
value: impl Into<Output<Option<LaunchTemplateCreditSpecification>>>,
) -> LaunchTemplateArgsBuilder<SetCreditSpecification<S>>where
S::CreditSpecification: IsUnset,
sourcepub fn maybe_credit_specification(
self,
value: Option<impl Into<Output<Option<LaunchTemplateCreditSpecification>>>>,
) -> LaunchTemplateArgsBuilder<SetCreditSpecification<S>>where
S::CreditSpecification: IsUnset,
pub fn maybe_credit_specification(
self,
value: Option<impl Into<Output<Option<LaunchTemplateCreditSpecification>>>>,
) -> LaunchTemplateArgsBuilder<SetCreditSpecification<S>>where
S::CreditSpecification: IsUnset,
sourcepub fn default_version(
self,
value: impl Into<Output<Option<i32>>>,
) -> LaunchTemplateArgsBuilder<SetDefaultVersion<S>>where
S::DefaultVersion: IsUnset,
pub fn default_version(
self,
value: impl Into<Output<Option<i32>>>,
) -> LaunchTemplateArgsBuilder<SetDefaultVersion<S>>where
S::DefaultVersion: IsUnset,
sourcepub fn maybe_default_version(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> LaunchTemplateArgsBuilder<SetDefaultVersion<S>>where
S::DefaultVersion: IsUnset,
pub fn maybe_default_version(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> LaunchTemplateArgsBuilder<SetDefaultVersion<S>>where
S::DefaultVersion: IsUnset,
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchTemplateArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchTemplateArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchTemplateArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchTemplateArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn disable_api_stop(
self,
value: impl Into<Output<Option<bool>>>,
) -> LaunchTemplateArgsBuilder<SetDisableApiStop<S>>where
S::DisableApiStop: IsUnset,
pub fn disable_api_stop(
self,
value: impl Into<Output<Option<bool>>>,
) -> LaunchTemplateArgsBuilder<SetDisableApiStop<S>>where
S::DisableApiStop: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
If true, enables EC2 Instance Stop Protection.
sourcepub fn maybe_disable_api_stop(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> LaunchTemplateArgsBuilder<SetDisableApiStop<S>>where
S::DisableApiStop: IsUnset,
pub fn maybe_disable_api_stop(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> LaunchTemplateArgsBuilder<SetDisableApiStop<S>>where
S::DisableApiStop: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
If true, enables EC2 Instance Stop Protection.
sourcepub fn disable_api_termination(
self,
value: impl Into<Output<Option<bool>>>,
) -> LaunchTemplateArgsBuilder<SetDisableApiTermination<S>>where
S::DisableApiTermination: IsUnset,
pub fn disable_api_termination(
self,
value: impl Into<Output<Option<bool>>>,
) -> LaunchTemplateArgsBuilder<SetDisableApiTermination<S>>where
S::DisableApiTermination: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
If true
, enables EC2 Instance
Termination Protection
sourcepub fn maybe_disable_api_termination(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> LaunchTemplateArgsBuilder<SetDisableApiTermination<S>>where
S::DisableApiTermination: IsUnset,
pub fn maybe_disable_api_termination(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> LaunchTemplateArgsBuilder<SetDisableApiTermination<S>>where
S::DisableApiTermination: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
If true
, enables EC2 Instance
Termination Protection
sourcepub fn ebs_optimized(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchTemplateArgsBuilder<SetEbsOptimized<S>>where
S::EbsOptimized: IsUnset,
pub fn ebs_optimized(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchTemplateArgsBuilder<SetEbsOptimized<S>>where
S::EbsOptimized: IsUnset,
sourcepub fn maybe_ebs_optimized(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchTemplateArgsBuilder<SetEbsOptimized<S>>where
S::EbsOptimized: IsUnset,
pub fn maybe_ebs_optimized(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchTemplateArgsBuilder<SetEbsOptimized<S>>where
S::EbsOptimized: IsUnset,
sourcepub fn elastic_gpu_specifications(
self,
value: impl Into<Output<Option<Vec<LaunchTemplateElasticGpuSpecification>>>>,
) -> LaunchTemplateArgsBuilder<SetElasticGpuSpecifications<S>>where
S::ElasticGpuSpecifications: IsUnset,
pub fn elastic_gpu_specifications(
self,
value: impl Into<Output<Option<Vec<LaunchTemplateElasticGpuSpecification>>>>,
) -> LaunchTemplateArgsBuilder<SetElasticGpuSpecifications<S>>where
S::ElasticGpuSpecifications: IsUnset,
sourcepub fn maybe_elastic_gpu_specifications(
self,
value: Option<impl Into<Output<Option<Vec<LaunchTemplateElasticGpuSpecification>>>>>,
) -> LaunchTemplateArgsBuilder<SetElasticGpuSpecifications<S>>where
S::ElasticGpuSpecifications: IsUnset,
pub fn maybe_elastic_gpu_specifications(
self,
value: Option<impl Into<Output<Option<Vec<LaunchTemplateElasticGpuSpecification>>>>>,
) -> LaunchTemplateArgsBuilder<SetElasticGpuSpecifications<S>>where
S::ElasticGpuSpecifications: IsUnset,
sourcepub fn elastic_inference_accelerator(
self,
value: impl Into<Output<Option<LaunchTemplateElasticInferenceAccelerator>>>,
) -> LaunchTemplateArgsBuilder<SetElasticInferenceAccelerator<S>>where
S::ElasticInferenceAccelerator: IsUnset,
pub fn elastic_inference_accelerator(
self,
value: impl Into<Output<Option<LaunchTemplateElasticInferenceAccelerator>>>,
) -> LaunchTemplateArgsBuilder<SetElasticInferenceAccelerator<S>>where
S::ElasticInferenceAccelerator: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::ec2::LaunchTemplateElasticInferenceAccelerator>,
> as Default>::default()
Configuration block containing an Elastic Inference Accelerator to attach to the instance. See Elastic Inference Accelerator below for more details.
sourcepub fn maybe_elastic_inference_accelerator(
self,
value: Option<impl Into<Output<Option<LaunchTemplateElasticInferenceAccelerator>>>>,
) -> LaunchTemplateArgsBuilder<SetElasticInferenceAccelerator<S>>where
S::ElasticInferenceAccelerator: IsUnset,
pub fn maybe_elastic_inference_accelerator(
self,
value: Option<impl Into<Output<Option<LaunchTemplateElasticInferenceAccelerator>>>>,
) -> LaunchTemplateArgsBuilder<SetElasticInferenceAccelerator<S>>where
S::ElasticInferenceAccelerator: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::ec2::LaunchTemplateElasticInferenceAccelerator>,
> as Default>::default()
Configuration block containing an Elastic Inference Accelerator to attach to the instance. See Elastic Inference Accelerator below for more details.
sourcepub fn enclave_options(
self,
value: impl Into<Output<Option<LaunchTemplateEnclaveOptions>>>,
) -> LaunchTemplateArgsBuilder<SetEnclaveOptions<S>>where
S::EnclaveOptions: IsUnset,
pub fn enclave_options(
self,
value: impl Into<Output<Option<LaunchTemplateEnclaveOptions>>>,
) -> LaunchTemplateArgsBuilder<SetEnclaveOptions<S>>where
S::EnclaveOptions: IsUnset,
sourcepub fn maybe_enclave_options(
self,
value: Option<impl Into<Output<Option<LaunchTemplateEnclaveOptions>>>>,
) -> LaunchTemplateArgsBuilder<SetEnclaveOptions<S>>where
S::EnclaveOptions: IsUnset,
pub fn maybe_enclave_options(
self,
value: Option<impl Into<Output<Option<LaunchTemplateEnclaveOptions>>>>,
) -> LaunchTemplateArgsBuilder<SetEnclaveOptions<S>>where
S::EnclaveOptions: IsUnset,
sourcepub fn hibernation_options(
self,
value: impl Into<Output<Option<LaunchTemplateHibernationOptions>>>,
) -> LaunchTemplateArgsBuilder<SetHibernationOptions<S>>where
S::HibernationOptions: IsUnset,
pub fn hibernation_options(
self,
value: impl Into<Output<Option<LaunchTemplateHibernationOptions>>>,
) -> LaunchTemplateArgsBuilder<SetHibernationOptions<S>>where
S::HibernationOptions: IsUnset,
sourcepub fn maybe_hibernation_options(
self,
value: Option<impl Into<Output<Option<LaunchTemplateHibernationOptions>>>>,
) -> LaunchTemplateArgsBuilder<SetHibernationOptions<S>>where
S::HibernationOptions: IsUnset,
pub fn maybe_hibernation_options(
self,
value: Option<impl Into<Output<Option<LaunchTemplateHibernationOptions>>>>,
) -> LaunchTemplateArgsBuilder<SetHibernationOptions<S>>where
S::HibernationOptions: IsUnset,
sourcepub fn iam_instance_profile(
self,
value: impl Into<Output<Option<LaunchTemplateIamInstanceProfile>>>,
) -> LaunchTemplateArgsBuilder<SetIamInstanceProfile<S>>where
S::IamInstanceProfile: IsUnset,
pub fn iam_instance_profile(
self,
value: impl Into<Output<Option<LaunchTemplateIamInstanceProfile>>>,
) -> LaunchTemplateArgsBuilder<SetIamInstanceProfile<S>>where
S::IamInstanceProfile: IsUnset,
sourcepub fn maybe_iam_instance_profile(
self,
value: Option<impl Into<Output<Option<LaunchTemplateIamInstanceProfile>>>>,
) -> LaunchTemplateArgsBuilder<SetIamInstanceProfile<S>>where
S::IamInstanceProfile: IsUnset,
pub fn maybe_iam_instance_profile(
self,
value: Option<impl Into<Output<Option<LaunchTemplateIamInstanceProfile>>>>,
) -> LaunchTemplateArgsBuilder<SetIamInstanceProfile<S>>where
S::IamInstanceProfile: IsUnset,
sourcepub fn image_id(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchTemplateArgsBuilder<SetImageId<S>>where
S::ImageId: IsUnset,
pub fn image_id(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchTemplateArgsBuilder<SetImageId<S>>where
S::ImageId: IsUnset,
sourcepub fn maybe_image_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchTemplateArgsBuilder<SetImageId<S>>where
S::ImageId: IsUnset,
pub fn maybe_image_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchTemplateArgsBuilder<SetImageId<S>>where
S::ImageId: IsUnset,
sourcepub fn instance_initiated_shutdown_behavior(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchTemplateArgsBuilder<SetInstanceInitiatedShutdownBehavior<S>>where
S::InstanceInitiatedShutdownBehavior: IsUnset,
pub fn instance_initiated_shutdown_behavior(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchTemplateArgsBuilder<SetInstanceInitiatedShutdownBehavior<S>>where
S::InstanceInitiatedShutdownBehavior: IsUnset,
sourcepub fn maybe_instance_initiated_shutdown_behavior(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchTemplateArgsBuilder<SetInstanceInitiatedShutdownBehavior<S>>where
S::InstanceInitiatedShutdownBehavior: IsUnset,
pub fn maybe_instance_initiated_shutdown_behavior(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchTemplateArgsBuilder<SetInstanceInitiatedShutdownBehavior<S>>where
S::InstanceInitiatedShutdownBehavior: IsUnset,
sourcepub fn instance_market_options(
self,
value: impl Into<Output<Option<LaunchTemplateInstanceMarketOptions>>>,
) -> LaunchTemplateArgsBuilder<SetInstanceMarketOptions<S>>where
S::InstanceMarketOptions: IsUnset,
pub fn instance_market_options(
self,
value: impl Into<Output<Option<LaunchTemplateInstanceMarketOptions>>>,
) -> LaunchTemplateArgsBuilder<SetInstanceMarketOptions<S>>where
S::InstanceMarketOptions: IsUnset,
sourcepub fn maybe_instance_market_options(
self,
value: Option<impl Into<Output<Option<LaunchTemplateInstanceMarketOptions>>>>,
) -> LaunchTemplateArgsBuilder<SetInstanceMarketOptions<S>>where
S::InstanceMarketOptions: IsUnset,
pub fn maybe_instance_market_options(
self,
value: Option<impl Into<Output<Option<LaunchTemplateInstanceMarketOptions>>>>,
) -> LaunchTemplateArgsBuilder<SetInstanceMarketOptions<S>>where
S::InstanceMarketOptions: IsUnset,
sourcepub fn instance_requirements(
self,
value: impl Into<Output<Option<LaunchTemplateInstanceRequirements>>>,
) -> LaunchTemplateArgsBuilder<SetInstanceRequirements<S>>where
S::InstanceRequirements: IsUnset,
pub fn instance_requirements(
self,
value: impl Into<Output<Option<LaunchTemplateInstanceRequirements>>>,
) -> LaunchTemplateArgsBuilder<SetInstanceRequirements<S>>where
S::InstanceRequirements: IsUnset,
sourcepub fn maybe_instance_requirements(
self,
value: Option<impl Into<Output<Option<LaunchTemplateInstanceRequirements>>>>,
) -> LaunchTemplateArgsBuilder<SetInstanceRequirements<S>>where
S::InstanceRequirements: IsUnset,
pub fn maybe_instance_requirements(
self,
value: Option<impl Into<Output<Option<LaunchTemplateInstanceRequirements>>>>,
) -> LaunchTemplateArgsBuilder<SetInstanceRequirements<S>>where
S::InstanceRequirements: IsUnset,
sourcepub fn instance_type(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchTemplateArgsBuilder<SetInstanceType<S>>where
S::InstanceType: IsUnset,
pub fn instance_type(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchTemplateArgsBuilder<SetInstanceType<S>>where
S::InstanceType: IsUnset,
sourcepub fn maybe_instance_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchTemplateArgsBuilder<SetInstanceType<S>>where
S::InstanceType: IsUnset,
pub fn maybe_instance_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchTemplateArgsBuilder<SetInstanceType<S>>where
S::InstanceType: IsUnset,
sourcepub fn kernel_id(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchTemplateArgsBuilder<SetKernelId<S>>where
S::KernelId: IsUnset,
pub fn kernel_id(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchTemplateArgsBuilder<SetKernelId<S>>where
S::KernelId: IsUnset,
sourcepub fn maybe_kernel_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchTemplateArgsBuilder<SetKernelId<S>>where
S::KernelId: IsUnset,
pub fn maybe_kernel_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchTemplateArgsBuilder<SetKernelId<S>>where
S::KernelId: IsUnset,
sourcepub fn key_name(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchTemplateArgsBuilder<SetKeyName<S>>where
S::KeyName: IsUnset,
pub fn key_name(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchTemplateArgsBuilder<SetKeyName<S>>where
S::KeyName: IsUnset,
sourcepub fn maybe_key_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchTemplateArgsBuilder<SetKeyName<S>>where
S::KeyName: IsUnset,
pub fn maybe_key_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchTemplateArgsBuilder<SetKeyName<S>>where
S::KeyName: IsUnset,
sourcepub fn license_specifications(
self,
value: impl Into<Output<Option<Vec<LaunchTemplateLicenseSpecification>>>>,
) -> LaunchTemplateArgsBuilder<SetLicenseSpecifications<S>>where
S::LicenseSpecifications: IsUnset,
pub fn license_specifications(
self,
value: impl Into<Output<Option<Vec<LaunchTemplateLicenseSpecification>>>>,
) -> LaunchTemplateArgsBuilder<SetLicenseSpecifications<S>>where
S::LicenseSpecifications: IsUnset,
sourcepub fn maybe_license_specifications(
self,
value: Option<impl Into<Output<Option<Vec<LaunchTemplateLicenseSpecification>>>>>,
) -> LaunchTemplateArgsBuilder<SetLicenseSpecifications<S>>where
S::LicenseSpecifications: IsUnset,
pub fn maybe_license_specifications(
self,
value: Option<impl Into<Output<Option<Vec<LaunchTemplateLicenseSpecification>>>>>,
) -> LaunchTemplateArgsBuilder<SetLicenseSpecifications<S>>where
S::LicenseSpecifications: IsUnset,
sourcepub fn maintenance_options(
self,
value: impl Into<Output<Option<LaunchTemplateMaintenanceOptions>>>,
) -> LaunchTemplateArgsBuilder<SetMaintenanceOptions<S>>where
S::MaintenanceOptions: IsUnset,
pub fn maintenance_options(
self,
value: impl Into<Output<Option<LaunchTemplateMaintenanceOptions>>>,
) -> LaunchTemplateArgsBuilder<SetMaintenanceOptions<S>>where
S::MaintenanceOptions: IsUnset,
sourcepub fn maybe_maintenance_options(
self,
value: Option<impl Into<Output<Option<LaunchTemplateMaintenanceOptions>>>>,
) -> LaunchTemplateArgsBuilder<SetMaintenanceOptions<S>>where
S::MaintenanceOptions: IsUnset,
pub fn maybe_maintenance_options(
self,
value: Option<impl Into<Output<Option<LaunchTemplateMaintenanceOptions>>>>,
) -> LaunchTemplateArgsBuilder<SetMaintenanceOptions<S>>where
S::MaintenanceOptions: IsUnset,
sourcepub fn metadata_options(
self,
value: impl Into<Output<Option<LaunchTemplateMetadataOptions>>>,
) -> LaunchTemplateArgsBuilder<SetMetadataOptions<S>>where
S::MetadataOptions: IsUnset,
pub fn metadata_options(
self,
value: impl Into<Output<Option<LaunchTemplateMetadataOptions>>>,
) -> LaunchTemplateArgsBuilder<SetMetadataOptions<S>>where
S::MetadataOptions: IsUnset,
sourcepub fn maybe_metadata_options(
self,
value: Option<impl Into<Output<Option<LaunchTemplateMetadataOptions>>>>,
) -> LaunchTemplateArgsBuilder<SetMetadataOptions<S>>where
S::MetadataOptions: IsUnset,
pub fn maybe_metadata_options(
self,
value: Option<impl Into<Output<Option<LaunchTemplateMetadataOptions>>>>,
) -> LaunchTemplateArgsBuilder<SetMetadataOptions<S>>where
S::MetadataOptions: IsUnset,
sourcepub fn monitoring(
self,
value: impl Into<Output<Option<LaunchTemplateMonitoring>>>,
) -> LaunchTemplateArgsBuilder<SetMonitoring<S>>where
S::Monitoring: IsUnset,
pub fn monitoring(
self,
value: impl Into<Output<Option<LaunchTemplateMonitoring>>>,
) -> LaunchTemplateArgsBuilder<SetMonitoring<S>>where
S::Monitoring: IsUnset,
sourcepub fn maybe_monitoring(
self,
value: Option<impl Into<Output<Option<LaunchTemplateMonitoring>>>>,
) -> LaunchTemplateArgsBuilder<SetMonitoring<S>>where
S::Monitoring: IsUnset,
pub fn maybe_monitoring(
self,
value: Option<impl Into<Output<Option<LaunchTemplateMonitoring>>>>,
) -> LaunchTemplateArgsBuilder<SetMonitoring<S>>where
S::Monitoring: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchTemplateArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchTemplateArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchTemplateArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchTemplateArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn name_prefix(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchTemplateArgsBuilder<SetNamePrefix<S>>where
S::NamePrefix: IsUnset,
pub fn name_prefix(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchTemplateArgsBuilder<SetNamePrefix<S>>where
S::NamePrefix: IsUnset,
sourcepub fn maybe_name_prefix(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchTemplateArgsBuilder<SetNamePrefix<S>>where
S::NamePrefix: IsUnset,
pub fn maybe_name_prefix(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchTemplateArgsBuilder<SetNamePrefix<S>>where
S::NamePrefix: IsUnset,
sourcepub fn network_interfaces(
self,
value: impl Into<Output<Option<Vec<LaunchTemplateNetworkInterface>>>>,
) -> LaunchTemplateArgsBuilder<SetNetworkInterfaces<S>>where
S::NetworkInterfaces: IsUnset,
pub fn network_interfaces(
self,
value: impl Into<Output<Option<Vec<LaunchTemplateNetworkInterface>>>>,
) -> LaunchTemplateArgsBuilder<SetNetworkInterfaces<S>>where
S::NetworkInterfaces: IsUnset,
sourcepub fn maybe_network_interfaces(
self,
value: Option<impl Into<Output<Option<Vec<LaunchTemplateNetworkInterface>>>>>,
) -> LaunchTemplateArgsBuilder<SetNetworkInterfaces<S>>where
S::NetworkInterfaces: IsUnset,
pub fn maybe_network_interfaces(
self,
value: Option<impl Into<Output<Option<Vec<LaunchTemplateNetworkInterface>>>>>,
) -> LaunchTemplateArgsBuilder<SetNetworkInterfaces<S>>where
S::NetworkInterfaces: IsUnset,
sourcepub fn placement(
self,
value: impl Into<Output<Option<LaunchTemplatePlacement>>>,
) -> LaunchTemplateArgsBuilder<SetPlacement<S>>where
S::Placement: IsUnset,
pub fn placement(
self,
value: impl Into<Output<Option<LaunchTemplatePlacement>>>,
) -> LaunchTemplateArgsBuilder<SetPlacement<S>>where
S::Placement: IsUnset,
sourcepub fn maybe_placement(
self,
value: Option<impl Into<Output<Option<LaunchTemplatePlacement>>>>,
) -> LaunchTemplateArgsBuilder<SetPlacement<S>>where
S::Placement: IsUnset,
pub fn maybe_placement(
self,
value: Option<impl Into<Output<Option<LaunchTemplatePlacement>>>>,
) -> LaunchTemplateArgsBuilder<SetPlacement<S>>where
S::Placement: IsUnset,
sourcepub fn private_dns_name_options(
self,
value: impl Into<Output<Option<LaunchTemplatePrivateDnsNameOptions>>>,
) -> LaunchTemplateArgsBuilder<SetPrivateDnsNameOptions<S>>where
S::PrivateDnsNameOptions: IsUnset,
pub fn private_dns_name_options(
self,
value: impl Into<Output<Option<LaunchTemplatePrivateDnsNameOptions>>>,
) -> LaunchTemplateArgsBuilder<SetPrivateDnsNameOptions<S>>where
S::PrivateDnsNameOptions: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::ec2::LaunchTemplatePrivateDnsNameOptions>,
> as Default>::default()
The options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details.
sourcepub fn maybe_private_dns_name_options(
self,
value: Option<impl Into<Output<Option<LaunchTemplatePrivateDnsNameOptions>>>>,
) -> LaunchTemplateArgsBuilder<SetPrivateDnsNameOptions<S>>where
S::PrivateDnsNameOptions: IsUnset,
pub fn maybe_private_dns_name_options(
self,
value: Option<impl Into<Output<Option<LaunchTemplatePrivateDnsNameOptions>>>>,
) -> LaunchTemplateArgsBuilder<SetPrivateDnsNameOptions<S>>where
S::PrivateDnsNameOptions: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::ec2::LaunchTemplatePrivateDnsNameOptions>,
> as Default>::default()
The options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details.
sourcepub fn ram_disk_id(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchTemplateArgsBuilder<SetRamDiskId<S>>where
S::RamDiskId: IsUnset,
pub fn ram_disk_id(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchTemplateArgsBuilder<SetRamDiskId<S>>where
S::RamDiskId: IsUnset,
sourcepub fn maybe_ram_disk_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchTemplateArgsBuilder<SetRamDiskId<S>>where
S::RamDiskId: IsUnset,
pub fn maybe_ram_disk_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchTemplateArgsBuilder<SetRamDiskId<S>>where
S::RamDiskId: IsUnset,
sourcepub fn security_group_names(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> LaunchTemplateArgsBuilder<SetSecurityGroupNames<S>>where
S::SecurityGroupNames: IsUnset,
pub fn security_group_names(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> LaunchTemplateArgsBuilder<SetSecurityGroupNames<S>>where
S::SecurityGroupNames: IsUnset,
sourcepub fn maybe_security_group_names(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> LaunchTemplateArgsBuilder<SetSecurityGroupNames<S>>where
S::SecurityGroupNames: IsUnset,
pub fn maybe_security_group_names(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> LaunchTemplateArgsBuilder<SetSecurityGroupNames<S>>where
S::SecurityGroupNames: IsUnset,
sourcepub fn tag_specifications(
self,
value: impl Into<Output<Option<Vec<LaunchTemplateTagSpecification>>>>,
) -> LaunchTemplateArgsBuilder<SetTagSpecifications<S>>where
S::TagSpecifications: IsUnset,
pub fn tag_specifications(
self,
value: impl Into<Output<Option<Vec<LaunchTemplateTagSpecification>>>>,
) -> LaunchTemplateArgsBuilder<SetTagSpecifications<S>>where
S::TagSpecifications: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::ec2::LaunchTemplateTagSpecification>>,
> as Default>::default()
The tags to apply to the resources during launch. See Tag Specifications below for more details. Default tags are currently not propagated to ASG created resources so you may wish to inject your default tags into this variable against the relevant child resource types created.
sourcepub fn maybe_tag_specifications(
self,
value: Option<impl Into<Output<Option<Vec<LaunchTemplateTagSpecification>>>>>,
) -> LaunchTemplateArgsBuilder<SetTagSpecifications<S>>where
S::TagSpecifications: IsUnset,
pub fn maybe_tag_specifications(
self,
value: Option<impl Into<Output<Option<Vec<LaunchTemplateTagSpecification>>>>>,
) -> LaunchTemplateArgsBuilder<SetTagSpecifications<S>>where
S::TagSpecifications: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::ec2::LaunchTemplateTagSpecification>>,
> as Default>::default()
The tags to apply to the resources during launch. See Tag Specifications below for more details. Default tags are currently not propagated to ASG created resources so you may wish to inject your default tags into this variable against the relevant child resource types created.
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
A map of tags to assign to the launch template. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
A map of tags to assign to the launch template. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.