@Stability(value=Stable) @Internal public static final class ShellStepProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ShellStepProps
ShellStepPropssoftware.amazon.jsii.JsiiObject.InitializationModeShellStepProps.Builder, ShellStepProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(ShellStepProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
ShellStepProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Map<String,IFileSetProducer> |
getAdditionalInputs()
Additional FileSets to put in other directories.
|
List<String> |
getCommands()
Commands to run.
|
Map<String,String> |
getEnv()
Environment variables to set.
|
Map<String,CfnOutput> |
getEnvFromCfnOutputs()
Set environment variables based on Stack Outputs.
|
IFileSetProducer |
getInput()
FileSet to run these scripts on.
|
List<String> |
getInstallCommands()
Installation commands to run before the regular commands.
|
String |
getPrimaryOutputDirectory()
The directory that will contain the primary output fileset.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(ShellStepProps.Builder builder)
ShellStepProps.Builder.public final List<String> getCommands()
ShellStepPropsgetCommands in interface ShellStepPropspublic final Map<String,IFileSetProducer> getAdditionalInputs()
ShellStepPropsSpecifies a mapping from directory name to FileSets. During the script execution, the FileSets will be available in the directories indicated.
The directory names may be relative. For example, you can put the main input and an additional input side-by-side with the following configuration:
ShellStep script = ShellStep.Builder.create("MainScript")
.commands(List.of("npm ci", "npm run build", "npx cdk synth"))
.input(CodePipelineSource.gitHub("org/source1", "main"))
.additionalInputs(Map.of(
"../siblingdir", CodePipelineSource.gitHub("org/source2", "main")))
.build();
Default: - No additional inputs
getAdditionalInputs in interface ShellStepPropspublic final Map<String,String> getEnv()
ShellStepPropsDefault: - No environment variables
getEnv in interface ShellStepPropspublic final Map<String,CfnOutput> getEnvFromCfnOutputs()
ShellStepProps
ShellSteps following stack or stage deployments may
access the CfnOutputs of those stacks to get access to
--for example--automatically generated resource names or
endpoint URLs.
Default: - No environment variables created from stack outputs
getEnvFromCfnOutputs in interface ShellStepPropspublic final IFileSetProducer getInput()
ShellStepProps
The files in the FileSet will be placed in the working directory when
the script is executed. Use additionalInputs to download file sets
to other directories as well.
Default: - No input specified
getInput in interface ShellStepPropspublic final List<String> getInstallCommands()
ShellStepProps
For deployment engines that support it, install commands will be classified
differently in the job history from the regular commands.
Default: - No installation commands
getInstallCommands in interface ShellStepPropspublic final String getPrimaryOutputDirectory()
ShellStepPropsAfter running the script, the contents of the given directory will be treated as the primary output of this Step.
Default: - No primary output
getPrimaryOutputDirectory in interface ShellStepProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.