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.InitializationMode
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.SSHProvisionerConnection
SSHProvisionerConnection.Builder, SSHProvisionerConnection.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theSSHProvisionerConnection.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
getAgent()
(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 String
getHost()
(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 Number
getPort()
(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 String
getType()
(experimental) The connection type.final String
getUser()
(experimental) The user to use for the connection.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 theSSHProvisionerConnection.Builder
.
-
-
Method Details
-
getHost
Description copied from interface:SSHProvisionerConnection
(experimental) The address of the resource to connect to.- Specified by:
getHost
in 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:
getType
in 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:
getAgent
in interfaceSSHProvisionerConnection
-
getAgentIdentity
Description copied from interface:SSHProvisionerConnection
(experimental) The preferred identity from the ssh agent for authentication.- Specified by:
getAgentIdentity
in 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:
getBastionCertificate
in 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:
getBastionHost
in 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:
getBastionHostKey
in interfaceSSHProvisionerConnection
-
getBastionPassword
Description copied from interface:SSHProvisionerConnection
(experimental) The password to use for the bastion host.- Specified by:
getBastionPassword
in interfaceSSHProvisionerConnection
-
getBastionPort
Description copied from interface:SSHProvisionerConnection
(experimental) The port to use connect to the bastion host.- Specified by:
getBastionPort
in 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:
getBastionPrivateKey
in interfaceSSHProvisionerConnection
-
getBastionUser
Description copied from interface:SSHProvisionerConnection
(experimental) The user for the connection to the bastion host.- Specified by:
getBastionUser
in 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:
getCertificate
in 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:
getHostKey
in interfaceSSHProvisionerConnection
-
getPassword
Description copied from interface:SSHProvisionerConnection
(experimental) The password to use for the connection.- Specified by:
getPassword
in interfaceSSHProvisionerConnection
-
getPort
Description copied from interface:SSHProvisionerConnection
(experimental) The port to connect to.Default: 22
- Specified by:
getPort
in 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:
getPrivateKey
in 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:
getProxyHost
in interfaceSSHProvisionerConnection
-
getProxyPort
Description copied from interface:SSHProvisionerConnection
(experimental) The port to use connect to the proxy host.- Specified by:
getProxyPort
in 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:
getProxyScheme
in 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:
getProxyUserName
in 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:
getProxyUserPassword
in interfaceSSHProvisionerConnection
-
getScriptPath
Description copied from interface:SSHProvisionerConnection
(experimental) The path used to copy scripts meant for remote execution.Refer to {@link https://developer.hashicorp.com/terraform/language/resources/provisioners/connection#how-provisioners-execute-remote-scripts How Provisioners Execute Remote Scripts below for more details}
- Specified by:
getScriptPath
in 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:
getTargetPlatform
in 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:
getTimeout
in interfaceSSHProvisionerConnection
-
getUser
Description copied from interface:SSHProvisionerConnection
(experimental) The user to use for the connection.Default: root
- Specified by:
getUser
in interfaceSSHProvisionerConnection
-
$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()
-