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.InitializationMode
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.LocalExecProvisioner
LocalExecProvisioner.Builder, LocalExecProvisioner.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Jsii$Proxy
(LocalExecProvisioner.Builder builder) Constructor that initializes the object based on literal property values passed by theLocalExecProvisioner.Builder
.protected
Jsii$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.JsonNode
final boolean
final 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 String
getType()
final String
getWhen()
(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 int
hashCode()
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:
getCommand
in interfaceLocalExecProvisioner
-
getType
- Specified by:
getType
in 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:
getEnvironment
in 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:
getInterpreter
in 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:
getWhen
in 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:
getWorkingDir
in interfaceLocalExecProvisioner
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-