Interface ImageBuildConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ImageBuildConfiguration.Builder,,ImageBuildConfiguration> SdkBuilder<ImageBuildConfiguration.Builder,,ImageBuildConfiguration> SdkPojo
- Enclosing class:
ImageBuildConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionarchitecture(String architecture) The processor architecture that Elastic Beanstalk builds the container image for.architecture(ArchitectureType architecture) The processor architecture that Elastic Beanstalk builds the container image for.The Cloud Native Buildpacks builder image that Elastic Beanstalk uses to build the container image.codeBuildServiceRole(String codeBuildServiceRole) The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that CodeBuild assumes to run the build in your Amazon Web Services account.computeType(String computeType) The size of the compute resources that run the build.computeType(ComputeType computeType) The size of the compute resources that run the build.dockerfileLocation(String dockerfileLocation) The path to the Dockerfile within the source bundle, relative to the root of the source bundle.timeoutInMinutes(Integer timeoutInMinutes) How long, in minutes from 5 to 480 (8 hours), Elastic Beanstalk waits before stopping a build that hasn't completed.How Elastic Beanstalk builds the container image.type(ImageBuildType type) How Elastic Beanstalk builds the container image.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
type
How Elastic Beanstalk builds the container image. Elastic Beanstalk rejects a
Buildthat doesn't specify it.Valid values:
-
docker– Elastic Beanstalk builds the image from a Dockerfile in your source bundle. Specify the Dockerfile withDockerfileLocation. -
buildpack– Elastic Beanstalk builds the image with a Cloud Native Buildpacks builder. Specify the builder withBuildpack.
- Parameters:
type- How Elastic Beanstalk builds the container image. Elastic Beanstalk rejects aBuildthat doesn't specify it.Valid values:
-
docker– Elastic Beanstalk builds the image from a Dockerfile in your source bundle. Specify the Dockerfile withDockerfileLocation. -
buildpack– Elastic Beanstalk builds the image with a Cloud Native Buildpacks builder. Specify the builder withBuildpack.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
type
How Elastic Beanstalk builds the container image. Elastic Beanstalk rejects a
Buildthat doesn't specify it.Valid values:
-
docker– Elastic Beanstalk builds the image from a Dockerfile in your source bundle. Specify the Dockerfile withDockerfileLocation. -
buildpack– Elastic Beanstalk builds the image with a Cloud Native Buildpacks builder. Specify the builder withBuildpack.
- Parameters:
type- How Elastic Beanstalk builds the container image. Elastic Beanstalk rejects aBuildthat doesn't specify it.Valid values:
-
docker– Elastic Beanstalk builds the image from a Dockerfile in your source bundle. Specify the Dockerfile withDockerfileLocation. -
buildpack– Elastic Beanstalk builds the image with a Cloud Native Buildpacks builder. Specify the builder withBuildpack.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
dockerfileLocation
The path to the Dockerfile within the source bundle, relative to the root of the source bundle. For example,
backend/Dockerfile.Elastic Beanstalk uses this member only when
Typeisdocker. If you don't specify it, Elastic Beanstalk uses the Dockerfile at the root of the source bundle.- Parameters:
dockerfileLocation- The path to the Dockerfile within the source bundle, relative to the root of the source bundle. For example,backend/Dockerfile.Elastic Beanstalk uses this member only when
Typeisdocker. If you don't specify it, Elastic Beanstalk uses the Dockerfile at the root of the source bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildpack
The Cloud Native Buildpacks builder image that Elastic Beanstalk uses to build the container image. For example,
paketobuildpacks/builder-jammy-base.This member is required when
Typeisbuildpack. Elastic Beanstalk doesn't provide a default builder.- Parameters:
buildpack- The Cloud Native Buildpacks builder image that Elastic Beanstalk uses to build the container image. For example,paketobuildpacks/builder-jammy-base.This member is required when
Typeisbuildpack. Elastic Beanstalk doesn't provide a default builder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
architecture
The processor architecture that Elastic Beanstalk builds the container image for. The architecture must match the architecture of the instances in the environment that you deploy the application version to.
Valid values:
-
amd64– x86-64 instances. This is the default. -
arm64– Amazon Web Services Graviton instances.
- Parameters:
architecture- The processor architecture that Elastic Beanstalk builds the container image for. The architecture must match the architecture of the instances in the environment that you deploy the application version to.Valid values:
-
amd64– x86-64 instances. This is the default. -
arm64– Amazon Web Services Graviton instances.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
architecture
The processor architecture that Elastic Beanstalk builds the container image for. The architecture must match the architecture of the instances in the environment that you deploy the application version to.
Valid values:
-
amd64– x86-64 instances. This is the default. -
arm64– Amazon Web Services Graviton instances.
- Parameters:
architecture- The processor architecture that Elastic Beanstalk builds the container image for. The architecture must match the architecture of the instances in the environment that you deploy the application version to.Valid values:
-
amd64– x86-64 instances. This is the default. -
arm64– Amazon Web Services Graviton instances.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
codeBuildServiceRole
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that CodeBuild assumes to run the build in your Amazon Web Services account. Elastic Beanstalk rejects a
Buildthat doesn't specify this role.- Parameters:
codeBuildServiceRole- The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that CodeBuild assumes to run the build in your Amazon Web Services account. Elastic Beanstalk rejects aBuildthat doesn't specify this role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeType
The size of the compute resources that run the build. If you don't specify it, Elastic Beanstalk uses
BUILD_GENERAL1_MEDIUM.Valid values:
-
BUILD_GENERAL1_SMALL– Use up to 3 GB memory and 2 vCPUs for builds. -
BUILD_GENERAL1_MEDIUM– Use up to 7 GB memory and 4 vCPUs for builds. -
BUILD_GENERAL1_LARGE– Use up to 15 GB memory and 8 vCPUs for builds.
- Parameters:
computeType- The size of the compute resources that run the build. If you don't specify it, Elastic Beanstalk usesBUILD_GENERAL1_MEDIUM.Valid values:
-
BUILD_GENERAL1_SMALL– Use up to 3 GB memory and 2 vCPUs for builds. -
BUILD_GENERAL1_MEDIUM– Use up to 7 GB memory and 4 vCPUs for builds. -
BUILD_GENERAL1_LARGE– Use up to 15 GB memory and 8 vCPUs for builds.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
computeType
The size of the compute resources that run the build. If you don't specify it, Elastic Beanstalk uses
BUILD_GENERAL1_MEDIUM.Valid values:
-
BUILD_GENERAL1_SMALL– Use up to 3 GB memory and 2 vCPUs for builds. -
BUILD_GENERAL1_MEDIUM– Use up to 7 GB memory and 4 vCPUs for builds. -
BUILD_GENERAL1_LARGE– Use up to 15 GB memory and 8 vCPUs for builds.
- Parameters:
computeType- The size of the compute resources that run the build. If you don't specify it, Elastic Beanstalk usesBUILD_GENERAL1_MEDIUM.Valid values:
-
BUILD_GENERAL1_SMALL– Use up to 3 GB memory and 2 vCPUs for builds. -
BUILD_GENERAL1_MEDIUM– Use up to 7 GB memory and 4 vCPUs for builds. -
BUILD_GENERAL1_LARGE– Use up to 15 GB memory and 8 vCPUs for builds.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
timeoutInMinutes
How long, in minutes from 5 to 480 (8 hours), Elastic Beanstalk waits before stopping a build that hasn't completed. The default is 60 minutes.
- Parameters:
timeoutInMinutes- How long, in minutes from 5 to 480 (8 hours), Elastic Beanstalk waits before stopping a build that hasn't completed. The default is 60 minutes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-