@Generated(value="jsii-pacmak/1.77.0 (build 3e5fa88)", date="2023-04-05T14:53:11.961Z") @Stability(value=Experimental) public interface RemoteExecProvisioner extends software.amazon.jsii.JsiiSerializable
This can be used to run a configuration management tool, bootstrap into a cluster, etc The remote-exec provisioner requires a connection and supports both ssh and winrm.
See {@link https://developer.hashicorp.com/terraform/language/resources/provisioners/remote-exec remote-exec}
Modifier and Type | Interface and Description |
---|---|
static class |
RemoteExecProvisioner.Builder
A builder for
RemoteExecProvisioner |
static class |
RemoteExecProvisioner.Jsii$Proxy
An implementation for
RemoteExecProvisioner |
Modifier and Type | Method and Description |
---|---|
static RemoteExecProvisioner.Builder |
builder() |
default Object |
getConnection()
(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.
|
default List<String> |
getInline()
(experimental) This is a list of command strings.
|
default String |
getScript()
(experimental) This is a path (relative or absolute) to a local script that will be copied to the remote resource and then executed.
|
default List<String> |
getScripts()
(experimental) This is a list of paths (relative or absolute) to local scripts that will be copied to the remote resource and then executed.
|
String |
getType() |
@Stability(value=Experimental) @NotNull String getType()
@Stability(value=Experimental) @Nullable default Object getConnection()
A connection must be provided here or in the parent resource.
@Stability(value=Experimental) @Nullable default List<String> getInline()
They are executed in the order they are provided. This cannot be provided with script or scripts.
@Stability(value=Experimental) @Nullable default String getScript()
This cannot be provided with inline or scripts.
@Stability(value=Experimental) @Nullable default List<String> getScripts()
They are executed in the order they are provided. This cannot be provided with inline or script.
@Stability(value=Experimental) static RemoteExecProvisioner.Builder builder()
RemoteExecProvisioner.Builder
of RemoteExecProvisioner
Copyright © 2023. All rights reserved.