@Stability(value=Deprecated) @Deprecated public static final class SimpleSynthAction.Builder extends Object implements software.amazon.jsii.Builder<SimpleSynthAction>
SimpleSynthAction.@Stability(value=Deprecated) @Deprecated public static SimpleSynthAction.Builder create()
SimpleSynthAction.Builder.@Stability(value=Deprecated) @Deprecated public SimpleSynthAction.Builder cloudAssemblyArtifact(Artifact cloudAssemblyArtifact)
cloudAssemblyArtifact - The artifact where the CloudAssembly should be emitted. This parameter is required.this@Stability(value=Deprecated) @Deprecated public SimpleSynthAction.Builder sourceArtifact(Artifact sourceArtifact)
sourceArtifact - The source artifact of the CodePipeline. This parameter is required.this@Stability(value=Deprecated) @Deprecated public SimpleSynthAction.Builder actionName(String actionName)
Default: 'Synth'
actionName - Name of the build action. This parameter is required.this@Stability(value=Deprecated) @Deprecated public SimpleSynthAction.Builder additionalArtifacts(List<? extends AdditionalArtifact> additionalArtifacts)
Can be used to produce additional artifacts during the build step, separate from the cloud assembly, which can be used further on in the pipeline.
Directories are evaluated with respect to subdirectory.
Default: - No additional artifacts generated
additionalArtifacts - Produce additional output artifacts after the build based on the given directories. This parameter is required.this@Stability(value=Deprecated) @Deprecated public SimpleSynthAction.Builder buildSpec(BuildSpec buildSpec)
Default: - none
buildSpec - custom BuildSpec that is merged with the generated one. This parameter is required.this@Stability(value=Deprecated) @Deprecated public SimpleSynthAction.Builder copyEnvironmentVariables(List<String> copyEnvironmentVariables)
These are environment variables that are being used by the build.
Default: - No environment variables copied
copyEnvironmentVariables - Environment variables to copy over from parent env. This parameter is required.this@Stability(value=Deprecated) @Deprecated public SimpleSynthAction.Builder environment(BuildEnvironment environment)
Default: BuildEnvironment.LinuxBuildImage.STANDARD_5_0
environment - Build environment to use for CodeBuild job. This parameter is required.this@Stability(value=Deprecated) @Deprecated public SimpleSynthAction.Builder environmentVariables(Map<String,? extends BuildEnvironmentVariable> environmentVariables)
NOTE: You may run into the 1000-character limit for the Action configuration if you have a large
number of variables or if their names or values are very long.
If you do, pass them to the underlying CodeBuild project directly in environment instead.
However, you will not be able to use CodePipeline Variables in this case.
Default: - No additional environment variables
environmentVariables - Environment variables to send into build. This parameter is required.this@Stability(value=Deprecated) @Deprecated public SimpleSynthAction.Builder projectName(String projectName)
Default: - Automatically generated
projectName - Name of the CodeBuild project. This parameter is required.this@Stability(value=Deprecated) @Deprecated public SimpleSynthAction.Builder rolePolicyStatements(List<? extends PolicyStatement> rolePolicyStatements)
Can be used to add acces to a CodeArtifact repository etc.
Default: - No policy statements added to CodeBuild Project Role
rolePolicyStatements - Policy statements to add to role used during the synth. This parameter is required.this@Stability(value=Deprecated) @Deprecated public SimpleSynthAction.Builder subdirectory(String subdirectory)
Default: - Repository root
subdirectory - Directory inside the source where package.json and cdk.json are located. This parameter is required.this@Stability(value=Deprecated) @Deprecated public SimpleSynthAction.Builder subnetSelection(SubnetSelection subnetSelection)
Only used if 'vpc' is supplied.
Default: - All private subnets.
subnetSelection - Which subnets to use. This parameter is required.this@Stability(value=Deprecated) @Deprecated public SimpleSynthAction.Builder vpc(IVpc vpc)
Default: - No VPC
vpc - The VPC where to execute the SimpleSynth. This parameter is required.this@Stability(value=Deprecated) @Deprecated public SimpleSynthAction.Builder synthCommand(String synthCommand)
synthCommand - The synth command. This parameter is required.this@Stability(value=Deprecated) @Deprecated public SimpleSynthAction.Builder buildCommand(String buildCommand)
If your programming language requires a compilation step, put the compilation command here.
Default: - No build required
buildCommand - The build command. This parameter is required.this@Stability(value=Deprecated) @Deprecated public SimpleSynthAction.Builder buildCommands(List<String> buildCommands)
If your programming language requires a compilation step, put the compilation command here.
Default: - No build required
buildCommands - The build commands. This parameter is required.this@Stability(value=Deprecated) @Deprecated public SimpleSynthAction.Builder installCommand(String installCommand)
If not provided by the build image or another dependency
management tool, at least install the CDK CLI here using
npm install -g aws-cdk.
Default: - No install required
installCommand - The install command. This parameter is required.this@Stability(value=Deprecated) @Deprecated public SimpleSynthAction.Builder installCommands(List<String> installCommands)
If not provided by the build image or another dependency
management tool, at least install the CDK CLI here using
npm install -g aws-cdk.
Default: - No install required
installCommands - Install commands. This parameter is required.this@Stability(value=Deprecated) @Deprecated public SimpleSynthAction.Builder testCommands(List<String> testCommands)
These commands are run after the build commands but before the synth command.
Default: - No test commands
testCommands - Test commands. This parameter is required.this@Stability(value=Deprecated) @Deprecated public SimpleSynthAction build()
build in interface software.amazon.jsii.Builder<SimpleSynthAction>Copyright © 2022. All rights reserved.