pub struct AmiFromInstanceArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> AmiFromInstanceArgsBuilder<S>
impl<S: State> AmiFromInstanceArgsBuilder<S>
sourcepub fn build_struct(self) -> AmiFromInstanceArgswhere
S: IsComplete,
pub fn build_struct(self) -> AmiFromInstanceArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn deprecation_time(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiFromInstanceArgsBuilder<SetDeprecationTime<S>>where
S::DeprecationTime: IsUnset,
pub fn deprecation_time(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiFromInstanceArgsBuilder<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>>>>,
) -> AmiFromInstanceArgsBuilder<SetDeprecationTime<S>>where
S::DeprecationTime: IsUnset,
pub fn maybe_deprecation_time(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiFromInstanceArgsBuilder<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>>>,
) -> AmiFromInstanceArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiFromInstanceArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiFromInstanceArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiFromInstanceArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn ebs_block_devices(
self,
value: impl Into<Output<Option<Vec<AmiFromInstanceEbsBlockDevice>>>>,
) -> AmiFromInstanceArgsBuilder<SetEbsBlockDevices<S>>where
S::EbsBlockDevices: IsUnset,
pub fn ebs_block_devices(
self,
value: impl Into<Output<Option<Vec<AmiFromInstanceEbsBlockDevice>>>>,
) -> AmiFromInstanceArgsBuilder<SetEbsBlockDevices<S>>where
S::EbsBlockDevices: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::ec2::AmiFromInstanceEbsBlockDevice>>,
> as Default>::default()
Nested block describing an EBS block device that should be attached to created instances. The structure of this block is described below.
sourcepub fn maybe_ebs_block_devices(
self,
value: Option<impl Into<Output<Option<Vec<AmiFromInstanceEbsBlockDevice>>>>>,
) -> AmiFromInstanceArgsBuilder<SetEbsBlockDevices<S>>where
S::EbsBlockDevices: IsUnset,
pub fn maybe_ebs_block_devices(
self,
value: Option<impl Into<Output<Option<Vec<AmiFromInstanceEbsBlockDevice>>>>>,
) -> AmiFromInstanceArgsBuilder<SetEbsBlockDevices<S>>where
S::EbsBlockDevices: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::ec2::AmiFromInstanceEbsBlockDevice>>,
> as Default>::default()
Nested block describing an EBS block device that should be attached to created instances. The structure of this block is described below.
sourcepub fn ephemeral_block_devices(
self,
value: impl Into<Output<Option<Vec<AmiFromInstanceEphemeralBlockDevice>>>>,
) -> AmiFromInstanceArgsBuilder<SetEphemeralBlockDevices<S>>where
S::EphemeralBlockDevices: IsUnset,
pub fn ephemeral_block_devices(
self,
value: impl Into<Output<Option<Vec<AmiFromInstanceEphemeralBlockDevice>>>>,
) -> AmiFromInstanceArgsBuilder<SetEphemeralBlockDevices<S>>where
S::EphemeralBlockDevices: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::ec2::AmiFromInstanceEphemeralBlockDevice>>,
> 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<AmiFromInstanceEphemeralBlockDevice>>>>>,
) -> AmiFromInstanceArgsBuilder<SetEphemeralBlockDevices<S>>where
S::EphemeralBlockDevices: IsUnset,
pub fn maybe_ephemeral_block_devices(
self,
value: Option<impl Into<Output<Option<Vec<AmiFromInstanceEphemeralBlockDevice>>>>>,
) -> AmiFromInstanceArgsBuilder<SetEphemeralBlockDevices<S>>where
S::EphemeralBlockDevices: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::ec2::AmiFromInstanceEphemeralBlockDevice>>,
> 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 name(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiFromInstanceArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> AmiFromInstanceArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiFromInstanceArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AmiFromInstanceArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn snapshot_without_reboot(
self,
value: impl Into<Output<Option<bool>>>,
) -> AmiFromInstanceArgsBuilder<SetSnapshotWithoutReboot<S>>where
S::SnapshotWithoutReboot: IsUnset,
pub fn snapshot_without_reboot(
self,
value: impl Into<Output<Option<bool>>>,
) -> AmiFromInstanceArgsBuilder<SetSnapshotWithoutReboot<S>>where
S::SnapshotWithoutReboot: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Boolean that overrides the behavior of stopping the instance before snapshotting. This is risky since it may cause a snapshot of an inconsistent filesystem state, but can be used to avoid downtime if the user otherwise guarantees that no filesystem writes will be underway at the time of snapshot.
sourcepub fn maybe_snapshot_without_reboot(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> AmiFromInstanceArgsBuilder<SetSnapshotWithoutReboot<S>>where
S::SnapshotWithoutReboot: IsUnset,
pub fn maybe_snapshot_without_reboot(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> AmiFromInstanceArgsBuilder<SetSnapshotWithoutReboot<S>>where
S::SnapshotWithoutReboot: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Boolean that overrides the behavior of stopping the instance before snapshotting. This is risky since it may cause a snapshot of an inconsistent filesystem state, but can be used to avoid downtime if the user otherwise guarantees that no filesystem writes will be underway at the time of snapshot.
sourcepub fn source_instance_id(
self,
value: impl Into<Output<String>>,
) -> AmiFromInstanceArgsBuilder<SetSourceInstanceId<S>>where
S::SourceInstanceId: IsUnset,
pub fn source_instance_id(
self,
value: impl Into<Output<String>>,
) -> AmiFromInstanceArgsBuilder<SetSourceInstanceId<S>>where
S::SourceInstanceId: IsUnset,
Required.
ID of the instance to use as the basis of the AMI.
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.