AmiFromInstanceArgs class
The set of arguments for AmiFromInstance. The set of arguments for AmiFromInstance.
Constructors
-
AmiFromInstanceArgs({Input<
String?> ? deprecationTime, Input<String?> ? description, Input<List< ? ebsBlockDevices, Input<AmiFromInstanceEbsBlockDevice> ?>List< ? ephemeralBlockDevices, Input<AmiFromInstanceEphemeralBlockDevice> ?>String?> ? name, Input<String?> ? region, Input<bool?> ? snapshotWithoutReboot, required Input<String> sourceInstanceId, Input<Map< ? tags})String, String> ?> -
Creates a new AmiFromInstanceArgs.
deprecationTimeDate 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)descriptionLonger, human-readable description for the AMI.ebsBlockDevicesNested block describing an EBS block device that should beephemeralBlockDevicesNested block describing an ephemeral block device thatnameRegion-unique name for the AMI.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.snapshotWithoutRebootBoolean that overrides the behavior of stoppingsourceInstanceIdID of the instance to use as the basis of the AMI.tagsMap of tags to assign to the resource. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.const -
AmiFromInstanceArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
deprecationTime
→ Input<
String?> ? -
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)final -
description
→ Input<
String?> ? -
Longer, human-readable description for the AMI.
final
-
ebsBlockDevices
→ Input<
List< ?AmiFromInstanceEbsBlockDevice> ?> -
Nested block describing an EBS block device that should be
attached to created instances. The structure of this block is described below.
final
-
ephemeralBlockDevices
→ Input<
List< ?AmiFromInstanceEphemeralBlockDevice> ?> -
Nested block describing an ephemeral block device that
should be attached to created instances. The structure of this block is described below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
Region-unique name for the AMI.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
snapshotWithoutReboot
→ Input<
bool?> ? -
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.
final
-
sourceInstanceId
→ Input<
String> -
ID of the instance to use as the basis of the AMI.
final
-
Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited