Class ShellStepProps.Jsii$Proxy
- All Implemented Interfaces:
ShellStepProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ShellStepProps
ShellStepProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.pipelines.ShellStepProps
ShellStepProps.Builder, ShellStepProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(ShellStepProps.Builder builder) Constructor that initializes the object based on literal property values passed by theShellStepProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Map<String,
IFileSetProducer> Additional FileSets to put in other directories.Commands to run.getEnv()
Environment variables to set.Set environment variables based on Stack Outputs.final IFileSetProducer
getInput()
FileSet to run these scripts on.Installation commands to run before the regular commands.final String
The directory that will contain the primary output fileset.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theShellStepProps.Builder
.
-
-
Method Details
-
getCommands
Description copied from interface:ShellStepProps
Commands to run.- Specified by:
getCommands
in interfaceShellStepProps
-
getAdditionalInputs
Description copied from interface:ShellStepProps
Additional FileSets to put in other directories.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
- Specified by:
getAdditionalInputs
in interfaceShellStepProps
-
getEnv
Description copied from interface:ShellStepProps
Environment variables to set.Default: - No environment variables
- Specified by:
getEnv
in interfaceShellStepProps
-
getEnvFromCfnOutputs
Description copied from interface:ShellStepProps
Set environment variables based on Stack Outputs.ShellStep
s following stack or stage deployments may access theCfnOutput
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
- Specified by:
getEnvFromCfnOutputs
in interfaceShellStepProps
-
getInput
Description copied from interface:ShellStepProps
FileSet to run these scripts on.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
- Specified by:
getInput
in interfaceShellStepProps
-
getInstallCommands
Description copied from interface:ShellStepProps
Installation commands to run before the regular commands.For deployment engines that support it, install commands will be classified differently in the job history from the regular
commands
.Default: - No installation commands
- Specified by:
getInstallCommands
in interfaceShellStepProps
-
getPrimaryOutputDirectory
Description copied from interface:ShellStepProps
The directory that will contain the primary output fileset.After running the script, the contents of the given directory will be treated as the primary output of this Step.
Default: - No primary output
- Specified by:
getPrimaryOutputDirectory
in interfaceShellStepProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-