ImageTemplateShellCustomizerArgs

data class ImageTemplateShellCustomizerArgs(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<ImageTemplateShellCustomizerArgs>

Runs a shell script during the customization 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 customization step does

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

URI of the shell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, 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 customization tool you want to use on the Image. For example, "Shell" can be shell customizer Expected value is 'Shell'.

Functions

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