@Stability(value=Experimental) public static final class StandardYarnSynthOptions.Builder extends Object implements software.amazon.jsii.Builder<StandardYarnSynthOptions>
StandardYarnSynthOptions| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public StandardYarnSynthOptions.Builder buildCommand(String buildCommand)
StandardYarnSynthOptions.getBuildCommand()buildCommand - The build command.
By default, we assume NPM projects are either written in JavaScript or are
using ts-node, so don't need a build command.
Otherwise, put the build command here, for example npm run build.
this@Stability(value=Experimental) public StandardYarnSynthOptions.Builder installCommand(String installCommand)
StandardYarnSynthOptions.getInstallCommand()installCommand - The install command.this@Stability(value=Experimental) public StandardYarnSynthOptions.Builder synthCommand(String synthCommand)
StandardYarnSynthOptions.getSynthCommand()synthCommand - The synth command.this@Stability(value=Experimental) public StandardYarnSynthOptions.Builder cloudAssemblyArtifact(Artifact cloudAssemblyArtifact)
SimpleSynthOptions.getCloudAssemblyArtifact()cloudAssemblyArtifact - The artifact where the CloudAssembly should be emitted. This parameter is required.this@Stability(value=Experimental) public StandardYarnSynthOptions.Builder sourceArtifact(Artifact sourceArtifact)
SimpleSynthOptions.getSourceArtifact()sourceArtifact - The source artifact of the CodePipeline. This parameter is required.this@Stability(value=Experimental) public StandardYarnSynthOptions.Builder actionName(String actionName)
SimpleSynthOptions.getActionName()actionName - Name of the build action.this@Stability(value=Experimental) public StandardYarnSynthOptions.Builder additionalArtifacts(List<? extends AdditionalArtifact> additionalArtifacts)
SimpleSynthOptions.getAdditionalArtifacts()additionalArtifacts - Produce additional output artifacts after the build based on the given directories.
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.
this@Stability(value=Experimental) public StandardYarnSynthOptions.Builder copyEnvironmentVariables(List<String> copyEnvironmentVariables)
SimpleSynthOptions.getCopyEnvironmentVariables()copyEnvironmentVariables - Environment variables to copy over from parent env.
These are environment variables that are being used by the build.this@Stability(value=Experimental) public StandardYarnSynthOptions.Builder environment(BuildEnvironment environment)
SimpleSynthOptions.getEnvironment()environment - Build environment to use for CodeBuild job.this@Stability(value=Experimental) public StandardYarnSynthOptions.Builder environmentVariables(Map<String,? extends BuildEnvironmentVariable> environmentVariables)
SimpleSynthOptions.getEnvironmentVariables()environmentVariables - Environment variables to send into build.this@Stability(value=Experimental) public StandardYarnSynthOptions.Builder projectName(String projectName)
SimpleSynthOptions.getProjectName()projectName - Name of the CodeBuild project.this@Stability(value=Experimental) public StandardYarnSynthOptions.Builder rolePolicyStatements(List<? extends PolicyStatement> rolePolicyStatements)
SimpleSynthOptions.getRolePolicyStatements()rolePolicyStatements - Policy statements to add to role used during the synth.
Can be used to add acces to a CodeArtifact repository etc.this@Stability(value=Experimental) public StandardYarnSynthOptions.Builder subdirectory(String subdirectory)
SimpleSynthOptions.getSubdirectory()subdirectory - Directory inside the source where package.json and cdk.json are located.this@Stability(value=Experimental) public StandardYarnSynthOptions.Builder subnetSelection(SubnetSelection subnetSelection)
SimpleSynthOptions.getSubnetSelection()subnetSelection - Which subnets to use.
Only used if 'vpc' is supplied.this@Stability(value=Experimental) public StandardYarnSynthOptions.Builder vpc(IVpc vpc)
SimpleSynthOptions.getVpc()vpc - The VPC where to execute the SimpleSynth.this@Stability(value=Experimental) public StandardYarnSynthOptions build()
build in interface software.amazon.jsii.Builder<StandardYarnSynthOptions>StandardYarnSynthOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.