# CodeProperty

Object represents source code from zip file.

- 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 codeProperty: bedrockagentcore.CfnRuntime.CodeProperty = {
  s3: {
    bucket: 'bucket',
    prefix: 'prefix',

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

## Properties

- `s3`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRuntime.S3LocationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnRuntime.S3LocationProperty.html) — S3 Location Configuration.
