@Stability(value=Deprecated) @Deprecated @Internal public static final class StandardNpmSynthOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements StandardNpmSynthOptions
StandardNpmSynthOptions
software.amazon.jsii.JsiiObject.InitializationMode
StandardNpmSynthOptions.Builder, StandardNpmSynthOptions.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Deprecated.
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(StandardNpmSynthOptions.Builder builder)
Deprecated.
Constructor that initializes the object based on literal property values passed by the
StandardNpmSynthOptions.Builder . |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson()
Deprecated.
|
boolean |
equals(Object o)
Deprecated.
|
String |
getActionName()
Deprecated.
(deprecated) Name of the build action.
|
List<AdditionalArtifact> |
getAdditionalArtifacts()
Deprecated.
(deprecated) Produce additional output artifacts after the build based on the given directories.
|
String |
getBuildCommand()
Deprecated.
(deprecated) The build command.
|
BuildSpec |
getBuildSpec()
Deprecated.
(deprecated) custom BuildSpec that is merged with the generated one.
|
Artifact |
getCloudAssemblyArtifact()
Deprecated.
(deprecated) The artifact where the CloudAssembly should be emitted.
|
List<String> |
getCopyEnvironmentVariables()
Deprecated.
(deprecated) Environment variables to copy over from parent env.
|
BuildEnvironment |
getEnvironment()
Deprecated.
(deprecated) Build environment to use for CodeBuild job.
|
Map<String,BuildEnvironmentVariable> |
getEnvironmentVariables()
Deprecated.
(deprecated) Environment variables to send into build.
|
String |
getInstallCommand()
Deprecated.
(deprecated) The install command.
|
String |
getProjectName()
Deprecated.
(deprecated) Name of the CodeBuild project.
|
List<PolicyStatement> |
getRolePolicyStatements()
Deprecated.
(deprecated) Policy statements to add to role used during the synth.
|
Artifact |
getSourceArtifact()
Deprecated.
(deprecated) The source artifact of the CodePipeline.
|
String |
getSubdirectory()
Deprecated.
(deprecated) Directory inside the source where package.json and cdk.json are located.
|
SubnetSelection |
getSubnetSelection()
Deprecated.
(deprecated) Which subnets to use.
|
String |
getSynthCommand()
Deprecated.
(deprecated) The synth command.
|
List<String> |
getTestCommands()
Deprecated.
(deprecated) Test commands.
|
IVpc |
getVpc()
Deprecated.
(deprecated) The VPC where to execute the SimpleSynth.
|
int |
hashCode()
Deprecated.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.protected Jsii$Proxy(StandardNpmSynthOptions.Builder builder)
StandardNpmSynthOptions.Builder
.public final String getBuildCommand()
StandardNpmSynthOptions
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 StandardNpmSynthOptions
public final String getInstallCommand()
StandardNpmSynthOptions
Default: 'npm ci'
getInstallCommand
in interface StandardNpmSynthOptions
public final String getSynthCommand()
StandardNpmSynthOptions
Default: 'npx cdk synth'
getSynthCommand
in interface StandardNpmSynthOptions
public final List<String> getTestCommands()
StandardNpmSynthOptions
These commands are run after the build commands but before the synth command.
Default: - No test commands
getTestCommands
in interface StandardNpmSynthOptions
public final Artifact getCloudAssemblyArtifact()
SimpleSynthOptions
getCloudAssemblyArtifact
in interface SimpleSynthOptions
public final Artifact getSourceArtifact()
SimpleSynthOptions
getSourceArtifact
in interface SimpleSynthOptions
public final String getActionName()
SimpleSynthOptions
Default: 'Synth'
getActionName
in interface SimpleSynthOptions
public final List<AdditionalArtifact> getAdditionalArtifacts()
SimpleSynthOptions
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
getAdditionalArtifacts
in interface SimpleSynthOptions
public final BuildSpec getBuildSpec()
SimpleSynthOptions
Default: - none
getBuildSpec
in interface SimpleSynthOptions
public final List<String> getCopyEnvironmentVariables()
SimpleSynthOptions
These are environment variables that are being used by the build.
Default: - No environment variables copied
getCopyEnvironmentVariables
in interface SimpleSynthOptions
public final BuildEnvironment getEnvironment()
SimpleSynthOptions
Default: BuildEnvironment.LinuxBuildImage.STANDARD_5_0
getEnvironment
in interface SimpleSynthOptions
public final Map<String,BuildEnvironmentVariable> getEnvironmentVariables()
SimpleSynthOptions
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
getEnvironmentVariables
in interface SimpleSynthOptions
public final String getProjectName()
SimpleSynthOptions
Default: - Automatically generated
getProjectName
in interface SimpleSynthOptions
public final List<PolicyStatement> getRolePolicyStatements()
SimpleSynthOptions
Can be used to add acces to a CodeArtifact repository etc.
Default: - No policy statements added to CodeBuild Project Role
getRolePolicyStatements
in interface SimpleSynthOptions
public final String getSubdirectory()
SimpleSynthOptions
Default: - Repository root
getSubdirectory
in interface SimpleSynthOptions
public final SubnetSelection getSubnetSelection()
SimpleSynthOptions
Only used if 'vpc' is supplied.
Default: - All private subnets.
getSubnetSelection
in interface SimpleSynthOptions
public final IVpc getVpc()
SimpleSynthOptions
Default: - No VPC
getVpc
in interface SimpleSynthOptions
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2023. All rights reserved.