GetInstancesPlainArgs

data class GetInstancesPlainArgs(val filters: List<GetInstancesFilter>? = null, val instanceStateNames: List<String>? = null, val instanceTags: Map<String, String>? = null) : ConvertibleToJava<GetInstancesPlainArgs>

A collection of arguments for invoking getInstances.

Constructors

Link copied to clipboard
constructor(filters: List<GetInstancesFilter>? = null, instanceStateNames: List<String>? = null, instanceTags: Map<String, String>? = null)

Properties

Link copied to clipboard

One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out 1.

Link copied to clipboard

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 is running.

Link copied to clipboard
val instanceTags: Map<String, String>? = null

Map of tags, each pair of which must exactly match a pair on desired instances.

Functions

Link copied to clipboard
open override fun toJava(): GetInstancesPlainArgs