@Stability(value=Experimental) @Internal public static final class ShellScriptActionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ShellScriptActionProps
ShellScriptActionPropssoftware.amazon.jsii.JsiiObject.InitializationModeShellScriptActionProps.Builder, ShellScriptActionProps.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.
|
protected |
Jsii$Proxy(String actionName,
List<String> commands,
List<? extends Artifact> additionalArtifacts,
String bashOptions,
BuildEnvironment environment,
Map<String,? extends BuildEnvironmentVariable> environmentVariables,
List<? extends PolicyStatement> rolePolicyStatements,
Number runOrder,
List<? extends ISecurityGroup> securityGroups,
SubnetSelection subnetSelection,
Map<String,? extends StackOutput> useOutputs,
IVpc vpc)
Constructor that initializes the object based on literal property values passed by the
ShellScriptActionProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getActionName()
(experimental) Name of the validation action in the pipeline.
|
List<Artifact> |
getAdditionalArtifacts()
(experimental) Additional artifacts to use as input for the CodeBuild project.
|
String |
getBashOptions()
(experimental) Bash options to set at the start of the script.
|
List<String> |
getCommands()
(experimental) Commands to run.
|
BuildEnvironment |
getEnvironment()
(experimental) The CodeBuild environment where scripts are executed.
|
Map<String,BuildEnvironmentVariable> |
getEnvironmentVariables()
(experimental) Environment variables to send into build.
|
List<PolicyStatement> |
getRolePolicyStatements()
(experimental) Additional policy statements to add to the execution role.
|
Number |
getRunOrder()
(experimental) RunOrder for this action.
|
List<ISecurityGroup> |
getSecurityGroups()
(experimental) Which security group to associate with the script's project network interfaces.
|
SubnetSelection |
getSubnetSelection()
(experimental) Which subnets to use.
|
Map<String,StackOutput> |
getUseOutputs()
(experimental) Stack outputs to make available as environment variables.
|
IVpc |
getVpc()
(experimental) The VPC where to execute the specified script.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(String actionName, List<String> commands, List<? extends Artifact> additionalArtifacts, String bashOptions, BuildEnvironment environment, Map<String,? extends BuildEnvironmentVariable> environmentVariables, List<? extends PolicyStatement> rolePolicyStatements, Number runOrder, List<? extends ISecurityGroup> securityGroups, SubnetSelection subnetSelection, Map<String,? extends StackOutput> useOutputs, IVpc vpc)
ShellScriptActionProps.Builder.public final String getActionName()
ShellScriptActionPropsgetActionName in interface ShellScriptActionPropspublic final List<String> getCommands()
ShellScriptActionPropsgetCommands in interface ShellScriptActionPropspublic final List<Artifact> getAdditionalArtifacts()
ShellScriptActionPropsYou 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.
getAdditionalArtifacts in interface ShellScriptActionPropspublic final String getBashOptions()
ShellScriptActionPropsDefault: '-eu' (errexit and nounset)
getBashOptions in interface ShellScriptActionPropspublic final BuildEnvironment getEnvironment()
ShellScriptActionPropsDefault: LinuxBuildImage.STANDARD_4_0
getEnvironment in interface ShellScriptActionPropspublic final Map<String,BuildEnvironmentVariable> getEnvironmentVariables()
ShellScriptActionPropsDefault: - No additional environment variables
getEnvironmentVariables in interface ShellScriptActionPropspublic final List<PolicyStatement> getRolePolicyStatements()
ShellScriptActionPropsDefault: - No policy statements
getRolePolicyStatements in interface ShellScriptActionPropspublic final Number getRunOrder()
ShellScriptActionPropsUse 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
getRunOrder in interface ShellScriptActionPropspublic final List<ISecurityGroup> getSecurityGroups()
ShellScriptActionPropsIf no security group is identified, one will be created automatically.
Only used if 'vpc' is supplied.
Default: - Security group will be automatically created.
getSecurityGroups in interface ShellScriptActionPropspublic final SubnetSelection getSubnetSelection()
ShellScriptActionPropsOnly used if 'vpc' is supplied.
Default: - All private subnets.
getSubnetSelection in interface ShellScriptActionPropspublic final Map<String,StackOutput> getUseOutputs()
ShellScriptActionPropsDefault: - No outputs used
getUseOutputs in interface ShellScriptActionPropspublic final IVpc getVpc()
ShellScriptActionPropsDefault: - No VPC
getVpc in interface ShellScriptActionProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.