Class RemoteExecProvisioner.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
com.hashicorp.cdktf.RemoteExecProvisioner.Jsii$Proxy
All Implemented Interfaces:
RemoteExecProvisioner, software.amazon.jsii.JsiiSerializable
Enclosing interface:
RemoteExecProvisioner

@Stability(Experimental) @Internal public static final class RemoteExecProvisioner.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements RemoteExecProvisioner
An implementation for RemoteExecProvisioner
  • 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.RemoteExecProvisioner

    RemoteExecProvisioner.Builder, RemoteExecProvisioner.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the RemoteExecProvisioner.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 Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Object
    (experimental) Most provisioners require access to the remote resource via SSH or WinRM and expect a nested connection block with details about how to connect.
    final List<String>
    (experimental) This is a list of command strings.
    final String
    (experimental) This is a path (relative or absolute) to a local script that will be copied to the remote resource and then executed.
    final List<String>
    (experimental) This is a list of paths (relative or absolute) to local scripts that will be copied to the remote resource and then executed.
    final String
     
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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

      protected Jsii$Proxy(RemoteExecProvisioner.Builder builder)
      Constructor that initializes the object based on literal property values passed by the RemoteExecProvisioner.Builder.
  • Method Details

    • getType

      public final String getType()
      Specified by:
      getType in interface RemoteExecProvisioner
    • getConnection

      public final Object getConnection()
      Description copied from interface: RemoteExecProvisioner
      (experimental) Most provisioners require access to the remote resource via SSH or WinRM and expect a nested connection block with details about how to connect.

      A connection must be provided here or in the parent resource.

      Specified by:
      getConnection in interface RemoteExecProvisioner
    • getInline

      public final List<String> getInline()
      Description copied from interface: RemoteExecProvisioner
      (experimental) This is a list of command strings.

      They are executed in the order they are provided. This cannot be provided with script or scripts.

      Specified by:
      getInline in interface RemoteExecProvisioner
    • getScript

      public final String getScript()
      Description copied from interface: RemoteExecProvisioner
      (experimental) This is a path (relative or absolute) to a local script that will be copied to the remote resource and then executed.

      This cannot be provided with inline or scripts.

      Specified by:
      getScript in interface RemoteExecProvisioner
    • getScripts

      public final List<String> getScripts()
      Description copied from interface: RemoteExecProvisioner
      (experimental) This is a list of paths (relative or absolute) to local scripts that will be copied to the remote resource and then executed.

      They are executed in the order they are provided. This cannot be provided with inline or script.

      Specified by:
      getScripts in interface RemoteExecProvisioner
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object