Class CodeBuildStepProps.Jsii$Proxy
- All Implemented Interfaces:
CodeBuildStepProps,ShellStepProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CodeBuildStepProps
CodeBuildStepProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.pipelines.CodeBuildStepProps
CodeBuildStepProps.Builder, CodeBuildStepProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CodeBuildStepProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCodeBuildStepProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal IRoleCustom execution role to be used for the Code Build Action.final Map<String,IFileSetProducer> Additional FileSets to put in other directories.final BuildEnvironmentChanges to environment.Commands to run.getEnv()Environment variables to set.Set environment variables based on Stack Outputs.final IFileSetProducergetInput()FileSet to run these scripts on.Installation commands to run before the regular commands.final BuildSpecAdditional configuration that can only be configured via BuildSpec.final StringThe directory that will contain the primary output fileset.final StringName for the generated CodeBuild project.final IRolegetRole()Custom execution role to be used for the CodeBuild project.final List<PolicyStatement>Policy statements to add to role used during the synth.final List<ISecurityGroup>Which security group to associate with the script's project network interfaces.final SubnetSelectionWhich subnets to use.final DurationThe number of minutes after which AWS CodeBuild stops the build if it's not complete.final IVpcgetVpc()The VPC where to execute the SimpleSynth.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCodeBuildStepProps.Builder.
-
-
Method Details
-
getActionRole
Description copied from interface:CodeBuildStepPropsCustom execution role to be used for the Code Build Action.Default: - A role is automatically created
- Specified by:
getActionRolein interfaceCodeBuildStepProps
-
getBuildEnvironment
Description copied from interface:CodeBuildStepPropsChanges to environment.This environment will be combined with the pipeline's default environment.
Default: - Use the pipeline's default build environment
- Specified by:
getBuildEnvironmentin interfaceCodeBuildStepProps
-
getPartialBuildSpec
Description copied from interface:CodeBuildStepPropsAdditional configuration that can only be configured via BuildSpec.You should not use this to specify output artifacts; those should be supplied via the other properties of this class, otherwise CDK Pipelines won't be able to inspect the artifacts.
Set the
commandsto an empty array if you want to fully specify the BuildSpec using this field.The BuildSpec must be available inline--it cannot reference a file on disk.
Default: - BuildSpec completely derived from other properties
- Specified by:
getPartialBuildSpecin interfaceCodeBuildStepProps
-
getProjectName
Description copied from interface:CodeBuildStepPropsName for the generated CodeBuild project.Default: - Automatically generated
- Specified by:
getProjectNamein interfaceCodeBuildStepProps
-
getRole
Description copied from interface:CodeBuildStepPropsCustom execution role to be used for the CodeBuild project.Default: - A role is automatically created
- Specified by:
getRolein interfaceCodeBuildStepProps
-
getRolePolicyStatements
Description copied from interface:CodeBuildStepPropsPolicy statements to add to role used during the synth.Can be used to add acces to a CodeArtifact repository etc.
Default: - No policy statements added to CodeBuild Project Role
- Specified by:
getRolePolicyStatementsin interfaceCodeBuildStepProps
-
getSecurityGroups
Description copied from interface:CodeBuildStepPropsWhich 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.
Default: - Security group will be automatically created.
- Specified by:
getSecurityGroupsin interfaceCodeBuildStepProps
-
getSubnetSelection
Description copied from interface:CodeBuildStepPropsWhich subnets to use.Only used if 'vpc' is supplied.
Default: - All private subnets.
- Specified by:
getSubnetSelectionin interfaceCodeBuildStepProps
-
getTimeout
Description copied from interface:CodeBuildStepPropsThe number of minutes after which AWS CodeBuild stops the build if it's not complete.For valid values, see the timeoutInMinutes field in the AWS CodeBuild User Guide.
Default: Duration.hours(1)
- Specified by:
getTimeoutin interfaceCodeBuildStepProps
-
getVpc
Description copied from interface:CodeBuildStepPropsThe VPC where to execute the SimpleSynth.Default: - No VPC
- Specified by:
getVpcin interfaceCodeBuildStepProps
-
getCommands
Description copied from interface:ShellStepPropsCommands to run.- Specified by:
getCommandsin interfaceShellStepProps
-
getAdditionalInputs
Description copied from interface:ShellStepPropsAdditional FileSets to put in other directories.Specifies a mapping from directory name to FileSets. During the script execution, the FileSets will be available in the directories indicated.
The directory names may be relative. For example, you can put the main input and an additional input side-by-side with the following configuration:
ShellStep script = ShellStep.Builder.create("MainScript") .commands(List.of("npm ci", "npm run build", "npx cdk synth")) .input(CodePipelineSource.gitHub("org/source1", "main")) .additionalInputs(Map.of( "../siblingdir", CodePipelineSource.gitHub("org/source2", "main"))) .build();Default: - No additional inputs
- Specified by:
getAdditionalInputsin interfaceShellStepProps
-
getEnv
Description copied from interface:ShellStepPropsEnvironment variables to set.Default: - No environment variables
- Specified by:
getEnvin interfaceShellStepProps
-
getEnvFromCfnOutputs
Description copied from interface:ShellStepPropsSet environment variables based on Stack Outputs.ShellSteps following stack or stage deployments may access theCfnOutputs of those stacks to get access to --for example--automatically generated resource names or endpoint URLs.Default: - No environment variables created from stack outputs
- Specified by:
getEnvFromCfnOutputsin interfaceShellStepProps
-
getInput
Description copied from interface:ShellStepPropsFileSet to run these scripts on.The files in the FileSet will be placed in the working directory when the script is executed. Use
additionalInputsto download file sets to other directories as well.Default: - No input specified
- Specified by:
getInputin interfaceShellStepProps
-
getInstallCommands
Description copied from interface:ShellStepPropsInstallation commands to run before the regular commands.For deployment engines that support it, install commands will be classified differently in the job history from the regular
commands.Default: - No installation commands
- Specified by:
getInstallCommandsin interfaceShellStepProps
-
getPrimaryOutputDirectory
Description copied from interface:ShellStepPropsThe directory that will contain the primary output fileset.After running the script, the contents of the given directory will be treated as the primary output of this Step.
Default: - No primary output
- Specified by:
getPrimaryOutputDirectoryin interfaceShellStepProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-