InventoryFilter

One or more filters. Use a filter to return a more specific list of results.

Example formats for the aws ssm get-inventory command:

--filters Key=AWS:InstanceInformation.AgentType,Values=amazon-ssm-agent,Type=Equal

--filters Key=AWS:InstanceInformation.AgentVersion,Values=3.3.2299.0,Type=Equal

--filters Key=AWS:InstanceInformation.ComputerName,Values=ip-192.0.2.0.us-east-2.compute.internal,Type=Equal

--filters Key=AWS:InstanceInformation.InstanceId,Values=i-0a4cd6ceffEXAMPLE,i-1a2b3c4d5e6EXAMPLE,Type=Equal

--filters Key=AWS:InstanceInformation.InstanceStatus,Values=Active,Type=Equal

--filters Key=AWS:InstanceInformation.IpAddress,Values=198.51.100.0,Type=Equal

--filters Key=AWS:InstanceInformation.PlatformName,Values="Amazon Linux",Type=Equal

--filters Key=AWS:InstanceInformation.PlatformType,Values=Linux,Type=Equal

--filters Key=AWS:InstanceInformation.PlatformVersion,Values=2023,Type=BeginWith

--filters Key=AWS:InstanceInformation.ResourceType,Values=EC2Instance,Type=Equal

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val key: String

The name of the filter key.

Link copied to clipboard

The type of filter.

Link copied to clipboard

Inventory filter values.

Functions

Link copied to clipboard
inline fun copy(block: InventoryFilter.Builder.() -> Unit = {}): InventoryFilter
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String