Class SSHProvisionerConnection.Jsii$Proxy
- All Implemented Interfaces:
SSHProvisionerConnection,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
SSHProvisionerConnection
SSHProvisionerConnection-
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.SSHProvisionerConnection
SSHProvisionerConnection.Builder, SSHProvisionerConnection.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theSSHProvisionerConnection.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 StringgetAgent()(experimental) Set to false to disable using ssh-agent to authenticate.final String(experimental) The preferred identity from the ssh agent for authentication.final String(experimental) The contents of a signed CA Certificate.final String(experimental) Setting this enables the bastion Host connection.final String(experimental) The public key from the remote host or the signing CA, used to verify the host connection.final String(experimental) The password to use for the bastion host.final Number(experimental) The port to use connect to the bastion host.final String(experimental) The contents of an SSH key file to use for the bastion host.final String(experimental) The user for the connection to the bastion host.final String(experimental) The contents of a signed CA Certificate.final StringgetHost()(experimental) The address of the resource to connect to.final String(experimental) The public key from the remote host or the signing CA, used to verify the connection.final String(experimental) The password to use for the connection.final NumbergetPort()(experimental) The port to connect to.final String(experimental) The contents of an SSH key to use for the connection.final String(experimental) Setting this enables the SSH over HTTP connection.final Number(experimental) The port to use connect to the proxy host.final String(experimental) The ssh connection also supports the following fields to facilitate connections by SSH over HTTP proxy.final String(experimental) The username to use connect to the private proxy host.final String(experimental) The password to use connect to the private proxy host.final String(experimental) The path used to copy scripts meant for remote execution.final String(experimental) The target platform to connect to.final String(experimental) The timeout to wait for the connection to become available.final StringgetType()(experimental) The connection type.final StringgetUser()(experimental) The user to use for the connection.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 theSSHProvisionerConnection.Builder.
-
-
Method Details
-
getHost
Description copied from interface:SSHProvisionerConnection(experimental) The address of the resource to connect to.- Specified by:
getHostin interfaceSSHProvisionerConnection
-
getType
Description copied from interface:SSHProvisionerConnection(experimental) The connection type.Valid values are "ssh" and "winrm". Provisioners typically assume that the remote system runs Microsoft Windows when using WinRM. Behaviors based on the SSH target_platform will force Windows-specific behavior for WinRM, unless otherwise specified.
- Specified by:
getTypein interfaceSSHProvisionerConnection
-
getAgent
Description copied from interface:SSHProvisionerConnection(experimental) Set to false to disable using ssh-agent to authenticate.On Windows the only supported SSH authentication agent is Pageant.
- Specified by:
getAgentin interfaceSSHProvisionerConnection
-
getAgentIdentity
Description copied from interface:SSHProvisionerConnection(experimental) The preferred identity from the ssh agent for authentication.- Specified by:
getAgentIdentityin interfaceSSHProvisionerConnection
-
getBastionCertificate
Description copied from interface:SSHProvisionerConnection(experimental) The contents of a signed CA Certificate.The certificate argument must be used in conjunction with a bastion_private_key. These can be loaded from a file on disk using the the file function.
- Specified by:
getBastionCertificatein interfaceSSHProvisionerConnection
-
getBastionHost
Description copied from interface:SSHProvisionerConnection(experimental) Setting this enables the bastion Host connection.The provisioner will connect to bastion_host first, and then connect from there to host.
- Specified by:
getBastionHostin interfaceSSHProvisionerConnection
-
getBastionHostKey
Description copied from interface:SSHProvisionerConnection(experimental) The public key from the remote host or the signing CA, used to verify the host connection.- Specified by:
getBastionHostKeyin interfaceSSHProvisionerConnection
-
getBastionPassword
Description copied from interface:SSHProvisionerConnection(experimental) The password to use for the bastion host.- Specified by:
getBastionPasswordin interfaceSSHProvisionerConnection
-
getBastionPort
Description copied from interface:SSHProvisionerConnection(experimental) The port to use connect to the bastion host.- Specified by:
getBastionPortin interfaceSSHProvisionerConnection
-
getBastionPrivateKey
Description copied from interface:SSHProvisionerConnection(experimental) The contents of an SSH key file to use for the bastion host.These can be loaded from a file on disk using the file function.
- Specified by:
getBastionPrivateKeyin interfaceSSHProvisionerConnection
-
getBastionUser
Description copied from interface:SSHProvisionerConnection(experimental) The user for the connection to the bastion host.- Specified by:
getBastionUserin interfaceSSHProvisionerConnection
-
getCertificate
Description copied from interface:SSHProvisionerConnection(experimental) The contents of a signed CA Certificate.The certificate argument must be used in conjunction with a private_key. These can be loaded from a file on disk using the the file function.
- Specified by:
getCertificatein interfaceSSHProvisionerConnection
-
getHostKey
Description copied from interface:SSHProvisionerConnection(experimental) The public key from the remote host or the signing CA, used to verify the connection.- Specified by:
getHostKeyin interfaceSSHProvisionerConnection
-
getPassword
Description copied from interface:SSHProvisionerConnection(experimental) The password to use for the connection.- Specified by:
getPasswordin interfaceSSHProvisionerConnection
-
getPort
Description copied from interface:SSHProvisionerConnection(experimental) The port to connect to.Default: 22
- Specified by:
getPortin interfaceSSHProvisionerConnection
-
getPrivateKey
Description copied from interface:SSHProvisionerConnection(experimental) The contents of an SSH key to use for the connection.These can be loaded from a file on disk using the file function. This takes preference over password if provided.
- Specified by:
getPrivateKeyin interfaceSSHProvisionerConnection
-
getProxyHost
Description copied from interface:SSHProvisionerConnection(experimental) Setting this enables the SSH over HTTP connection.This host will be connected to first, and then the host or bastion_host connection will be made from there.
- Specified by:
getProxyHostin interfaceSSHProvisionerConnection
-
getProxyPort
Description copied from interface:SSHProvisionerConnection(experimental) The port to use connect to the proxy host.- Specified by:
getProxyPortin interfaceSSHProvisionerConnection
-
getProxyScheme
Description copied from interface:SSHProvisionerConnection(experimental) The ssh connection also supports the following fields to facilitate connections by SSH over HTTP proxy.- Specified by:
getProxySchemein interfaceSSHProvisionerConnection
-
getProxyUserName
Description copied from interface:SSHProvisionerConnection(experimental) The username to use connect to the private proxy host.This argument should be specified only if authentication is required for the HTTP Proxy server.
- Specified by:
getProxyUserNamein interfaceSSHProvisionerConnection
-
getProxyUserPassword
Description copied from interface:SSHProvisionerConnection(experimental) The password to use connect to the private proxy host.This argument should be specified only if authentication is required for the HTTP Proxy server.
- Specified by:
getProxyUserPasswordin interfaceSSHProvisionerConnection
-
getScriptPath
Description copied from interface:SSHProvisionerConnection(experimental) The path used to copy scripts meant for remote execution.Refer to
How Provisioners Execute Remote Scripts below for more details}invalid @link
{@link https://developer.hashicorp.com/terraform/language/resources/provisioners/connection#how-provisioners-execute-remote-scripts- Specified by:
getScriptPathin interfaceSSHProvisionerConnection
-
getTargetPlatform
Description copied from interface:SSHProvisionerConnection(experimental) The target platform to connect to.Valid values are "windows" and "unix". If the platform is set to windows, the default script_path is c:\windows\temp\terraform_%RAND%.cmd, assuming the SSH default shell is cmd.exe. If the SSH default shell is PowerShell, set script_path to "c:/windows/temp/terraform_%RAND%.ps1"
Default: unix
- Specified by:
getTargetPlatformin interfaceSSHProvisionerConnection
-
getTimeout
Description copied from interface:SSHProvisionerConnection(experimental) The timeout to wait for the connection to become available.Should be provided as a string (e.g., "30s" or "5m".)
Default: 5m
- Specified by:
getTimeoutin interfaceSSHProvisionerConnection
-
getUser
Description copied from interface:SSHProvisionerConnection(experimental) The user to use for the connection.Default: root
- Specified by:
getUserin interfaceSSHProvisionerConnection
-
$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()
-