Interface WinrmProvisionerConnection
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
WinrmProvisionerConnection.Jsii$Proxy
See
invalid @link
{@link https://developer.hashicorp.com/terraform/language/resources/provisioners/connection
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forWinrmProvisionerConnection
static final class
An implementation forWinrmProvisionerConnection
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
(experimental) The CA certificate to validate against.getHost()
(experimental) The address of the resource to connect to.default Boolean
getHttps()
(experimental) Set to true to connect using HTTPS instead of HTTP.default Boolean
(experimental) Set to true to skip validating the HTTPS certificate chain.default String
(experimental) The password to use for the connection.default Number
getPort()
(experimental) The port to connect to.default String
(experimental) The path used to copy scripts meant for remote execution.default String
(experimental) The timeout to wait for the connection to become available.getType()
(experimental) The connection type.default Boolean
(experimental) Set to true to use NTLM authentication rather than default (basic authentication), removing the requirement for basic authentication to be enabled within the target guest.default String
getUser()
(experimental) The user to use for the connection.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHost
(experimental) The address of the resource to connect to. -
getType
(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.
-
getCacert
(experimental) The CA certificate to validate against. -
getHttps
(experimental) Set to true to connect using HTTPS instead of HTTP. -
getInsecure
(experimental) Set to true to skip validating the HTTPS certificate chain. -
getPassword
(experimental) The password to use for the connection. -
getPort
(experimental) The port to connect to.Default: 22
-
getScriptPath
(experimental) The path used to copy scripts meant for remote execution.Refer to
invalid @link
{@link https://developer.hashicorp.com/terraform/language/resources/provisioners/connection#how-provisioners-execute-remote-scripts
-
getTimeout
(experimental) The timeout to wait for the connection to become available.Should be provided as a string (e.g., "30s" or "5m".)
Default: 5m
-
getUseNtlm
(experimental) Set to true to use NTLM authentication rather than default (basic authentication), removing the requirement for basic authentication to be enabled within the target guest.Refer to Authentication for Remote Connections in the Windows App Development documentation for more details.
-
getUser
(experimental) The user to use for the connection.Default: root
-
builder
- Returns:
- a
WinrmProvisionerConnection.Builder
ofWinrmProvisionerConnection
-