GetImagePlainArgs

data class GetImagePlainArgs(val arn: String? = null, val mostRecent: Boolean? = null, val name: String? = null, val nameRegex: String? = null, val type: String? = null) : ConvertibleToJava<GetImagePlainArgs>

A collection of arguments for invoking getImage.

Constructors

Link copied to clipboard
constructor(arn: String? = null, mostRecent: Boolean? = null, name: String? = null, nameRegex: String? = null, type: String? = null)

Properties

Link copied to clipboard
val arn: String? = null

Arn of the image being searched for. Cannot be used with name_regex or name.

Link copied to clipboard
val mostRecent: Boolean? = null

Boolean that if it is set to true and there are multiple images returned the most recent will be returned. If it is set to false and there are multiple images return the datasource will error.

Link copied to clipboard
val name: String? = null

Name of the image being searched for. Cannot be used with name_regex or arn.

Link copied to clipboard
val nameRegex: String? = null

Regular expression name of the image being searched for. Cannot be used with arn or name.

Link copied to clipboard
val type: String? = null

The type of image which must be (PUBLIC, PRIVATE, or SHARED).

Functions

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