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

software.amazon.awscdk.services.codebuild.LinuxBuildImage Maven / Gradle / Ivy

There is a newer version: 1.204.0
Show newest version
package software.amazon.awscdk.services.codebuild;

/**
 * A CodeBuild image running Linux.
 * 

* This class has a bunch of public constants that represent the most popular images. *

* You can also specify a custom image using one of the static methods: *

*

    *
  • LinuxBuildImage.fromDockerRegistry(image[, { secretsManagerCredentials }])
  • *
  • LinuxBuildImage.fromEcrRepository(repo[, tag])
  • *
  • LinuxBuildImage.fromAsset(parent, id, props)
  • *
*

* @see https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html */ @javax.annotation.Generated(value = "jsii-pacmak/0.22.0 (build 14afdde)", date = "2020-03-18T10:30:26.061Z") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.codebuild.$Module.class, fqn = "@aws-cdk/aws-codebuild.LinuxBuildImage") public class LinuxBuildImage extends software.amazon.jsii.JsiiObject implements software.amazon.awscdk.services.codebuild.IBuildImage { protected LinuxBuildImage(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } protected LinuxBuildImage(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) { super(initializationMode); } static { AMAZON_LINUX_2 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "AMAZON_LINUX_2", software.amazon.awscdk.services.codebuild.IBuildImage.class); AMAZON_LINUX_2_2 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "AMAZON_LINUX_2_2", software.amazon.awscdk.services.codebuild.IBuildImage.class); AMAZON_LINUX_2_ARM = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "AMAZON_LINUX_2_ARM", software.amazon.awscdk.services.codebuild.IBuildImage.class); STANDARD_1_0 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "STANDARD_1_0", software.amazon.awscdk.services.codebuild.IBuildImage.class); STANDARD_2_0 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "STANDARD_2_0", software.amazon.awscdk.services.codebuild.IBuildImage.class); STANDARD_3_0 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "STANDARD_3_0", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_ANDROID_JAV_A8_24_4_1 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_ANDROID_JAVA8_24_4_1", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_ANDROID_JAV_A8_26_1_1 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_ANDROID_JAVA8_26_1_1", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_BASE = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_BASE", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_DOCKER_17_09_0 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_DOCKER_17_09_0", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_DOCKER_18_09_0 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_DOCKER_18_09_0", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_DOTNET_CORE_1_1 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_DOTNET_CORE_1_1", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_DOTNET_CORE_2_0 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_DOTNET_CORE_2_0", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_DOTNET_CORE_2_1 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_DOTNET_CORE_2_1", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_GOLANG_1_10 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_GOLANG_1_10", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_GOLANG_1_11 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_GOLANG_1_11", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_NODEJS_10_1_0 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_NODEJS_10_1_0", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_NODEJS_10_14_1 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_NODEJS_10_14_1", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_NODEJS_6_3_1 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_NODEJS_6_3_1", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_NODEJS_8_11_0 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_NODEJS_8_11_0", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_OPEN_JDK_11 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_OPEN_JDK_11", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_OPEN_JDK_8 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_OPEN_JDK_8", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_OPEN_JDK_9 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_OPEN_JDK_9", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_PHP_5_6 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_PHP_5_6", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_PHP_7_0 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_PHP_7_0", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_PHP_7_1 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_PHP_7_1", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_PYTHON_2_7_12 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_PYTHON_2_7_12", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_PYTHON_3_3_6 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_PYTHON_3_3_6", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_PYTHON_3_4_5 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_PYTHON_3_4_5", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_PYTHON_3_5_2 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_PYTHON_3_5_2", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_PYTHON_3_6_5 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_PYTHON_3_6_5", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_PYTHON_3_7_1 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_PYTHON_3_7_1", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_RUBY_2_2_5 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_RUBY_2_2_5", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_RUBY_2_3_1 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_RUBY_2_3_1", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_RUBY_2_5_1 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_RUBY_2_5_1", software.amazon.awscdk.services.codebuild.IBuildImage.class); UBUNTU_14_04_RUBY_2_5_3 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "UBUNTU_14_04_RUBY_2_5_3", software.amazon.awscdk.services.codebuild.IBuildImage.class); } /** * Uses an Docker image asset as a Linux build image. *

