@Stability(value=Experimental) public static final class CodeBuildActionProps.Builder extends Object implements software.amazon.jsii.Builder<CodeBuildActionProps>
CodeBuildActionProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public CodeBuildActionProps.Builder input(Artifact input)
CodeBuildActionProps.getInput()input - The source to use as input for this action. This parameter is required.this@Stability(value=Experimental) public CodeBuildActionProps.Builder project(IProject project)
CodeBuildActionProps.getProject()project - The action's Project. This parameter is required.this@Stability(value=Experimental) public CodeBuildActionProps.Builder checkSecretsInPlainTextEnvVariables(Boolean checkSecretsInPlainTextEnvVariables)
CodeBuildActionProps.getCheckSecretsInPlainTextEnvVariables()checkSecretsInPlainTextEnvVariables - Whether to check for the presence of any secrets in the environment variables of the default type, BuildEnvironmentVariableType.PLAINTEXT. Since using a secret for the value of that kind of variable would result in it being displayed in plain text in the AWS Console, the construct will throw an exception if it detects a secret was passed there. Pass this property as false if you want to skip this validation, and keep using a secret in a plain text environment variable.this@Stability(value=Experimental) public CodeBuildActionProps.Builder environmentVariables(Map<String,? extends BuildEnvironmentVariable> environmentVariables)
CodeBuildActionProps.getEnvironmentVariables()environmentVariables - The environment variables to pass to the CodeBuild project when this action executes.
If a variable with the same name was set both on the project level, and here,
this value will take precedence.this@Stability(value=Experimental) public CodeBuildActionProps.Builder executeBatchBuild(Boolean executeBatchBuild)
CodeBuildActionProps.getExecuteBatchBuild()executeBatchBuild - Trigger a batch build.
Enabling this will enable batch builds on the CodeBuild project.this@Stability(value=Experimental) public CodeBuildActionProps.Builder extraInputs(List<? extends Artifact> extraInputs)
CodeBuildActionProps.getExtraInputs()extraInputs - The list of additional input Artifacts for this action.
The directories the additional inputs will be available at are available
during the project's build in the CODEBUILD_SRC_DIR_this@Stability(value=Experimental) public CodeBuildActionProps.Builder outputs(List<? extends Artifact> outputs)
CodeBuildActionProps.getOutputs()outputs - The list of output Artifacts for this action.
Note: if you specify more than one output Artifact here,
you cannot use the primary 'artifacts' section of the buildspec;
you have to use the 'secondary-artifacts' section instead.
See https://docs.aws.amazon.com/codebuild/latest/userguide/sample-multi-in-out.html
for details.this@Stability(value=Experimental) public CodeBuildActionProps.Builder type(CodeBuildActionType type)
CodeBuildActionProps.getType()type - The type of the action that determines its CodePipeline Category - Build, or Test.this@Stability(value=Experimental) public CodeBuildActionProps.Builder role(IRole role)
CommonAwsActionProps.getRole()role - The Role in which context's this Action will be executing in.
The Pipeline's Role will assume this Role
(the required permissions for that will be granted automatically)
right before executing this Action.
This Action will be passed into your {@link IAction.bind}
method in the {@link ActionBindOptions.role} property.this@Stability(value=Experimental) public CodeBuildActionProps.Builder actionName(String actionName)
CommonActionProps.getActionName()actionName - The physical, human-readable name of the Action. This parameter is required.
Note that Action names must be unique within a single Stage.this@Stability(value=Experimental) public CodeBuildActionProps.Builder runOrder(Number runOrder)
CommonActionProps.getRunOrder()runOrder - The runOrder property for this Action.
RunOrder determines the relative order in which multiple Actions in the same Stage execute.this@Stability(value=Experimental) public CodeBuildActionProps.Builder variablesNamespace(String variablesNamespace)
CommonActionProps.getVariablesNamespace()variablesNamespace - The name of the namespace to use for variables emitted by this action.this@Stability(value=Experimental) public CodeBuildActionProps build()
build in interface software.amazon.jsii.Builder<CodeBuildActionProps>CodeBuildActionPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.