GetAmiIdsPlainArgs

data class GetAmiIdsPlainArgs(val executableUsers: List<String>? = null, val filters: List<GetAmiIdsFilter>? = null, val includeDeprecated: Boolean? = null, val nameRegex: String? = null, val owners: List<String>, val sortAscending: Boolean? = null) : ConvertibleToJava<GetAmiIdsPlainArgs>

A collection of arguments for invoking getAmiIds.

Constructors

Link copied to clipboard
constructor(executableUsers: List<String>? = null, filters: List<GetAmiIdsFilter>? = null, includeDeprecated: Boolean? = null, nameRegex: String? = null, owners: List<String>, sortAscending: Boolean? = null)

Properties

Link copied to clipboard

Limit search to users with explicit launch permission on the image. Valid items are the numeric account ID or self.

Link copied to clipboard

One or more name/value pairs to filter off of. There are several valid keys, for a full reference, check out 1.

Link copied to clipboard

If true, all deprecated AMIs are included in the response. If false, no deprecated AMIs are included in the response. If no value is specified, the default value is false.

Link copied to clipboard
val nameRegex: String? = null

Regex string to apply to the AMI list returned by AWS. This allows more advanced filtering not supported from the AWS API. This filtering is done locally on what AWS returns, and could have a performance impact if the result is large. Combine this with other options to narrow down the list AWS returns.

Link copied to clipboard

List of AMI owners to limit search. At least 1 value must be specified. Valid values: an AWS account ID, self (the current account), or an AWS owner alias (e.g., amazon, aws-marketplace, microsoft).

Link copied to clipboard
val sortAscending: Boolean? = null

Used to sort AMIs by creation time. If no value is specified, the default value is false.

Functions

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