# ImageBuildConfigurationProperty

- Source: Generated code
- Type last changed: v2.272.0 · 30 Sep 2026

## 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

- `architecture`: string — The target architecture for the built container image.

- `buildpack`: string — The buildpack to use for building the image.

- `codeBuildServiceRole`: string (required) — The ARN of the IAM role that AWS CodeBuild assumes to build the application version.

- `computeType`: string — The compute type for the CodeBuild build environment.

- `dockerfileLocation`: string — The path to the Dockerfile, relative to the source root.

- `timeoutInMinutes`: number — The timeout for the CodeBuild build, in minutes.

- `type`: string (required) — The type of image build: docker or buildpack.
