AmiFromInstanceState class

Input properties used for looking up and filtering AmiFromInstance resources.

Constructors

AmiFromInstanceState({Input<String?>? architecture, Input<String?>? arn, Input<String?>? bootMode, Input<String?>? deprecationTime, Input<String?>? description, Input<List<AmiFromInstanceEbsBlockDevice>?>? ebsBlockDevices, Input<bool?>? enaSupport, Input<List<AmiFromInstanceEphemeralBlockDevice>?>? ephemeralBlockDevices, Input<String?>? hypervisor, Input<String?>? imageLocation, Input<String?>? imageOwnerAlias, Input<String?>? imageType, Input<String?>? imdsSupport, Input<String?>? kernelId, Input<String?>? lastLaunchedTime, Input<bool?>? manageEbsSnapshots, Input<String?>? name, Input<String?>? ownerId, Input<String?>? platform, Input<String?>? platformDetails, Input<bool?>? public, Input<String?>? ramdiskId, Input<String?>? region, Input<String?>? rootDeviceName, Input<String?>? rootSnapshotId, Input<bool?>? snapshotWithoutReboot, Input<String?>? sourceInstanceId, Input<String?>? sriovNetSupport, Input<Map<String, String>?>? tags, Input<Map<String, String>?>? tagsAll, Input<String?>? tpmSupport, Input<String?>? uefiData, Input<String?>? usageOperation, Input<String?>? virtualizationType})
Creates a new AmiFromInstanceState. architecture Machine architecture for created instances. Defaults to x8664. arn ARN of the AMI. bootMode Boot mode of the AMI. For more information, see Boot modes in the EC2 User Guide. deprecationTime 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) description Longer, human-readable description for the AMI. ebsBlockDevices Nested block describing an EBS block device that should be enaSupport Whether enhanced networking with ENA is enabled. Defaults to false. ephemeralBlockDevices Nested block describing an ephemeral block device that hypervisor Optional. imageLocation Path to an S3 object containing an image manifest, e.g., created imageOwnerAlias Optional. imageType Optional. imdsSupport 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. kernelId ID of the kernel image (AKI) that will be used as the paravirtual lastLaunchedTime Date and time, in ISO 8601 date-time format , when the AMI was last used to launch an EC2 instance. When the AMI is used to launch an instance, there is a 24-hour delay before that usage is reported. For more information, see the following AWS document. manageEbsSnapshots Optional. name Region-unique name for the AMI. ownerId Optional. platform Optional. platformDetails Optional. public Optional. ramdiskId ID of an initrd image (ARI) that will be used when booting the region Region where this resource will be managed. Defaults to the Region set in the provider configuration. rootDeviceName Name of the root device (for example, /dev/sda1, or /dev/xvda). rootSnapshotId Optional. snapshotWithoutReboot Boolean that overrides the behavior of stopping sourceInstanceId ID of the instance to use as the basis of the AMI. sriovNetSupport When set to "simple" (the default), enables enhanced networking tags Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll Optional. tpmSupport If the image is configured for NitroTPM support, the value is v2.0. For more information, see NitroTPM in the EC2 User Guide. uefiData Base64 representation of the non-volatile UEFI variable store. usageOperation Optional. virtualizationType Keyword to choose what virtualization mode created instances
const
AmiFromInstanceState.fromMap(Map<String, dynamic> map)
factory

Properties

architecture → Input<String?>?
Machine architecture for created instances. Defaults to x8664.
final
arn → Input<String?>?
ARN of the AMI.
final
bootMode → Input<String?>?
Boot mode of the AMI. For more information, see Boot modes in the EC2 User Guide.
final
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
enaSupport → Input<bool?>?
Whether enhanced networking with ENA is enabled. Defaults to false.
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
hypervisor → Input<String?>?
final
imageLocation → Input<String?>?
Path to an S3 object containing an image manifest, e.g., created by the ec2-upload-bundle command in the EC2 command line tools.
final
imageOwnerAlias → Input<String?>?
final
imageType → Input<String?>?
final
imdsSupport → Input<String?>?
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.
final
kernelId → Input<String?>?
ID of the kernel image (AKI) that will be used as the paravirtual kernel in created instances.
final
lastLaunchedTime → Input<String?>?
Date and time, in ISO 8601 date-time format , when the AMI was last used to launch an EC2 instance. When the AMI is used to launch an instance, there is a 24-hour delay before that usage is reported. For more information, see the following AWS document.
final
manageEbsSnapshots → Input<bool?>?
final
name → Input<String?>?
Region-unique name for the AMI.
final
ownerId → Input<String?>?
final
platform → Input<String?>?
final
platformDetails → Input<String?>?
final
public → Input<bool?>?
final
ramdiskId → Input<String?>?
ID of an initrd image (ARI) that will be used when booting the created instances.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
rootDeviceName → Input<String?>?
Name of the root device (for example, /dev/sda1, or /dev/xvda).
final
rootSnapshotId → Input<String?>?
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
sriovNetSupport → Input<String?>?
When set to "simple" (the default), enables enhanced networking for created instances. No other value is supported at this time.
final
tags → Input<Map<String, String>?>?
Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
tagsAll → Input<Map<String, String>?>?
final
tpmSupport → Input<String?>?
If the image is configured for NitroTPM support, the value is v2.0. For more information, see NitroTPM in the EC2 User Guide.
final
uefiData → Input<String?>?
Base64 representation of the non-volatile UEFI variable store.
final
usageOperation → Input<String?>?
final
virtualizationType → Input<String?>?
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.
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