pub struct LaunchConfigurationArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> LaunchConfigurationArgsBuilder<S>
impl<S: State> LaunchConfigurationArgsBuilder<S>
sourcepub fn build_struct(self) -> LaunchConfigurationArgswhere
S: IsComplete,
pub fn build_struct(self) -> LaunchConfigurationArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn associate_public_ip_address(
self,
value: impl Into<Output<Option<bool>>>,
) -> LaunchConfigurationArgsBuilder<SetAssociatePublicIpAddress<S>>where
S::AssociatePublicIpAddress: IsUnset,
pub fn associate_public_ip_address(
self,
value: impl Into<Output<Option<bool>>>,
) -> LaunchConfigurationArgsBuilder<SetAssociatePublicIpAddress<S>>where
S::AssociatePublicIpAddress: IsUnset,
sourcepub fn maybe_associate_public_ip_address(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> LaunchConfigurationArgsBuilder<SetAssociatePublicIpAddress<S>>where
S::AssociatePublicIpAddress: IsUnset,
pub fn maybe_associate_public_ip_address(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> LaunchConfigurationArgsBuilder<SetAssociatePublicIpAddress<S>>where
S::AssociatePublicIpAddress: IsUnset,
sourcepub fn ebs_block_devices(
self,
value: impl Into<Output<Option<Vec<LaunchConfigurationEbsBlockDevice>>>>,
) -> LaunchConfigurationArgsBuilder<SetEbsBlockDevices<S>>where
S::EbsBlockDevices: IsUnset,
pub fn ebs_block_devices(
self,
value: impl Into<Output<Option<Vec<LaunchConfigurationEbsBlockDevice>>>>,
) -> LaunchConfigurationArgsBuilder<SetEbsBlockDevices<S>>where
S::EbsBlockDevices: IsUnset,
sourcepub fn maybe_ebs_block_devices(
self,
value: Option<impl Into<Output<Option<Vec<LaunchConfigurationEbsBlockDevice>>>>>,
) -> LaunchConfigurationArgsBuilder<SetEbsBlockDevices<S>>where
S::EbsBlockDevices: IsUnset,
pub fn maybe_ebs_block_devices(
self,
value: Option<impl Into<Output<Option<Vec<LaunchConfigurationEbsBlockDevice>>>>>,
) -> LaunchConfigurationArgsBuilder<SetEbsBlockDevices<S>>where
S::EbsBlockDevices: IsUnset,
sourcepub fn ebs_optimized(
self,
value: impl Into<Output<Option<bool>>>,
) -> LaunchConfigurationArgsBuilder<SetEbsOptimized<S>>where
S::EbsOptimized: IsUnset,
pub fn ebs_optimized(
self,
value: impl Into<Output<Option<bool>>>,
) -> LaunchConfigurationArgsBuilder<SetEbsOptimized<S>>where
S::EbsOptimized: IsUnset,
sourcepub fn maybe_ebs_optimized(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> LaunchConfigurationArgsBuilder<SetEbsOptimized<S>>where
S::EbsOptimized: IsUnset,
pub fn maybe_ebs_optimized(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> LaunchConfigurationArgsBuilder<SetEbsOptimized<S>>where
S::EbsOptimized: IsUnset,
sourcepub fn enable_monitoring(
self,
value: impl Into<Output<Option<bool>>>,
) -> LaunchConfigurationArgsBuilder<SetEnableMonitoring<S>>where
S::EnableMonitoring: IsUnset,
pub fn enable_monitoring(
self,
value: impl Into<Output<Option<bool>>>,
) -> LaunchConfigurationArgsBuilder<SetEnableMonitoring<S>>where
S::EnableMonitoring: IsUnset,
sourcepub fn maybe_enable_monitoring(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> LaunchConfigurationArgsBuilder<SetEnableMonitoring<S>>where
S::EnableMonitoring: IsUnset,
pub fn maybe_enable_monitoring(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> LaunchConfigurationArgsBuilder<SetEnableMonitoring<S>>where
S::EnableMonitoring: IsUnset,
sourcepub fn ephemeral_block_devices(
self,
value: impl Into<Output<Option<Vec<LaunchConfigurationEphemeralBlockDevice>>>>,
) -> LaunchConfigurationArgsBuilder<SetEphemeralBlockDevices<S>>where
S::EphemeralBlockDevices: IsUnset,
pub fn ephemeral_block_devices(
self,
value: impl Into<Output<Option<Vec<LaunchConfigurationEphemeralBlockDevice>>>>,
) -> LaunchConfigurationArgsBuilder<SetEphemeralBlockDevices<S>>where
S::EphemeralBlockDevices: IsUnset,
sourcepub fn maybe_ephemeral_block_devices(
self,
value: Option<impl Into<Output<Option<Vec<LaunchConfigurationEphemeralBlockDevice>>>>>,
) -> LaunchConfigurationArgsBuilder<SetEphemeralBlockDevices<S>>where
S::EphemeralBlockDevices: IsUnset,
pub fn maybe_ephemeral_block_devices(
self,
value: Option<impl Into<Output<Option<Vec<LaunchConfigurationEphemeralBlockDevice>>>>>,
) -> LaunchConfigurationArgsBuilder<SetEphemeralBlockDevices<S>>where
S::EphemeralBlockDevices: IsUnset,
sourcepub fn iam_instance_profile(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchConfigurationArgsBuilder<SetIamInstanceProfile<S>>where
S::IamInstanceProfile: IsUnset,
pub fn iam_instance_profile(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchConfigurationArgsBuilder<SetIamInstanceProfile<S>>where
S::IamInstanceProfile: IsUnset,
sourcepub fn maybe_iam_instance_profile(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchConfigurationArgsBuilder<SetIamInstanceProfile<S>>where
S::IamInstanceProfile: IsUnset,
pub fn maybe_iam_instance_profile(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchConfigurationArgsBuilder<SetIamInstanceProfile<S>>where
S::IamInstanceProfile: IsUnset,
sourcepub fn image_id(
self,
value: impl Into<Output<String>>,
) -> LaunchConfigurationArgsBuilder<SetImageId<S>>where
S::ImageId: IsUnset,
pub fn image_id(
self,
value: impl Into<Output<String>>,
) -> LaunchConfigurationArgsBuilder<SetImageId<S>>where
S::ImageId: IsUnset,
Required.
The EC2 image ID to launch.
sourcepub fn instance_type(
self,
value: impl Into<Output<String>>,
) -> LaunchConfigurationArgsBuilder<SetInstanceType<S>>where
S::InstanceType: IsUnset,
pub fn instance_type(
self,
value: impl Into<Output<String>>,
) -> LaunchConfigurationArgsBuilder<SetInstanceType<S>>where
S::InstanceType: IsUnset,
Required.
The size of instance to launch.
The following arguments are optional:
sourcepub fn key_name(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchConfigurationArgsBuilder<SetKeyName<S>>where
S::KeyName: IsUnset,
pub fn key_name(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchConfigurationArgsBuilder<SetKeyName<S>>where
S::KeyName: IsUnset,
sourcepub fn maybe_key_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchConfigurationArgsBuilder<SetKeyName<S>>where
S::KeyName: IsUnset,
pub fn maybe_key_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchConfigurationArgsBuilder<SetKeyName<S>>where
S::KeyName: IsUnset,
sourcepub fn metadata_options(
self,
value: impl Into<Output<Option<LaunchConfigurationMetadataOptions>>>,
) -> LaunchConfigurationArgsBuilder<SetMetadataOptions<S>>where
S::MetadataOptions: IsUnset,
pub fn metadata_options(
self,
value: impl Into<Output<Option<LaunchConfigurationMetadataOptions>>>,
) -> LaunchConfigurationArgsBuilder<SetMetadataOptions<S>>where
S::MetadataOptions: IsUnset,
sourcepub fn maybe_metadata_options(
self,
value: Option<impl Into<Output<Option<LaunchConfigurationMetadataOptions>>>>,
) -> LaunchConfigurationArgsBuilder<SetMetadataOptions<S>>where
S::MetadataOptions: IsUnset,
pub fn maybe_metadata_options(
self,
value: Option<impl Into<Output<Option<LaunchConfigurationMetadataOptions>>>>,
) -> LaunchConfigurationArgsBuilder<SetMetadataOptions<S>>where
S::MetadataOptions: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchConfigurationArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchConfigurationArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchConfigurationArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchConfigurationArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn name_prefix(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchConfigurationArgsBuilder<SetNamePrefix<S>>where
S::NamePrefix: IsUnset,
pub fn name_prefix(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchConfigurationArgsBuilder<SetNamePrefix<S>>where
S::NamePrefix: IsUnset,
sourcepub fn maybe_name_prefix(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchConfigurationArgsBuilder<SetNamePrefix<S>>where
S::NamePrefix: IsUnset,
pub fn maybe_name_prefix(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchConfigurationArgsBuilder<SetNamePrefix<S>>where
S::NamePrefix: IsUnset,
sourcepub fn placement_tenancy(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchConfigurationArgsBuilder<SetPlacementTenancy<S>>where
S::PlacementTenancy: IsUnset,
pub fn placement_tenancy(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchConfigurationArgsBuilder<SetPlacementTenancy<S>>where
S::PlacementTenancy: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The tenancy of the instance. Valid values are default
or dedicated
, see AWS’s Create Launch Configuration for more details.
sourcepub fn maybe_placement_tenancy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchConfigurationArgsBuilder<SetPlacementTenancy<S>>where
S::PlacementTenancy: IsUnset,
pub fn maybe_placement_tenancy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchConfigurationArgsBuilder<SetPlacementTenancy<S>>where
S::PlacementTenancy: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The tenancy of the instance. Valid values are default
or dedicated
, see AWS’s Create Launch Configuration for more details.
sourcepub fn root_block_device(
self,
value: impl Into<Output<Option<LaunchConfigurationRootBlockDevice>>>,
) -> LaunchConfigurationArgsBuilder<SetRootBlockDevice<S>>where
S::RootBlockDevice: IsUnset,
pub fn root_block_device(
self,
value: impl Into<Output<Option<LaunchConfigurationRootBlockDevice>>>,
) -> LaunchConfigurationArgsBuilder<SetRootBlockDevice<S>>where
S::RootBlockDevice: IsUnset,
sourcepub fn maybe_root_block_device(
self,
value: Option<impl Into<Output<Option<LaunchConfigurationRootBlockDevice>>>>,
) -> LaunchConfigurationArgsBuilder<SetRootBlockDevice<S>>where
S::RootBlockDevice: IsUnset,
pub fn maybe_root_block_device(
self,
value: Option<impl Into<Output<Option<LaunchConfigurationRootBlockDevice>>>>,
) -> LaunchConfigurationArgsBuilder<SetRootBlockDevice<S>>where
S::RootBlockDevice: IsUnset,
sourcepub fn security_groups(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> LaunchConfigurationArgsBuilder<SetSecurityGroups<S>>where
S::SecurityGroups: IsUnset,
pub fn security_groups(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> LaunchConfigurationArgsBuilder<SetSecurityGroups<S>>where
S::SecurityGroups: IsUnset,
sourcepub fn maybe_security_groups(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> LaunchConfigurationArgsBuilder<SetSecurityGroups<S>>where
S::SecurityGroups: IsUnset,
pub fn maybe_security_groups(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> LaunchConfigurationArgsBuilder<SetSecurityGroups<S>>where
S::SecurityGroups: IsUnset,
sourcepub fn spot_price(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchConfigurationArgsBuilder<SetSpotPrice<S>>where
S::SpotPrice: IsUnset,
pub fn spot_price(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchConfigurationArgsBuilder<SetSpotPrice<S>>where
S::SpotPrice: IsUnset,
sourcepub fn maybe_spot_price(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchConfigurationArgsBuilder<SetSpotPrice<S>>where
S::SpotPrice: IsUnset,
pub fn maybe_spot_price(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchConfigurationArgsBuilder<SetSpotPrice<S>>where
S::SpotPrice: IsUnset,
sourcepub fn user_data(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchConfigurationArgsBuilder<SetUserData<S>>where
S::UserData: IsUnset,
pub fn user_data(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchConfigurationArgsBuilder<SetUserData<S>>where
S::UserData: IsUnset,
sourcepub fn maybe_user_data(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchConfigurationArgsBuilder<SetUserData<S>>where
S::UserData: IsUnset,
pub fn maybe_user_data(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchConfigurationArgsBuilder<SetUserData<S>>where
S::UserData: IsUnset,
sourcepub fn user_data_base64(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchConfigurationArgsBuilder<SetUserDataBase64<S>>where
S::UserDataBase64: IsUnset,
pub fn user_data_base64(
self,
value: impl Into<Output<Option<String>>>,
) -> LaunchConfigurationArgsBuilder<SetUserDataBase64<S>>where
S::UserDataBase64: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
sourcepub fn maybe_user_data_base64(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchConfigurationArgsBuilder<SetUserDataBase64<S>>where
S::UserDataBase64: IsUnset,
pub fn maybe_user_data_base64(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> LaunchConfigurationArgsBuilder<SetUserDataBase64<S>>where
S::UserDataBase64: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.