GetInstanceArgs class

Arguments for getInstance. Arguments for getInstance.

Constructors

GetInstanceArgs({Input<List<GetInstanceFilter>?>? filters, Input<bool?>? getPasswordData, Input<bool?>? getUserData, Input<String?>? instanceId, Input<Map<String, String>?>? instanceTags, Input<String?>? region, Input<Map<String, String>?>? tags})
Creates a new GetInstanceArgs. filters One or more filters to apply to the search. getPasswordData If true, wait for password data to become available and retrieve it. Useful for getting the administrator password for instances running Microsoft Windows. The password data is exported to the passwordData attribute. See GetPasswordData for more information. getUserData Retrieve Base64 encoded User Data contents into the userDataBase64 attribute. A SHA-1 hash of the User Data contents will always be present in the userData attribute. Defaults to false. instanceId Specify the exact Instance ID with which to populate the data source. instanceTags Map of tags, each pair of which must region Region where this resource will be managed. Defaults to the Region set in the provider configuration. tags Map of tags assigned to the Instance.
const
GetInstanceArgs.fromMap(Map<String, dynamic> map)
factory

Properties

filters → Input<List<GetInstanceFilter>?>?
One or more filters to apply to the search. If multiple filter blocks are provided, they all must be true. For a full reference of filter names, see describe-instances in the AWS CLI reference. See filter Block below.
final
getPasswordData → Input<bool?>?
If true, wait for password data to become available and retrieve it. Useful for getting the administrator password for instances running Microsoft Windows. The password data is exported to the passwordData attribute. See GetPasswordData for more information.
final
getUserData → Input<bool?>?
Retrieve Base64 encoded User Data contents into the userDataBase64 attribute. A SHA-1 hash of the User Data contents will always be present in the userData attribute. Defaults to false.
final
hashCode → int
The hash code for this object.
no setterinherited
instanceId → Input<String?>?
Specify the exact Instance ID with which to populate the data source.
final
instanceTags → Input<Map<String, String>?>?
Map of tags, each pair of which must exactly match a pair on the desired Instance.
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
tags → Input<Map<String, String>?>?
Map of tags assigned to the Instance.
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