Class StandardYarnSynthOptions.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.pipelines.StandardYarnSynthOptions.Jsii$Proxy
All Implemented Interfaces:
SimpleSynthOptions, StandardYarnSynthOptions, software.amazon.jsii.JsiiSerializable
Enclosing interface:
StandardYarnSynthOptions

@Stability(Deprecated) @Deprecated @Internal public static final class StandardYarnSynthOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements StandardYarnSynthOptions
Deprecated.
An implementation for StandardYarnSynthOptions
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Deprecated.
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(StandardYarnSynthOptions.Builder builder)
      Deprecated.
      Constructor that initializes the object based on literal property values passed by the StandardYarnSynthOptions.Builder.
  • Method Details

    • getBuildCommand

      public final String getBuildCommand()
      Deprecated.
      Description copied from interface: StandardYarnSynthOptions
      (deprecated) 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.

      Default: - No build required

      Specified by:
      getBuildCommand in interface StandardYarnSynthOptions
    • getInstallCommand

      public final String getInstallCommand()
      Deprecated.
      Description copied from interface: StandardYarnSynthOptions
      (deprecated) The install command.

      Default: 'yarn install --frozen-lockfile'

      Specified by:
      getInstallCommand in interface StandardYarnSynthOptions
    • getSynthCommand

      public final String getSynthCommand()
      Deprecated.
      Description copied from interface: StandardYarnSynthOptions
      (deprecated) The synth command.

      Default: 'npx cdk synth'

      Specified by:
      getSynthCommand in interface StandardYarnSynthOptions
    • getTestCommands

      public final List<String> getTestCommands()
      Deprecated.
      Description copied from interface: StandardYarnSynthOptions
      (deprecated) Test commands.

      These commands are run after the build commands but before the synth command.

      Default: - No test commands

      Specified by:
      getTestCommands in interface StandardYarnSynthOptions
    • getCloudAssemblyArtifact

      public final Artifact getCloudAssemblyArtifact()
      Deprecated.
      Description copied from interface: SimpleSynthOptions
      (deprecated) The artifact where the CloudAssembly should be emitted.
      Specified by:
      getCloudAssemblyArtifact in interface SimpleSynthOptions
    • getSourceArtifact

      public final Artifact getSourceArtifact()
      Deprecated.
      Description copied from interface: SimpleSynthOptions
      (deprecated) The source artifact of the CodePipeline.
      Specified by:
      getSourceArtifact in interface SimpleSynthOptions
    • getActionName

      public final String getActionName()
      Deprecated.
      Description copied from interface: SimpleSynthOptions
      (deprecated) Name of the build action.

      Default: 'Synth'

      Specified by:
      getActionName in interface SimpleSynthOptions
    • getAdditionalArtifacts

      public final List<AdditionalArtifact> getAdditionalArtifacts()
      Deprecated.
      Description copied from interface: SimpleSynthOptions
      (deprecated) 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.

      Default: - No additional artifacts generated

      Specified by:
      getAdditionalArtifacts in interface SimpleSynthOptions
    • getBuildSpec

      public final BuildSpec getBuildSpec()
      Deprecated.
      Description copied from interface: SimpleSynthOptions
      (deprecated) custom BuildSpec that is merged with the generated one.

      Default: - none

      Specified by:
      getBuildSpec in interface SimpleSynthOptions
    • getCopyEnvironmentVariables

      public final List<String> getCopyEnvironmentVariables()
      Deprecated.
      Description copied from interface: SimpleSynthOptions
      (deprecated) Environment variables to copy over from parent env.

      These are environment variables that are being used by the build.

      Default: - No environment variables copied

      Specified by:
      getCopyEnvironmentVariables in interface SimpleSynthOptions
    • getEnvironment

      public final BuildEnvironment getEnvironment()
      Deprecated.
      Description copied from interface: SimpleSynthOptions
      (deprecated) Build environment to use for CodeBuild job.

      Default: BuildEnvironment.LinuxBuildImage.STANDARD_5_0

      Specified by:
      getEnvironment in interface SimpleSynthOptions
    • getEnvironmentVariables

      public final Map<String,BuildEnvironmentVariable> getEnvironmentVariables()
      Deprecated.
      Description copied from interface: SimpleSynthOptions
      (deprecated) Environment variables to send into build.

      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

      Specified by:
      getEnvironmentVariables in interface SimpleSynthOptions
    • getProjectName

      public final String getProjectName()
      Deprecated.
      Description copied from interface: SimpleSynthOptions
      (deprecated) Name of the CodeBuild project.

      Default: - Automatically generated

      Specified by:
      getProjectName in interface SimpleSynthOptions
    • getRolePolicyStatements

      public final List<PolicyStatement> getRolePolicyStatements()
      Deprecated.
      Description copied from interface: SimpleSynthOptions
      (deprecated) Policy 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:
      getRolePolicyStatements in interface SimpleSynthOptions
    • getSubdirectory

      public final String getSubdirectory()
      Deprecated.
      Description copied from interface: SimpleSynthOptions
      (deprecated) Directory inside the source where package.json and cdk.json are located.

      Default: - Repository root

      Specified by:
      getSubdirectory in interface SimpleSynthOptions
    • getSubnetSelection

      public final SubnetSelection getSubnetSelection()
      Deprecated.
      Description copied from interface: SimpleSynthOptions
      (deprecated) Which subnets to use.

      Only used if 'vpc' is supplied.

      Default: - All private subnets.

      Specified by:
      getSubnetSelection in interface SimpleSynthOptions
    • getVpc

      public final IVpc getVpc()
      Deprecated.
      Description copied from interface: SimpleSynthOptions
      (deprecated) The VPC where to execute the SimpleSynth.

      Default: - No VPC

      Specified by:
      getVpc in interface SimpleSynthOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Deprecated.
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object