Class FileProvisioner.Jsii$Proxy

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

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

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the FileProvisioner.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 String
    (experimental) The destination path to write to on the remote system.
    final String
    (experimental) The source file or directory.
    final String
    (experimental) The direct content to copy on the destination.
    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(FileProvisioner.Builder builder)
      Constructor that initializes the object based on literal property values passed by the FileProvisioner.Builder.
  • Method Details

    • getDestination

      public final String getDestination()
      Description copied from interface: FileProvisioner
      (experimental) The source file or directory.

      Specify it either relative to the current working directory or as an absolute path. This argument cannot be combined with content.

      Specified by:
      getDestination in interface FileProvisioner
    • getType

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

      public final Object getConnection()
      Description copied from interface: FileProvisioner
      (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.
      Specified by:
      getConnection in interface FileProvisioner
    • getContent

      public final String getContent()
      Description copied from interface: FileProvisioner
      (experimental) The destination path to write to on the remote system.

      See Destination Paths below for more information.

      Specified by:
      getContent in interface FileProvisioner
    • getSource

      public final String getSource()
      Description copied from interface: FileProvisioner
      (experimental) The direct content to copy on the destination.

      If destination is a file, the content will be written on that file. In case of a directory, a file named tf-file-content is created inside that directory. We recommend using a file as the destination when using content. This argument cannot be combined with source.

      Specified by:
      getSource in interface FileProvisioner
    • $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