@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:30:29.085Z") @Stability(value=Experimental) public interface ShellScriptActionProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
ShellScriptActionProps.Builder
A builder for
ShellScriptActionProps |
static class |
ShellScriptActionProps.Jsii$Proxy
An implementation for
ShellScriptActionProps |
| Modifier and Type | Method and Description |
|---|---|
static ShellScriptActionProps.Builder |
builder() |
String |
getActionName()
(experimental) Name of the validation action in the pipeline.
|
default List<Artifact> |
getAdditionalArtifacts()
(experimental) Additional artifacts to use as input for the CodeBuild project.
|
default String |
getBashOptions()
(experimental) Bash options to set at the start of the script.
|
List<String> |
getCommands()
(experimental) Commands to run.
|
default BuildEnvironment |
getEnvironment()
(experimental) The CodeBuild environment where scripts are executed.
|
default Map<String,BuildEnvironmentVariable> |
getEnvironmentVariables()
(experimental) Environment variables to send into build.
|
default List<PolicyStatement> |
getRolePolicyStatements()
(experimental) Additional policy statements to add to the execution role.
|
default Number |
getRunOrder()
(experimental) RunOrder for this action.
|
default List<ISecurityGroup> |
getSecurityGroups()
(experimental) Which security group to associate with the script's project network interfaces.
|
default SubnetSelection |
getSubnetSelection()
(experimental) Which subnets to use.
|
default Map<String,StackOutput> |
getUseOutputs()
(experimental) Stack outputs to make available as environment variables.
|
default IVpc |
getVpc()
(experimental) The VPC where to execute the specified script.
|
@Stability(value=Experimental) @NotNull String getActionName()
@Stability(value=Experimental) @NotNull List<String> getCommands()
@Stability(value=Experimental) @Nullable default List<Artifact> getAdditionalArtifacts()
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 artifactsuseOutput.
@Stability(value=Experimental) @Nullable default String getBashOptions()
Default: '-eu' (errexit and nounset)
@Stability(value=Experimental) @Nullable default BuildEnvironment getEnvironment()
Default: LinuxBuildImage.STANDARD_4_0
@Stability(value=Experimental) @Nullable default Map<String,BuildEnvironmentVariable> getEnvironmentVariables()
Default: - No additional environment variables
@Stability(value=Experimental) @Nullable default List<PolicyStatement> getRolePolicyStatements()
Default: - No policy statements
@Stability(value=Experimental) @Nullable default Number getRunOrder()
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
@Stability(value=Experimental) @Nullable default List<ISecurityGroup> getSecurityGroups()
If no security group is identified, one will be created automatically.
Only used if 'vpc' is supplied.
Default: - Security group will be automatically created.
@Stability(value=Experimental) @Nullable default SubnetSelection getSubnetSelection()
Only used if 'vpc' is supplied.
Default: - All private subnets.
@Stability(value=Experimental) @Nullable default Map<String,StackOutput> getUseOutputs()
Default: - No outputs used
@Stability(value=Experimental) @Nullable default IVpc getVpc()
Default: - No VPC
@Stability(value=Experimental) static ShellScriptActionProps.Builder builder()
ShellScriptActionProps.Builder of ShellScriptActionPropsCopyright © 2021. All rights reserved.