@Stability(value=Deprecated) @Deprecated public static final class ShellScriptAction.Builder extends Object implements software.amazon.jsii.Builder<ShellScriptAction>
ShellScriptAction.@Stability(value=Deprecated) @Deprecated public static ShellScriptAction.Builder create()
ShellScriptAction.Builder.@Stability(value=Deprecated) @Deprecated public ShellScriptAction.Builder actionName(String actionName)
actionName - Name of the validation action in the pipeline. This parameter is required.this@Stability(value=Deprecated) @Deprecated public ShellScriptAction.Builder commands(List<String> commands)
commands - Commands to run. This parameter is required.this@Stability(value=Deprecated) @Deprecated public ShellScriptAction.Builder additionalArtifacts(List<? extends Artifact> additionalArtifacts)
You can use these files to load more complex test sets into the shellscript build environment.
The files artifact given here will be unpacked into the current
working directory, the other ones will be unpacked into directories
which are available through the environment variables
$CODEBUILD_SRC_DIR_
The CodeBuild job must have at least one input artifact, so you
must provide either at least one additional artifact here or one
stack output using
Default: - No additional artifacts
useOutput.
additionalArtifacts - Additional artifacts to use as input for the CodeBuild project. This parameter is required.this@Stability(value=Deprecated) @Deprecated public ShellScriptAction.Builder bashOptions(String bashOptions)
Default: '-eu' (errexit and nounset)
bashOptions - Bash options to set at the start of the script. This parameter is required.this@Stability(value=Deprecated) @Deprecated public ShellScriptAction.Builder environment(BuildEnvironment environment)
Default: LinuxBuildImage.STANDARD_5_0
environment - The CodeBuild environment where scripts are executed. This parameter is required.this@Stability(value=Deprecated) @Deprecated public ShellScriptAction.Builder environmentVariables(Map<String,? extends BuildEnvironmentVariable> environmentVariables)
Default: - No additional environment variables
environmentVariables - Environment variables to send into build. This parameter is required.this@Stability(value=Deprecated) @Deprecated public ShellScriptAction.Builder rolePolicyStatements(List<? extends PolicyStatement> rolePolicyStatements)
Default: - No policy statements
rolePolicyStatements - Additional policy statements to add to the execution role. This parameter is required.this@Stability(value=Deprecated) @Deprecated public ShellScriptAction.Builder runOrder(Number runOrder)
Use this to sequence the shell script after the deployments.
The default value is 100 so you don't have to supply the value if you just want to run this after the application stacks have been deployed, and you don't have more than 100 stacks.
Default: 100
runOrder - RunOrder for this action. This parameter is required.this@Stability(value=Deprecated) @Deprecated public ShellScriptAction.Builder securityGroups(List<? extends ISecurityGroup> securityGroups)
If no security group is identified, one will be created automatically.
Only used if 'vpc' is supplied.
Default: - Security group will be automatically created.
securityGroups - Which security group to associate with the script's project network interfaces. This parameter is required.this@Stability(value=Deprecated) @Deprecated public ShellScriptAction.Builder subnetSelection(SubnetSelection subnetSelection)
Only used if 'vpc' is supplied.
Default: - All private subnets.
subnetSelection - Which subnets to use. This parameter is required.this@Stability(value=Deprecated) @Deprecated public ShellScriptAction.Builder useOutputs(Map<String,? extends StackOutput> useOutputs)
Default: - No outputs used
useOutputs - Stack outputs to make available as environment variables. This parameter is required.this@Stability(value=Deprecated) @Deprecated public ShellScriptAction.Builder vpc(IVpc vpc)
Default: - No VPC
vpc - The VPC where to execute the specified script. This parameter is required.this@Stability(value=Deprecated) @Deprecated public ShellScriptAction build()
build in interface software.amazon.jsii.Builder<ShellScriptAction>Copyright © 2022. All rights reserved.