Class LocalExecProvisioner.Jsii$Proxy
- All Implemented Interfaces:
LocalExecProvisioner,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
LocalExecProvisioner
LocalExecProvisioner-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface com.hashicorp.cdktf.LocalExecProvisioner
LocalExecProvisioner.Builder, LocalExecProvisioner.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(LocalExecProvisioner.Builder builder) Constructor that initializes the object based on literal property values passed by theLocalExecProvisioner.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal String(experimental) This is the command to execute.(experimental) A record of key value pairs representing the environment of the executed command.(experimental) If provided, this is a list of interpreter arguments used to execute the command.final StringgetType()final StringgetWhen()(experimental) If provided, specifies when Terraform will execute the command.final String(experimental) If provided, specifies the working directory where command will be executed.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theLocalExecProvisioner.Builder.
-
-
Method Details
-
getCommand
Description copied from interface:LocalExecProvisioner(experimental) This is the command to execute.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.
- Specified by:
getCommandin interfaceLocalExecProvisioner
-
getType
- Specified by:
getTypein interfaceLocalExecProvisioner
-
getEnvironment
Description copied from interface:LocalExecProvisioner(experimental) A record of key value pairs representing the environment of the executed command.It inherits the current process environment.
- Specified by:
getEnvironmentin interfaceLocalExecProvisioner
-
getInterpreter
Description copied from interface:LocalExecProvisioner(experimental) If provided, this is a list of interpreter arguments used to execute the command.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.
- Specified by:
getInterpreterin interfaceLocalExecProvisioner
-
getWhen
Description copied from interface:LocalExecProvisioner(experimental) If provided, specifies when Terraform will execute the command.For example, when = destroy specifies that the provisioner will run when the associated resource is destroyed
- Specified by:
getWhenin interfaceLocalExecProvisioner
-
getWorkingDir
Description copied from interface:LocalExecProvisioner(experimental) If provided, specifies the working directory where command will be executed.It can be provided as a relative path to the current working directory or as an absolute path. The directory must exist.
- Specified by:
getWorkingDirin interfaceLocalExecProvisioner
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-