class CfnCodeInterpreterCustomLogsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.BedrockAgentCore.Mixins.CfnCodeInterpreterCustomLogsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrockagentcore/mixins#CfnCodeInterpreterCustomLogsMixin |
Java | software.amazon.awscdk.mixins.preview.services.bedrockagentcore.mixins.CfnCodeInterpreterCustomLogsMixin |
Python | aws_cdk.mixins_preview.aws_bedrockagentcore.mixins.CfnCodeInterpreterCustomLogsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_bedrockagentcore » mixins » CfnCodeInterpreterCustomLogsMixin |
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 { aws_logs as logs } from '@aws-cdk/mixins-preview';
import { mixins as bedrockagentcore_mixins } from '@aws-cdk/mixins-preview/aws-bedrockagentcore';
declare const logsDelivery: logs.ILogsDelivery;
const cfnCodeInterpreterCustomLogsMixin = new bedrockagentcore_mixins.CfnCodeInterpreterCustomLogsMixin('logType', logsDelivery);
Initializer
new CfnCodeInterpreterCustomLogsMixin(logType: string, logDelivery: ILogsDelivery)
Parameters
- logType
string— Type of logs that are getting vended. - logDelivery
ILogs— Object in charge of setting up the delivery source, delivery destination, and delivery connection.Delivery
Create a mixin to enable vended logs for AWS::BedrockAgentCore::CodeInterpreterCustom.
Properties
| Name | Type | Description |
|---|---|---|
| log | ILogs | |
| log | string | |
| static APPLICATION_LOGS | Cfn | |
| static USAGE_LOGS | Cfn |
logDelivery
Type:
ILogs
logType
Type:
string
static APPLICATION_LOGS
Type:
Cfn
static USAGE_LOGS
Type:
Cfn
Methods
| Name | Description |
|---|---|
| apply | Apply vended logs configuration to the construct. |
| supports(construct) | Check if this mixin supports the given construct (has vendedLogs property). |
applyTo(resource)
public applyTo(resource: IConstruct): IConstruct
Parameters
- resource
IConstruct
Returns
Apply vended logs configuration to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct (has vendedLogs property).

.NET
Go
Java
Python
TypeScript