Most provisioners require access to the remote resource via SSH or WinRM and expect a nested connection block with details about how to connect. See connectionDocumentation Index
Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Initializer
Properties
| Name | Type | Description |
|---|---|---|
host | java.lang.String | The address of the resource to connect to. |
type | java.lang.String | The connection type. |
cacert | java.lang.String | The CA certificate to validate against. |
https | java.lang.Boolean | Set to true to connect using HTTPS instead of HTTP. |
insecure | java.lang.Boolean | Set to true to skip validating the HTTPS certificate chain. |
password | java.lang.String | The password to use for the connection. |
port | java.lang.Number | The port to connect to. |
scriptPath | java.lang.String | The path used to copy scripts meant for remote execution. |
timeout | java.lang.String | The timeout to wait for the connection to become available. |
useNtlm | java.lang.Boolean | 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. |
user | java.lang.String | The user to use for the connection. |
hostRequired
- Type: java.lang.String
typeRequired
- Type: java.lang.String
cacertOptional
- Type: java.lang.String
httpsOptional
- Type: java.lang.Boolean
insecureOptional
- Type: java.lang.Boolean
passwordOptional
- Type: java.lang.String
portOptional
- Type: java.lang.Number
- Default: 22
scriptPathOptional
- Type: java.lang.String
timeoutOptional
- Type: java.lang.String
- Default: 5m
useNtlmOptional
- Type: java.lang.Boolean
userOptional
- Type: java.lang.String
- Default: root