GetInstanceArgs class
Arguments for getInstance. Arguments for getInstance.
Constructors
-
GetInstanceArgs({Input<
List< ? filters, Input<GetInstanceFilter> ?>bool?> ? getPasswordData, Input<bool?> ? getUserData, Input<String?> ? instanceId, Input<Map< ? instanceTags, Input<String, String> ?>String?> ? region, Input<Map< ? tags})String, String> ?> -
Creates a new GetInstanceArgs.
filtersOne or more filters to apply to the search.getPasswordDataIf 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 thepasswordDataattribute. See GetPasswordData for more information.getUserDataRetrieve Base64 encoded User Data contents into theuserDataBase64attribute. A SHA-1 hash of the User Data contents will always be present in theuserDataattribute. Defaults tofalse.instanceIdSpecify the exact Instance ID with which to populate the data source.instanceTagsMap of tags, each pair of which mustregionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.tagsMap 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
filterblocks are provided, they all must be true. For a full reference of filter names, see describe-instances in the AWS CLI reference. SeefilterBlock 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
passwordDataattribute. See GetPasswordData for more information.final -
getUserData
→ Input<
bool?> ? -
Retrieve Base64 encoded User Data contents into the
userDataBase64attribute. A SHA-1 hash of the User Data contents will always be present in theuserDataattribute. Defaults tofalse.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
-
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