All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.cdklabs.cdk.cicd.wrapper.IPipelineConfig Maven / Gradle / Ivy

Go to download

This repository contains the infrastructure as code to wrap your AWS CDK project with CI/CD around it.

There is a newer version: 0.2.12
Show newest version
package io.github.cdklabs.cdk.cicd.wrapper;

/**
 * Represents the configuration for a vanilla pipeline.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-03T16:35:59.317Z")
@software.amazon.jsii.Jsii(module = io.github.cdklabs.cdk.cicd.wrapper.$Module.class, fqn = "@cdklabs/cdk-cicd-wrapper.IPipelineConfig")
@software.amazon.jsii.Jsii.Proxy(IPipelineConfig.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public interface IPipelineConfig extends software.amazon.jsii.JsiiSerializable {

    /**
     * The name of the application.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    @org.jetbrains.annotations.NotNull java.lang.String getApplicationName();

    /**
     * The name of the application.
     */
    void setApplicationName(final @org.jetbrains.annotations.NotNull java.lang.String value);

    /**
     * The qualifier for the application.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    @org.jetbrains.annotations.NotNull java.lang.String getApplicationQualifier();

    /**
     * The qualifier for the application.
     */
    void setApplicationQualifier(final @org.jetbrains.annotations.NotNull java.lang.String value);

    /**
     * The environment settings for CodeBuild.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.codebuild.BuildEnvironment getCodeBuildEnvSettings();

    /**
     * The environment settings for CodeBuild.
     */
    void setCodeBuildEnvSettings(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.codebuild.BuildEnvironment value);

    /**
     * The deployment definition for each stage.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    @org.jetbrains.annotations.NotNull java.util.Map getDeploymentDefinition();

    /**
     * The deployment definition for each stage.
     */
    void setDeploymentDefinition(final @org.jetbrains.annotations.NotNull java.util.Map value);

    /**
     * The number of days to retain logs.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    @org.jetbrains.annotations.NotNull java.lang.String getLogRetentionInDays();

    /**
     * The number of days to retain logs.
     */
    void setLogRetentionInDays(final @org.jetbrains.annotations.NotNull java.lang.String value);

    /**
     * The phases in the pipeline.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.cicd.wrapper.IPipelinePhases getPhases();

    /**
     * The phases in the pipeline.
     */
    void setPhases(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.cicd.wrapper.IPipelinePhases value);

    /**
     * The primary output directory for the pipeline.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    @org.jetbrains.annotations.NotNull java.lang.String getPrimaryOutputDirectory();

    /**
     * The primary output directory for the pipeline.
     */
    void setPrimaryOutputDirectory(final @org.jetbrains.annotations.NotNull java.lang.String value);

    /**
     * The build specification for the Synth phase.
     * 

* The buildSpec takes precedence over the phases. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.codebuild.BuildSpec getBuildSpec() { return null; } /** * The build specification for the Synth phase. *

* The buildSpec takes precedence over the phases. */ @software.amazon.jsii.Optional default void setBuildSpec(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.codebuild.BuildSpec value) { throw new UnsupportedOperationException("'void " + getClass().getCanonicalName() + "#setBuildSpec(@org.jetbrains.annotations.Nullable software.amazon.awscdk.services.codebuild.BuildSpec)' is not implemented!"); } /** * The severity threshold for CodeGuru scans (optional). */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.CodeGuruSeverityThreshold getCodeGuruScanThreshold() { return null; } /** * The severity threshold for CodeGuru scans (optional). */ @software.amazon.jsii.Optional default void setCodeGuruScanThreshold(final @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.CodeGuruSeverityThreshold value) { throw new UnsupportedOperationException("'void " + getClass().getCanonicalName() + "#setCodeGuruScanThreshold(@org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.CodeGuruSeverityThreshold)' is not implemented!"); } /** * The configuration for the NPM registry (optional). */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.NPMRegistryConfig getNpmRegistry() { return null; } /** * The configuration for the NPM registry (optional). */ @software.amazon.jsii.Optional default void setNpmRegistry(final @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.NPMRegistryConfig value) { throw new UnsupportedOperationException("'void " + getClass().getCanonicalName() + "#setNpmRegistry(@org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.NPMRegistryConfig)' is not implemented!"); } /** * Additional pipelineOptions. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.PipelineOptions getPipelineOptions() { return null; } /** * Additional pipelineOptions. */ @software.amazon.jsii.Optional default void setPipelineOptions(final @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.PipelineOptions value) { throw new UnsupportedOperationException("'void " + getClass().getCanonicalName() + "#setPipelineOptions(@org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.PipelineOptions)' is not implemented!"); } /** * The repository source for the pipeline. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.RepositorySource getRepositorySource() { return null; } /** * The repository source for the pipeline. */ @software.amazon.jsii.Optional default void setRepositorySource(final @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.RepositorySource value) { throw new UnsupportedOperationException("'void " + getClass().getCanonicalName() + "#setRepositorySource(@org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.RepositorySource)' is not implemented!"); } /** * The configuration for the workbench (optional). */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.WorkbenchConfig getWorkbench() { return null; } /** * The configuration for the workbench (optional). */ @software.amazon.jsii.Optional default void setWorkbench(final @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.WorkbenchConfig value) { throw new UnsupportedOperationException("'void " + getClass().getCanonicalName() + "#setWorkbench(@org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.WorkbenchConfig)' is not implemented!"); } /** * A proxy class which represents a concrete javascript instance of this type. */ @software.amazon.jsii.Internal final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements io.github.cdklabs.cdk.cicd.wrapper.IPipelineConfig.Jsii$Default { protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } /** * The name of the application. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final @org.jetbrains.annotations.NotNull java.lang.String getApplicationName() { return software.amazon.jsii.Kernel.get(this, "applicationName", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * The name of the application. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final void setApplicationName(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "applicationName", java.util.Objects.requireNonNull(value, "applicationName is required")); } /** * The qualifier for the application. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final @org.jetbrains.annotations.NotNull java.lang.String getApplicationQualifier() { return software.amazon.jsii.Kernel.get(this, "applicationQualifier", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * The qualifier for the application. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final void setApplicationQualifier(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "applicationQualifier", java.util.Objects.requireNonNull(value, "applicationQualifier is required")); } /** * The environment settings for CodeBuild. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.codebuild.BuildEnvironment getCodeBuildEnvSettings() { return software.amazon.jsii.Kernel.get(this, "codeBuildEnvSettings", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.codebuild.BuildEnvironment.class)); } /** * The environment settings for CodeBuild. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final void setCodeBuildEnvSettings(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.codebuild.BuildEnvironment value) { software.amazon.jsii.Kernel.set(this, "codeBuildEnvSettings", java.util.Objects.requireNonNull(value, "codeBuildEnvSettings is required")); } /** * The deployment definition for each stage. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final @org.jetbrains.annotations.NotNull java.util.Map getDeploymentDefinition() { return java.util.Collections.unmodifiableMap(software.amazon.jsii.Kernel.get(this, "deploymentDefinition", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.cicd.wrapper.DeploymentDefinition.class)))); } /** * The deployment definition for each stage. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final void setDeploymentDefinition(final @org.jetbrains.annotations.NotNull java.util.Map value) { software.amazon.jsii.Kernel.set(this, "deploymentDefinition", java.util.Objects.requireNonNull(value, "deploymentDefinition is required")); } /** * The number of days to retain logs. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final @org.jetbrains.annotations.NotNull java.lang.String getLogRetentionInDays() { return software.amazon.jsii.Kernel.get(this, "logRetentionInDays", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * The number of days to retain logs. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final void setLogRetentionInDays(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "logRetentionInDays", java.util.Objects.requireNonNull(value, "logRetentionInDays is required")); } /** * The phases in the pipeline. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.cicd.wrapper.IPipelinePhases getPhases() { return software.amazon.jsii.Kernel.get(this, "phases", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.cicd.wrapper.IPipelinePhases.class)); } /** * The phases in the pipeline. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final void setPhases(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.cicd.wrapper.IPipelinePhases value) { software.amazon.jsii.Kernel.set(this, "phases", java.util.Objects.requireNonNull(value, "phases is required")); } /** * The primary output directory for the pipeline. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final @org.jetbrains.annotations.NotNull java.lang.String getPrimaryOutputDirectory() { return software.amazon.jsii.Kernel.get(this, "primaryOutputDirectory", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * The primary output directory for the pipeline. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final void setPrimaryOutputDirectory(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "primaryOutputDirectory", java.util.Objects.requireNonNull(value, "primaryOutputDirectory is required")); } /** * The build specification for the Synth phase. *

* The buildSpec takes precedence over the phases. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.codebuild.BuildSpec getBuildSpec() { return software.amazon.jsii.Kernel.get(this, "buildSpec", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.codebuild.BuildSpec.class)); } /** * The build specification for the Synth phase. *

* The buildSpec takes precedence over the phases. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final void setBuildSpec(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.codebuild.BuildSpec value) { software.amazon.jsii.Kernel.set(this, "buildSpec", value); } /** * The severity threshold for CodeGuru scans (optional). */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.CodeGuruSeverityThreshold getCodeGuruScanThreshold() { return software.amazon.jsii.Kernel.get(this, "codeGuruScanThreshold", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.cicd.wrapper.CodeGuruSeverityThreshold.class)); } /** * The severity threshold for CodeGuru scans (optional). */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final void setCodeGuruScanThreshold(final @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.CodeGuruSeverityThreshold value) { software.amazon.jsii.Kernel.set(this, "codeGuruScanThreshold", value); } /** * The configuration for the NPM registry (optional). */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.NPMRegistryConfig getNpmRegistry() { return software.amazon.jsii.Kernel.get(this, "npmRegistry", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.cicd.wrapper.NPMRegistryConfig.class)); } /** * The configuration for the NPM registry (optional). */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final void setNpmRegistry(final @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.NPMRegistryConfig value) { software.amazon.jsii.Kernel.set(this, "npmRegistry", value); } /** * Additional pipelineOptions. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.PipelineOptions getPipelineOptions() { return software.amazon.jsii.Kernel.get(this, "pipelineOptions", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.cicd.wrapper.PipelineOptions.class)); } /** * Additional pipelineOptions. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final void setPipelineOptions(final @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.PipelineOptions value) { software.amazon.jsii.Kernel.set(this, "pipelineOptions", value); } /** * The repository source for the pipeline. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.RepositorySource getRepositorySource() { return software.amazon.jsii.Kernel.get(this, "repositorySource", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.cicd.wrapper.RepositorySource.class)); } /** * The repository source for the pipeline. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final void setRepositorySource(final @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.RepositorySource value) { software.amazon.jsii.Kernel.set(this, "repositorySource", value); } /** * The configuration for the workbench (optional). */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.WorkbenchConfig getWorkbench() { return software.amazon.jsii.Kernel.get(this, "workbench", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.cicd.wrapper.WorkbenchConfig.class)); } /** * The configuration for the workbench (optional). */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final void setWorkbench(final @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.WorkbenchConfig value) { software.amazon.jsii.Kernel.set(this, "workbench", value); } } /** * Internal default implementation for {@link IPipelineConfig}. */ @software.amazon.jsii.Internal interface Jsii$Default extends IPipelineConfig { /** * The name of the application. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.NotNull java.lang.String getApplicationName() { return software.amazon.jsii.Kernel.get(this, "applicationName", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * The name of the application. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default void setApplicationName(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "applicationName", java.util.Objects.requireNonNull(value, "applicationName is required")); } /** * The qualifier for the application. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.NotNull java.lang.String getApplicationQualifier() { return software.amazon.jsii.Kernel.get(this, "applicationQualifier", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * The qualifier for the application. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default void setApplicationQualifier(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "applicationQualifier", java.util.Objects.requireNonNull(value, "applicationQualifier is required")); } /** * The environment settings for CodeBuild. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.codebuild.BuildEnvironment getCodeBuildEnvSettings() { return software.amazon.jsii.Kernel.get(this, "codeBuildEnvSettings", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.codebuild.BuildEnvironment.class)); } /** * The environment settings for CodeBuild. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default void setCodeBuildEnvSettings(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.codebuild.BuildEnvironment value) { software.amazon.jsii.Kernel.set(this, "codeBuildEnvSettings", java.util.Objects.requireNonNull(value, "codeBuildEnvSettings is required")); } /** * The deployment definition for each stage. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.NotNull java.util.Map getDeploymentDefinition() { return java.util.Collections.unmodifiableMap(software.amazon.jsii.Kernel.get(this, "deploymentDefinition", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.cicd.wrapper.DeploymentDefinition.class)))); } /** * The deployment definition for each stage. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default void setDeploymentDefinition(final @org.jetbrains.annotations.NotNull java.util.Map value) { software.amazon.jsii.Kernel.set(this, "deploymentDefinition", java.util.Objects.requireNonNull(value, "deploymentDefinition is required")); } /** * The number of days to retain logs. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.NotNull java.lang.String getLogRetentionInDays() { return software.amazon.jsii.Kernel.get(this, "logRetentionInDays", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * The number of days to retain logs. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default void setLogRetentionInDays(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "logRetentionInDays", java.util.Objects.requireNonNull(value, "logRetentionInDays is required")); } /** * The phases in the pipeline. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.cicd.wrapper.IPipelinePhases getPhases() { return software.amazon.jsii.Kernel.get(this, "phases", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.cicd.wrapper.IPipelinePhases.class)); } /** * The phases in the pipeline. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default void setPhases(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.cicd.wrapper.IPipelinePhases value) { software.amazon.jsii.Kernel.set(this, "phases", java.util.Objects.requireNonNull(value, "phases is required")); } /** * The primary output directory for the pipeline. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.NotNull java.lang.String getPrimaryOutputDirectory() { return software.amazon.jsii.Kernel.get(this, "primaryOutputDirectory", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * The primary output directory for the pipeline. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default void setPrimaryOutputDirectory(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "primaryOutputDirectory", java.util.Objects.requireNonNull(value, "primaryOutputDirectory is required")); } /** * The build specification for the Synth phase. *

* The buildSpec takes precedence over the phases. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.codebuild.BuildSpec getBuildSpec() { return software.amazon.jsii.Kernel.get(this, "buildSpec", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.codebuild.BuildSpec.class)); } /** * The build specification for the Synth phase. *

* The buildSpec takes precedence over the phases. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default void setBuildSpec(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.codebuild.BuildSpec value) { software.amazon.jsii.Kernel.set(this, "buildSpec", value); } /** * The severity threshold for CodeGuru scans (optional). */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.CodeGuruSeverityThreshold getCodeGuruScanThreshold() { return software.amazon.jsii.Kernel.get(this, "codeGuruScanThreshold", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.cicd.wrapper.CodeGuruSeverityThreshold.class)); } /** * The severity threshold for CodeGuru scans (optional). */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default void setCodeGuruScanThreshold(final @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.CodeGuruSeverityThreshold value) { software.amazon.jsii.Kernel.set(this, "codeGuruScanThreshold", value); } /** * The configuration for the NPM registry (optional). */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.NPMRegistryConfig getNpmRegistry() { return software.amazon.jsii.Kernel.get(this, "npmRegistry", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.cicd.wrapper.NPMRegistryConfig.class)); } /** * The configuration for the NPM registry (optional). */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default void setNpmRegistry(final @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.NPMRegistryConfig value) { software.amazon.jsii.Kernel.set(this, "npmRegistry", value); } /** * Additional pipelineOptions. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.PipelineOptions getPipelineOptions() { return software.amazon.jsii.Kernel.get(this, "pipelineOptions", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.cicd.wrapper.PipelineOptions.class)); } /** * Additional pipelineOptions. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default void setPipelineOptions(final @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.PipelineOptions value) { software.amazon.jsii.Kernel.set(this, "pipelineOptions", value); } /** * The repository source for the pipeline. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.RepositorySource getRepositorySource() { return software.amazon.jsii.Kernel.get(this, "repositorySource", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.cicd.wrapper.RepositorySource.class)); } /** * The repository source for the pipeline. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default void setRepositorySource(final @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.RepositorySource value) { software.amazon.jsii.Kernel.set(this, "repositorySource", value); } /** * The configuration for the workbench (optional). */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.WorkbenchConfig getWorkbench() { return software.amazon.jsii.Kernel.get(this, "workbench", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.cicd.wrapper.WorkbenchConfig.class)); } /** * The configuration for the workbench (optional). */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default void setWorkbench(final @org.jetbrains.annotations.Nullable io.github.cdklabs.cdk.cicd.wrapper.WorkbenchConfig value) { software.amazon.jsii.Kernel.set(this, "workbench", value); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy