@Internal public static interface IFileProvisioner.Jsii$Default extends IFileProvisioner
IFileProvisioner
.IFileProvisioner.Jsii$Default, IFileProvisioner.Jsii$Proxy
Modifier and Type | Method and Description |
---|---|
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 String |
getContent()
(experimental) The destination path to write to on the remote system.
|
default String |
getDestination()
(experimental) The source file or directory.
|
default String |
getSource()
(experimental) The direct content to copy on the destination.
|
default String |
getType() |
@Stability(value=Experimental) @NotNull default String getDestination()
Specify it either relative to the current working directory or as an absolute path. This argument cannot be combined with content.
getDestination
in interface IFileProvisioner
@Stability(value=Experimental) @NotNull default String getType()
getType
in interface IFileProvisioner
@Stability(value=Experimental) @Nullable default Object getConnection()
getConnection
in interface IFileProvisioner
@Stability(value=Experimental) @Nullable default String getContent()
See Destination Paths below for more information.
getContent
in interface IFileProvisioner
@Stability(value=Experimental) @Nullable default String getSource()
If destination is a file, the content will be written on that file. In case of a directory, a file named tf-file-content is created inside that directory. We recommend using a file as the destination when using content. This argument cannot be combined with source.
getSource
in interface IFileProvisioner
Copyright © 2022. All rights reserved.