# BuildConfigProperty

The build configuration for the revision.

- Source: Generated code
- Type last changed: v2.273.0 · 8 Oct 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const buildConfigProperty: lambda.CfnWebFunctionRevision.BuildConfigProperty = {
  codeConfig: {
    s3Object: {
      bucket: 'bucket',
      key: 'key',

      // the properties below are optional
      versionId: 'versionId',
    },
  },
  runtimeConfig: {
    runtime: 'runtime',
  },
};
```

## Properties

- `codeConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnWebFunctionRevision.CodeConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.CfnWebFunctionRevision.CodeConfigProperty.html) (required) — The code configuration for the revision.

- `runtimeConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnWebFunctionRevision.RuntimeConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.CfnWebFunctionRevision.RuntimeConfigProperty.html) (required) — The runtime configuration for the revision.
