# CodeConfigurationProperty

Representation of a code configuration.

- Source: Generated code
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const codeConfigurationProperty: bedrockagentcore.CfnRuntime.CodeConfigurationProperty = {
  code: {
    s3: {
      bucket: 'bucket',
      prefix: 'prefix',

      // the properties below are optional
      versionId: 'versionId',
    },
  },
  entryPoint: ['entryPoint'],
  runtime: 'runtime',
};
```

## Properties

- `code`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRuntime.CodeProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnRuntime.CodeProperty.html) (required) — Object represents source code from zip file.

- `entryPoint`: string[] (required) — List of entry points.

- `runtime`: string (required) — Managed runtime types.
