@Stability(value=Experimental) @Internal public static final class LocalExecProvisioner.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LocalExecProvisioner
LocalExecProvisioner
software.amazon.jsii.JsiiObject.InitializationMode
LocalExecProvisioner.Builder, LocalExecProvisioner.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(LocalExecProvisioner.Builder builder)
Constructor that initializes the object based on literal property values passed by the
LocalExecProvisioner.Builder . |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getCommand()
(experimental) This is the command to execute.
|
Map<String,String> |
getEnvironment()
(experimental) A record of key value pairs representing the environment of the executed command.
|
List<String> |
getInterpreter()
(experimental) If provided, this is a list of interpreter arguments used to execute the command.
|
String |
getType() |
String |
getWhen()
(experimental) If provided, specifies when Terraform will execute the command.
|
String |
getWorkingDir()
(experimental) If provided, specifies the working directory where command will be executed.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.protected Jsii$Proxy(LocalExecProvisioner.Builder builder)
LocalExecProvisioner.Builder
.public final String getCommand()
LocalExecProvisioner
It can be provided as a relative path to the current working directory or as an absolute path. It is evaluated in a shell, and can use environment variables or Terraform variables.
getCommand
in interface LocalExecProvisioner
public final String getType()
getType
in interface LocalExecProvisioner
public final Map<String,String> getEnvironment()
LocalExecProvisioner
It inherits the current process environment.
getEnvironment
in interface LocalExecProvisioner
public final List<String> getInterpreter()
LocalExecProvisioner
The first argument is the interpreter itself. It can be provided as a relative path to the current working directory or as an absolute path The remaining arguments are appended prior to the command. This allows building command lines of the form "/bin/bash", "-c", "echo foo". If interpreter is unspecified, sensible defaults will be chosen based on the system OS.
getInterpreter
in interface LocalExecProvisioner
public final String getWhen()
LocalExecProvisioner
For example, when = destroy specifies that the provisioner will run when the associated resource is destroyed
getWhen
in interface LocalExecProvisioner
public final String getWorkingDir()
LocalExecProvisioner
It can be provided as a relative path to the current working directory or as an absolute path. The directory must exist.
getWorkingDir
in interface LocalExecProvisioner
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2023. All rights reserved.