# CfnCodeInterpreterCustomPropsMixin

The AgentCore Code Interpreter tool enables agents to securely execute code in isolated sandbox environments.

It offers advanced configuration support and seamless integration with popular frameworks.

For more information about using the custom code interpreter, see [Execute code and analyze data using Amazon Bedrock AgentCore Code Interpreter](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/code-interpreter-tool.html) .

See the *Properties* section below for descriptions of both the required and optional properties.

Extends: [Mixin](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Mixin.html) › CfnCodeInterpreterCustomPropsMixin
Implements: [IMixin](https://docs.aws.amazon.com/cdk/api/v2/docs/constructs.IMixin.html)

- CloudFormation: [`AWS::BedrockAgentCore::CodeInterpreterCustom`](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-bedrockagentcore-codeinterpretercustom.html)
- Source: Generated at build time
- Type last changed: v2.269.0 · 16 Sep 2026

## Initializer

TypeScript:

```ts
new CfnCodeInterpreterCustomPropsMixin(props: CfnCodeInterpreterCustomMixinProps, options?: CfnPropertyMixinOptions)
```

Python:

```python
CfnCodeInterpreterCustomPropsMixin(props: CfnCodeInterpreterCustomMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
```

Java:

```java
new CfnCodeInterpreterCustomPropsMixin(CfnCodeInterpreterCustomMixinProps props, CfnPropertyMixinOptions options)
```

C# / .NET:

```csharp
new CfnCodeInterpreterCustomPropsMixin(CfnCodeInterpreterCustomMixinProps props, CfnPropertyMixinOptions? options = null)
```

Golang:

```go
NewCfnCodeInterpreterCustomPropsMixin(Props CfnCodeInterpreterCustomMixinProps, Options CfnPropertyMixinOptions)
```

## Methods

- `applyTo(construct: IConstruct): void` — Apply the mixin properties to the construct.

- `isMixin(x: any): boolean` (static) — Checks if `x` is a Mixin.

  **Parameters**

  - `x` — Any object.

  **Returns:** true if `x` is an object created from a class which extends `Mixin`.

- `supports(construct: IConstruct): boolean` — Check if this mixin supports the given construct.
