@Stability(value=Deprecated) @Deprecated public static final class ShellScriptActionProps.Builder extends Object implements software.amazon.jsii.Builder<ShellScriptActionProps>
ShellScriptActionProps
Constructor and Description |
---|
Builder()
Deprecated.
|
@Stability(value=Deprecated) @Deprecated public ShellScriptActionProps.Builder actionName(String actionName)
ShellScriptActionProps.getActionName()
actionName
- Name of the validation action in the pipeline. This parameter is required.this
@Stability(value=Deprecated) @Deprecated public ShellScriptActionProps.Builder commands(List<String> commands)
ShellScriptActionProps.getCommands()
commands
- Commands to run. This parameter is required.this
@Stability(value=Deprecated) @Deprecated public ShellScriptActionProps.Builder additionalArtifacts(List<? extends Artifact> additionalArtifacts)
ShellScriptActionProps.getAdditionalArtifacts()
additionalArtifacts
- Additional artifacts to use as input for the CodeBuild project.
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 useOutput
.
this
@Stability(value=Deprecated) @Deprecated public ShellScriptActionProps.Builder bashOptions(String bashOptions)
ShellScriptActionProps.getBashOptions()
bashOptions
- Bash options to set at the start of the script.this
@Stability(value=Deprecated) @Deprecated public ShellScriptActionProps.Builder environment(BuildEnvironment environment)
ShellScriptActionProps.getEnvironment()
environment
- The CodeBuild environment where scripts are executed.this
@Stability(value=Deprecated) @Deprecated public ShellScriptActionProps.Builder environmentVariables(Map<String,? extends BuildEnvironmentVariable> environmentVariables)
ShellScriptActionProps.getEnvironmentVariables()
environmentVariables
- Environment variables to send into build.this
@Stability(value=Deprecated) @Deprecated public ShellScriptActionProps.Builder rolePolicyStatements(List<? extends PolicyStatement> rolePolicyStatements)
ShellScriptActionProps.getRolePolicyStatements()
rolePolicyStatements
- Additional policy statements to add to the execution role.this
@Stability(value=Deprecated) @Deprecated public ShellScriptActionProps.Builder runOrder(Number runOrder)
ShellScriptActionProps.getRunOrder()
runOrder
- RunOrder for this action.
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.
this
@Stability(value=Deprecated) @Deprecated public ShellScriptActionProps.Builder securityGroups(List<? extends ISecurityGroup> securityGroups)
ShellScriptActionProps.getSecurityGroups()
securityGroups
- Which security group to associate with the script's project network interfaces.
If no security group is identified, one will be created automatically.
Only used if 'vpc' is supplied.
this
@Stability(value=Deprecated) @Deprecated public ShellScriptActionProps.Builder subnetSelection(SubnetSelection subnetSelection)
ShellScriptActionProps.getSubnetSelection()
subnetSelection
- Which subnets to use.
Only used if 'vpc' is supplied.this
@Stability(value=Deprecated) @Deprecated public ShellScriptActionProps.Builder useOutputs(Map<String,? extends StackOutput> useOutputs)
ShellScriptActionProps.getUseOutputs()
useOutputs
- Stack outputs to make available as environment variables.this
@Stability(value=Deprecated) @Deprecated public ShellScriptActionProps.Builder vpc(IVpc vpc)
ShellScriptActionProps.getVpc()
vpc
- The VPC where to execute the specified script.this
@Stability(value=Deprecated) @Deprecated public ShellScriptActionProps build()
build
in interface software.amazon.jsii.Builder<ShellScriptActionProps>
ShellScriptActionProps
NullPointerException
- if any required attribute was not providedCopyright © 2023. All rights reserved.