ImageTemplateShellValidatorArgs

data class ImageTemplateShellValidatorArgs(val inline: Output<List<String>>? = null, val name: Output<String>? = null, val scriptUri: Output<String>? = null, val sha256Checksum: Output<String>? = null, val type: Output<String>) : ConvertibleToJava<ImageTemplateShellValidatorArgs>

Runs the specified shell script during the validation phase (Linux). Corresponds to Packer shell provisioner. Exactly one of 'scriptUri' or 'inline' can be specified.

Constructors

Link copied to clipboard
constructor(inline: Output<List<String>>? = null, name: Output<String>? = null, scriptUri: Output<String>? = null, sha256Checksum: Output<String>? = null, type: Output<String>)

Properties

Link copied to clipboard
val inline: Output<List<String>>? = null

Array of shell commands to execute

Link copied to clipboard
val name: Output<String>? = null

Friendly Name to provide context on what this validation step does

Link copied to clipboard
val scriptUri: Output<String>? = null

URI of the shell script to be run for validation. It can be a github link, Azure Storage URI, etc

Link copied to clipboard
val sha256Checksum: Output<String>? = null

SHA256 checksum of the shell script provided in the scriptUri field

Link copied to clipboard
val type: Output<String>

The type of validation you want to use on the Image. For example, "Shell" can be shell validation Expected value is 'Shell'.

Functions

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