class CfnCodeInterpreterCustomPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.BedrockAgentCore.Mixins.CfnCodeInterpreterCustomPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrockagentcore/mixins#CfnCodeInterpreterCustomPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.bedrockagentcore.mixins.CfnCodeInterpreterCustomPropsMixin |
Python | aws_cdk.mixins_preview.aws_bedrockagentcore.mixins.CfnCodeInterpreterCustomPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_bedrockagentcore » mixins » CfnCodeInterpreterCustomPropsMixin |
Implements
IMixin
Extends
Mixin
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 .
See the Properties section below for descriptions of both the required and optional properties.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as bedrockagentcore_mixins } from '@aws-cdk/mixins-preview/aws-bedrockagentcore';
const cfnCodeInterpreterCustomPropsMixin = new bedrockagentcore_mixins.CfnCodeInterpreterCustomPropsMixin({
description: 'description',
executionRoleArn: 'executionRoleArn',
name: 'name',
networkConfiguration: {
networkMode: 'networkMode',
vpcConfig: {
securityGroups: ['securityGroups'],
subnets: ['subnets'],
},
},
tags: {
tagsKey: 'tags',
},
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnCodeInterpreterCustomPropsMixin(props: CfnCodeInterpreterCustomMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Code Interpreter Custom Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::BedrockAgentCore::CodeInterpreterCustom.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript