GetInstancesArgs class
Arguments for getInstances. Arguments for getInstances.
Constructors
-
GetInstancesArgs({Input<
List< ? filters, Input<GetInstancesFilter> ?>List< ? instanceStateNames, Input<String> ?>Map< ? instanceTags, Input<String, String> ?>String?> ? region}) -
Creates a new GetInstancesArgs.
filtersOne or more filters to apply to the search.instanceStateNamesList of instance states that should be applicable to the desired instances. The permitted values are:pending, running, shutting-down, stopped, stopping, terminated. The default value isrunning.instanceTagsMap of tags, each pair of which mustregionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.const -
GetInstancesArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
filters
→ Input<
List< ?GetInstancesFilter> ?> -
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 - hashCode → int
-
The hash code for this object.
no setterinherited
-
instanceStateNames
→ Input<
List< ?String> ?> -
List of instance states that should be applicable to the desired instances. The permitted values are:
pending, running, shutting-down, stopped, stopping, terminated. The default value isrunning.final -
instanceTags
→ Input<
Map< ?String, String> ?> -
Map of tags, each pair of which must
exactly match a pair on desired instances.
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
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