Package com.hashicorp.cdktf
Interface RemoteExecProvisioner
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
RemoteExecProvisioner.Jsii$Proxy
@Generated(value="jsii-pacmak/1.93.0 (build 1706ca5)",
date="2024-02-12T11:51:18.816Z")
@Stability(Experimental)
public interface RemoteExecProvisioner
extends software.amazon.jsii.JsiiSerializable
(experimental) The remote-exec provisioner invokes a script on a remote resource after it is created.
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
remote-exec}invalid @link
{@link https://developer.hashicorp.com/terraform/language/resources/provisioners/remote-exec
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forRemoteExecProvisioner
static final class
An implementation forRemoteExecProvisioner
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
(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.(experimental) This is a list of command strings.default String
(experimental) This is a path (relative or absolute) to a local script that will be copied to the remote resource and then executed.(experimental) This is a list of paths (relative or absolute) to local scripts that will be copied to the remote resource and then executed.getType()
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
-
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.A connection must be provided here or in the parent resource.
-
getInline
(experimental) This is a list of command strings.They are executed in the order they are provided. This cannot be provided with script or scripts.
-
getScript
(experimental) This is a path (relative or absolute) to a local script that will be copied to the remote resource and then executed.This cannot be provided with inline or scripts.
-
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.They are executed in the order they are provided. This cannot be provided with inline or script.
-
builder
- Returns:
- a
RemoteExecProvisioner.Builder
ofRemoteExecProvisioner
-