@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-31T18:36:53.304Z")
public interface ExecuteFileOptions
Example:
import software.amazon.awscdk.services.s3.assets.Asset; Instance instance; Asset asset = Asset.Builder.create(this, "Asset") .path("./configure.sh") .build(); String localPath = instance.userData.addS3DownloadCommand(S3DownloadOptions.builder() .bucket(asset.getBucket()) .bucketKey(asset.getS3ObjectKey()) .region("us-east-1") .build()); instance.userData.addExecuteFileCommand(ExecuteFileOptions.builder() .filePath(localPath) .arguments("--verbose -y") .build()); asset.grantRead(instance.getRole());
Modifier and Type | Interface and Description |
---|---|
static class |
ExecuteFileOptions.Builder
A builder for
ExecuteFileOptions |
static class |
ExecuteFileOptions.Jsii$Proxy
An implementation for
ExecuteFileOptions |
Modifier and Type | Method and Description |
---|---|
static ExecuteFileOptions.Builder |
builder() |
default java.lang.String |
getArguments()
The arguments to be passed to the file.
|
java.lang.String |
getFilePath()
The path to the file.
|
java.lang.String getFilePath()
default java.lang.String getArguments()
Default: No arguments are passed to the file.
static ExecuteFileOptions.Builder builder()
ExecuteFileOptions.Builder
of ExecuteFileOptions