* @param scope This parameter is required. * @param id This parameter is required. * @param props This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.codebuild.IBuildImage fromAsset(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.core.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ecr.assets.DockerImageAssetProps props) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "fromAsset", software.amazon.awscdk.services.codebuild.IBuildImage.class, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(props, "props is required") }); } /** * @return a Linux build image from a Docker Hub image. * @param name This parameter is required. * @param options */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.codebuild.IBuildImage fromDockerRegistry(final @org.jetbrains.annotations.NotNull java.lang.String name, final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.codebuild.DockerImageOptions options) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "fromDockerRegistry", software.amazon.awscdk.services.codebuild.IBuildImage.class, new Object[] { java.util.Objects.requireNonNull(name, "name is required"), options }); } /** * @return a Linux build image from a Docker Hub image. * @param name This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.codebuild.IBuildImage fromDockerRegistry(final @org.jetbrains.annotations.NotNull java.lang.String name) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "fromDockerRegistry", software.amazon.awscdk.services.codebuild.IBuildImage.class, new Object[] { java.util.Objects.requireNonNull(name, "name is required") }); } /** * @return A Linux build image from an ECR repository. * NOTE: if the repository is external (i.e. imported), then we won't be able to add * a resource policy statement for it so CodeBuild can pull the image. * @see https://docs.aws.amazon.com/codebuild/latest/userguide/sample-ecr.html * @param repository The ECR repository. This parameter is required. * @param tag Image tag (default "latest"). */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.codebuild.IBuildImage fromEcrRepository(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ecr.IRepository repository, final @org.jetbrains.annotations.Nullable java.lang.String tag) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "fromEcrRepository", software.amazon.awscdk.services.codebuild.IBuildImage.class, new Object[] { java.util.Objects.requireNonNull(repository, "repository is required"), tag }); } /** * @return A Linux build image from an ECR repository. * NOTE: if the repository is external (i.e. imported), then we won't be able to add * a resource policy statement for it so CodeBuild can pull the image. * @see https://docs.aws.amazon.com/codebuild/latest/userguide/sample-ecr.html * @param repository The ECR repository. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.codebuild.IBuildImage fromEcrRepository(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ecr.IRepository repository) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.services.codebuild.LinuxBuildImage.class, "fromEcrRepository", software.amazon.awscdk.services.codebuild.IBuildImage.class, new Object[] { java.util.Objects.requireNonNull(repository, "repository is required") }); } /** * Make a buildspec to run the indicated script. *

* @param entrypoint This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.codebuild.BuildSpec runScriptBuildspec(final @org.jetbrains.annotations.NotNull java.lang.String entrypoint) { return this.jsiiCall("runScriptBuildspec", software.amazon.awscdk.services.codebuild.BuildSpec.class, new Object[] { java.util.Objects.requireNonNull(entrypoint, "entrypoint is required") }); } /** * Allows the image a chance to validate whether the passed configuration is correct. *

* @param _ This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override public @org.jetbrains.annotations.NotNull java.util.List validate(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.codebuild.BuildEnvironment _) { return java.util.Collections.unmodifiableList(this.jsiiCall("validate", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)), new Object[] { java.util.Objects.requireNonNull(_, "_ is required") })); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final static software.amazon.awscdk.services.codebuild.IBuildImage AMAZON_LINUX_2; /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final static software.amazon.awscdk.services.codebuild.IBuildImage AMAZON_LINUX_2_2; /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final static software.amazon.awscdk.services.codebuild.IBuildImage AMAZON_LINUX_2_ARM; /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final static software.amazon.awscdk.services.codebuild.IBuildImage STANDARD_1_0; /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final static software.amazon.awscdk.services.codebuild.IBuildImage STANDARD_2_0; /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final static software.amazon.awscdk.services.codebuild.IBuildImage STANDARD_3_0; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_ANDROID_JAV_A8_24_4_1; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_ANDROID_JAV_A8_26_1_1; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_BASE; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_DOCKER_17_09_0; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_DOCKER_18_09_0; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_DOTNET_CORE_1_1; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_DOTNET_CORE_2_0; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_DOTNET_CORE_2_1; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_GOLANG_1_10; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_GOLANG_1_11; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_NODEJS_10_1_0; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_NODEJS_10_14_1; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_NODEJS_6_3_1; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_NODEJS_8_11_0; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_OPEN_JDK_11; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_OPEN_JDK_8; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_OPEN_JDK_9; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_PHP_5_6; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_PHP_7_0; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_PHP_7_1; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_PYTHON_2_7_12; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_PYTHON_3_3_6; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_PYTHON_3_4_5; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_PYTHON_3_5_2; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_PYTHON_3_6_5; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_PYTHON_3_7_1; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_RUBY_2_2_5; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_RUBY_2_3_1; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_RUBY_2_5_1; /** * @deprecated Use {@link STANDARD_2_0} and specify runtime in buildspec runtime-versions section */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public final static software.amazon.awscdk.services.codebuild.IBuildImage UBUNTU_14_04_RUBY_2_5_3; /** * The default {@link ComputeType} to use with this image, if one was not specified in {@link BuildEnvironment#computeType} explicitly. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.codebuild.ComputeType getDefaultComputeType() { return this.jsiiGet("defaultComputeType", software.amazon.awscdk.services.codebuild.ComputeType.class); } /** * The Docker image identifier that the build environment uses. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull java.lang.String getImageId() { return this.jsiiGet("imageId", java.lang.String.class); } /** * The type of build environment. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull java.lang.String getType() { return this.jsiiGet("type", java.lang.String.class); } /** * The type of principal that CodeBuild will use to pull this build Docker image. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.codebuild.ImagePullPrincipalType getImagePullPrincipalType() { return this.jsiiGet("imagePullPrincipalType", software.amazon.awscdk.services.codebuild.ImagePullPrincipalType.class); } /** * An optional ECR repository that the image is hosted in. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.ecr.IRepository getRepository() { return this.jsiiGet("repository", software.amazon.awscdk.services.ecr.IRepository.class); } /** * The secretsManagerCredentials for access to a private registry. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.secretsmanager.ISecret getSecretsManagerCredentials() { return this.jsiiGet("secretsManagerCredentials", software.amazon.awscdk.services.secretsmanager.ISecret.class); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy