@Stability(value=Experimental) @Internal public static final class StandardYarnSynthOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements StandardYarnSynthOptions
StandardYarnSynthOptionssoftware.amazon.jsii.JsiiObject.InitializationModeStandardYarnSynthOptions.Builder, StandardYarnSynthOptions.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 buildCommand,
String installCommand,
String synthCommand,
Artifact cloudAssemblyArtifact,
Artifact sourceArtifact,
String actionName,
List<? extends AdditionalArtifact> additionalArtifacts,
List<String> copyEnvironmentVariables,
BuildEnvironment environment,
Map<String,? extends BuildEnvironmentVariable> environmentVariables,
String projectName,
List<? extends PolicyStatement> rolePolicyStatements,
String subdirectory,
SubnetSelection subnetSelection,
IVpc vpc)
Constructor that initializes the object based on literal property values passed by the
StandardYarnSynthOptions.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getActionName()
(experimental) Name of the build action.
|
List<AdditionalArtifact> |
getAdditionalArtifacts()
(experimental) Produce additional output artifacts after the build based on the given directories.
|
String |
getBuildCommand()
(experimental) The build command.
|
Artifact |
getCloudAssemblyArtifact()
(experimental) The artifact where the CloudAssembly should be emitted.
|
List<String> |
getCopyEnvironmentVariables()
(experimental) Environment variables to copy over from parent env.
|
BuildEnvironment |
getEnvironment()
(experimental) Build environment to use for CodeBuild job.
|
Map<String,BuildEnvironmentVariable> |
getEnvironmentVariables()
(experimental) Environment variables to send into build.
|
String |
getInstallCommand()
(experimental) The install command.
|
String |
getProjectName()
(experimental) Name of the CodeBuild project.
|
List<PolicyStatement> |
getRolePolicyStatements()
(experimental) Policy statements to add to role used during the synth.
|
Artifact |
getSourceArtifact()
(experimental) The source artifact of the CodePipeline.
|
String |
getSubdirectory()
(experimental) Directory inside the source where package.json and cdk.json are located.
|
SubnetSelection |
getSubnetSelection()
(experimental) Which subnets to use.
|
String |
getSynthCommand()
(experimental) The synth command.
|
IVpc |
getVpc()
(experimental) The VPC where to execute the SimpleSynth.
|
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 buildCommand, String installCommand, String synthCommand, Artifact cloudAssemblyArtifact, Artifact sourceArtifact, String actionName, List<? extends AdditionalArtifact> additionalArtifacts, List<String> copyEnvironmentVariables, BuildEnvironment environment, Map<String,? extends BuildEnvironmentVariable> environmentVariables, String projectName, List<? extends PolicyStatement> rolePolicyStatements, String subdirectory, SubnetSelection subnetSelection, IVpc vpc)
StandardYarnSynthOptions.Builder.public final String getBuildCommand()
StandardYarnSynthOptions
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.
Default: - No build required
getBuildCommand in interface StandardYarnSynthOptionspublic final String getInstallCommand()
StandardYarnSynthOptionsDefault: 'yarn install --frozen-lockfile'
getInstallCommand in interface StandardYarnSynthOptionspublic final String getSynthCommand()
StandardYarnSynthOptionsDefault: 'npx cdk synth'
getSynthCommand in interface StandardYarnSynthOptionspublic final Artifact getCloudAssemblyArtifact()
SimpleSynthOptionsgetCloudAssemblyArtifact in interface SimpleSynthOptionspublic final Artifact getSourceArtifact()
SimpleSynthOptionsgetSourceArtifact in interface SimpleSynthOptionspublic final String getActionName()
SimpleSynthOptionsDefault: 'Synth'
getActionName in interface SimpleSynthOptionspublic final List<AdditionalArtifact> getAdditionalArtifacts()
SimpleSynthOptionsCan 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
getAdditionalArtifacts in interface SimpleSynthOptionspublic final List<String> getCopyEnvironmentVariables()
SimpleSynthOptionsThese are environment variables that are being used by the build.
Default: - No environment variables copied
getCopyEnvironmentVariables in interface SimpleSynthOptionspublic final BuildEnvironment getEnvironment()
SimpleSynthOptionsDefault: BuildEnvironment.LinuxBuildImage.STANDARD_4_0
getEnvironment in interface SimpleSynthOptionspublic final Map<String,BuildEnvironmentVariable> getEnvironmentVariables()
SimpleSynthOptionsDefault: - No additional environment variables
getEnvironmentVariables in interface SimpleSynthOptionspublic final String getProjectName()
SimpleSynthOptionsDefault: - Automatically generated
getProjectName in interface SimpleSynthOptionspublic final List<PolicyStatement> getRolePolicyStatements()
SimpleSynthOptionsCan be used to add acces to a CodeArtifact repository etc.
Default: - No policy statements added to CodeBuild Project Role
getRolePolicyStatements in interface SimpleSynthOptionspublic final String getSubdirectory()
SimpleSynthOptionsDefault: - Repository root
getSubdirectory in interface SimpleSynthOptionspublic final SubnetSelection getSubnetSelection()
SimpleSynthOptionsOnly used if 'vpc' is supplied.
Default: - All private subnets.
getSubnetSelection in interface SimpleSynthOptionspublic final IVpc getVpc()
SimpleSynthOptionsDefault: - No VPC
getVpc in interface SimpleSynthOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.