pub struct AmiArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> AmiArgsBuilder<S>
impl<S: State> AmiArgsBuilder<S>
sourcepub fn build_struct(self) -> AmiArgswhere
S: IsComplete,
pub fn build_struct(self) -> AmiArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn architecture(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetArchitecture<S>>where
S::Architecture: IsUnset,
pub fn architecture(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetArchitecture<S>>where
S::Architecture: IsUnset,
sourcepub fn maybe_architecture(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetArchitecture<S>>where
S::Architecture: IsUnset,
pub fn maybe_architecture(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetArchitecture<S>>where
S::Architecture: IsUnset,
sourcepub fn boot_mode(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetBootMode<S>>where
S::BootMode: IsUnset,
pub fn boot_mode(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetBootMode<S>>where
S::BootMode: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Boot mode of the AMI. For more information, see Boot modes in the Amazon Elastic Compute Cloud User Guide.
sourcepub fn maybe_boot_mode(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetBootMode<S>>where
S::BootMode: IsUnset,
pub fn maybe_boot_mode(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetBootMode<S>>where
S::BootMode: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Boot mode of the AMI. For more information, see Boot modes in the Amazon Elastic Compute Cloud User Guide.
sourcepub fn deprecation_time(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetDeprecationTime<S>>where
S::DeprecationTime: IsUnset,
pub fn deprecation_time(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetDeprecationTime<S>>where
S::DeprecationTime: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Date and time to deprecate the AMI. If you specified a value for seconds, Amazon EC2 rounds the seconds to the nearest minute. Valid values: RFC3339 time string (YYYY-MM-DDTHH:MM:SSZ
)
sourcepub fn maybe_deprecation_time(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetDeprecationTime<S>>where
S::DeprecationTime: IsUnset,
pub fn maybe_deprecation_time(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetDeprecationTime<S>>where
S::DeprecationTime: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Date and time to deprecate the AMI. If you specified a value for seconds, Amazon EC2 rounds the seconds to the nearest minute. Valid values: RFC3339 time string (YYYY-MM-DDTHH:MM:SSZ
)
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn ebs_block_devices(
self,
value: impl Into<Output<Option<Vec<AmiEbsBlockDevice>>>>,
) -> AmiArgsBuilder<SetEbsBlockDevices<S>>where
S::EbsBlockDevices: IsUnset,
pub fn ebs_block_devices(
self,
value: impl Into<Output<Option<Vec<AmiEbsBlockDevice>>>>,
) -> AmiArgsBuilder<SetEbsBlockDevices<S>>where
S::EbsBlockDevices: IsUnset,
sourcepub fn maybe_ebs_block_devices(
self,
value: Option<impl Into<Output<Option<Vec<AmiEbsBlockDevice>>>>>,
) -> AmiArgsBuilder<SetEbsBlockDevices<S>>where
S::EbsBlockDevices: IsUnset,
pub fn maybe_ebs_block_devices(
self,
value: Option<impl Into<Output<Option<Vec<AmiEbsBlockDevice>>>>>,
) -> AmiArgsBuilder<SetEbsBlockDevices<S>>where
S::EbsBlockDevices: IsUnset,
sourcepub fn ena_support(
self,
value: impl Into<Output<Option<bool>>>,
) -> AmiArgsBuilder<SetEnaSupport<S>>where
S::EnaSupport: IsUnset,
pub fn ena_support(
self,
value: impl Into<Output<Option<bool>>>,
) -> AmiArgsBuilder<SetEnaSupport<S>>where
S::EnaSupport: IsUnset,
sourcepub fn maybe_ena_support(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> AmiArgsBuilder<SetEnaSupport<S>>where
S::EnaSupport: IsUnset,
pub fn maybe_ena_support(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> AmiArgsBuilder<SetEnaSupport<S>>where
S::EnaSupport: IsUnset,
sourcepub fn ephemeral_block_devices(
self,
value: impl Into<Output<Option<Vec<AmiEphemeralBlockDevice>>>>,
) -> AmiArgsBuilder<SetEphemeralBlockDevices<S>>where
S::EphemeralBlockDevices: IsUnset,
pub fn ephemeral_block_devices(
self,
value: impl Into<Output<Option<Vec<AmiEphemeralBlockDevice>>>>,
) -> AmiArgsBuilder<SetEphemeralBlockDevices<S>>where
S::EphemeralBlockDevices: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::ec2::AmiEphemeralBlockDevice>>,
> as Default>::default()
Nested block describing an ephemeral block device that should be attached to created instances. The structure of this block is described below.
sourcepub fn maybe_ephemeral_block_devices(
self,
value: Option<impl Into<Output<Option<Vec<AmiEphemeralBlockDevice>>>>>,
) -> AmiArgsBuilder<SetEphemeralBlockDevices<S>>where
S::EphemeralBlockDevices: IsUnset,
pub fn maybe_ephemeral_block_devices(
self,
value: Option<impl Into<Output<Option<Vec<AmiEphemeralBlockDevice>>>>>,
) -> AmiArgsBuilder<SetEphemeralBlockDevices<S>>where
S::EphemeralBlockDevices: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::ec2::AmiEphemeralBlockDevice>>,
> as Default>::default()
Nested block describing an ephemeral block device that should be attached to created instances. The structure of this block is described below.
sourcepub fn image_location(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetImageLocation<S>>where
S::ImageLocation: IsUnset,
pub fn image_location(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetImageLocation<S>>where
S::ImageLocation: IsUnset,
sourcepub fn maybe_image_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetImageLocation<S>>where
S::ImageLocation: IsUnset,
pub fn maybe_image_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetImageLocation<S>>where
S::ImageLocation: IsUnset,
sourcepub fn imds_support(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetImdsSupport<S>>where
S::ImdsSupport: IsUnset,
pub fn imds_support(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetImdsSupport<S>>where
S::ImdsSupport: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
If EC2 instances started from this image should require the use of the Instance Metadata Service V2 (IMDSv2), set this argument to v2.0
. For more information, see Configure instance metadata options for new instances.
sourcepub fn maybe_imds_support(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetImdsSupport<S>>where
S::ImdsSupport: IsUnset,
pub fn maybe_imds_support(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetImdsSupport<S>>where
S::ImdsSupport: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
If EC2 instances started from this image should require the use of the Instance Metadata Service V2 (IMDSv2), set this argument to v2.0
. For more information, see Configure instance metadata options for new instances.
sourcepub fn kernel_id(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetKernelId<S>>where
S::KernelId: IsUnset,
pub fn kernel_id(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetKernelId<S>>where
S::KernelId: IsUnset,
sourcepub fn maybe_kernel_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetKernelId<S>>where
S::KernelId: IsUnset,
pub fn maybe_kernel_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetKernelId<S>>where
S::KernelId: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn ramdisk_id(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetRamdiskId<S>>where
S::RamdiskId: IsUnset,
pub fn ramdisk_id(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetRamdiskId<S>>where
S::RamdiskId: IsUnset,
sourcepub fn maybe_ramdisk_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetRamdiskId<S>>where
S::RamdiskId: IsUnset,
pub fn maybe_ramdisk_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetRamdiskId<S>>where
S::RamdiskId: IsUnset,
sourcepub fn root_device_name(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetRootDeviceName<S>>where
S::RootDeviceName: IsUnset,
pub fn root_device_name(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetRootDeviceName<S>>where
S::RootDeviceName: IsUnset,
sourcepub fn maybe_root_device_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetRootDeviceName<S>>where
S::RootDeviceName: IsUnset,
pub fn maybe_root_device_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetRootDeviceName<S>>where
S::RootDeviceName: IsUnset,
sourcepub fn sriov_net_support(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetSriovNetSupport<S>>where
S::SriovNetSupport: IsUnset,
pub fn sriov_net_support(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetSriovNetSupport<S>>where
S::SriovNetSupport: IsUnset,
sourcepub fn maybe_sriov_net_support(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetSriovNetSupport<S>>where
S::SriovNetSupport: IsUnset,
pub fn maybe_sriov_net_support(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetSriovNetSupport<S>>where
S::SriovNetSupport: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
Map of tags to assign to the resource. 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()
Map of tags to assign to the resource. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
sourcepub fn tpm_support(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetTpmSupport<S>>where
S::TpmSupport: IsUnset,
pub fn tpm_support(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetTpmSupport<S>>where
S::TpmSupport: IsUnset,
sourcepub fn maybe_tpm_support(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetTpmSupport<S>>where
S::TpmSupport: IsUnset,
pub fn maybe_tpm_support(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetTpmSupport<S>>where
S::TpmSupport: IsUnset,
sourcepub fn virtualization_type(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetVirtualizationType<S>>where
S::VirtualizationType: IsUnset,
pub fn virtualization_type(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiArgsBuilder<SetVirtualizationType<S>>where
S::VirtualizationType: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Keyword to choose what virtualization mode created instances will use. Can be either “paravirtual” (the default) or “hvm”. The choice of virtualization type changes the set of further arguments that are required, as described below.
sourcepub fn maybe_virtualization_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetVirtualizationType<S>>where
S::VirtualizationType: IsUnset,
pub fn maybe_virtualization_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiArgsBuilder<SetVirtualizationType<S>>where
S::VirtualizationType: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Keyword to choose what virtualization mode created instances will use. Can be either “paravirtual” (the default) or “hvm”. The choice of virtualization type changes the set of further arguments that are required, as described below.