Skip to content
v2.273.0

ImageBuildConfigurationProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticbeanstalk as elasticbeanstalk } from 'aws-cdk-lib';
const imageBuildConfigurationProperty: elasticbeanstalk.CfnApplicationVersion.ImageBuildConfigurationProperty = {
  codeBuildServiceRole: 'codeBuildServiceRole',
  type: 'type',

  // the properties below are optional
  architecture: 'architecture',
  buildpack: 'buildpack',
  computeType: 'computeType',
  dockerfileLocation: 'dockerfileLocation',
  timeoutInMinutes: 123,
};

Properties ​

architecturestringarchitecturestrarchitectureStringArchitecturestringArchitecture*string#
The target architecture for the built container image.
buildpackstringbuildpackstrbuildpackStringBuildpackstringBuildpack*string#
The buildpack to use for building the image.
codeBuildServiceRolestringcode_build_service_rolestrcodeBuildServiceRoleStringCodeBuildServiceRolestringCodeBuildServiceRole*stringrequired#
The ARN of the IAM role that AWS CodeBuild assumes to build the application version.
computeTypestringcompute_typestrcomputeTypeStringComputeTypestringComputeType*string#
The compute type for the CodeBuild build environment.
dockerfileLocationstringdockerfile_locationstrdockerfileLocationStringDockerfileLocationstringDockerfileLocation*string#
The path to the Dockerfile, relative to the source root.
timeoutInMinutesnumbertimeout_in_minutesint | floattimeoutInMinutesNumberTimeoutInMinutesdoubleTimeoutInMinutes*float64#
The timeout for the CodeBuild build, in minutes.
typestringtypestrtypeStringTypestringType*stringrequired#
The type of image build: docker or buildpack.