public static final class ShellStepProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ShellStepProps
ShellStepProps
ShellStepProps.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.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.util.Map<java.lang.String,IFileSetProducer> |
getAdditionalInputs()
Additional FileSets to put in other directories.
|
java.util.List<java.lang.String> |
getCommands()
Commands to run.
|
java.util.Map<java.lang.String,java.lang.String> |
getEnv()
Environment variables to set.
|
java.util.Map<java.lang.String,CfnOutput> |
getEnvFromCfnOutputs()
Set environment variables based on Stack Outputs.
|
IFileSetProducer |
getInput()
FileSet to run these scripts on.
|
java.util.List<java.lang.String> |
getInstallCommands()
Installation commands to run before the regular commands.
|
java.lang.String |
getPrimaryOutputDirectory()
The directory that will contain the primary output fileset.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.util.List<java.lang.String> getCommands()
ShellStepProps
getCommands
in interface ShellStepProps
public final java.util.Map<java.lang.String,IFileSetProducer> getAdditionalInputs()
ShellStepProps
Specifies 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 ShellStepProps
public final java.util.Map<java.lang.String,java.lang.String> getEnv()
ShellStepProps
Default: - No environment variables
getEnv
in interface ShellStepProps
public final java.util.Map<java.lang.String,CfnOutput> getEnvFromCfnOutputs()
ShellStepProps
ShellStep
s following stack or stage deployments may
access the CfnOutput
s 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 ShellStepProps
public 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 ShellStepProps
public final java.util.List<java.lang.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 ShellStepProps
public final java.lang.String getPrimaryOutputDirectory()
ShellStepProps
After 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
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()