Experimental
@aws-cdk/aws-bedrock-agentcore-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
CodeInterpreterCustomProps Struct
Properties for creating a CodeInterpreter resource.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
import { aws_iam as iam } from 'aws-cdk-lib';
declare const codeInterpreterNetworkConfiguration: bedrock_agentcore_alpha.CodeInterpreterNetworkConfiguration;
declare const role: iam.Role;
const codeInterpreterCustomProps: bedrock_agentcore_alpha.CodeInterpreterCustomProps = {
codeInterpreterCustomName: 'codeInterpreterCustomName',
description: 'description',
executionRole: role,
networkConfiguration: codeInterpreterNetworkConfiguration,
tags: {
tagsKey: 'tags',
},
};
Properties
codeInterpreterCustomNameoptionalstringcode_interpreter_custom_nameoptionalstrcodeInterpreterCustomNameoptionalStringCodeInterpreterCustomNameoptionalstringCodeInterpreterCustomNameoptional*string#The name of the code interpreter Valid characters are a-z, A-Z, 0-9, _ (underscore) The name must start with a letter and can be up to 48 characters long Pattern: [a-zA-Z][a-zA-Z0-9_]{0,47}.
Default: auto generate
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#Optional description for the code interpreter Valid characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen) and spaces The description can have up to 200 characters.
Default: No description
executionRoleoptionalIRoleexecution_roleoptionalIRoleexecutionRoleoptionalIRoleExecutionRoleoptionalIRoleExecutionRoleoptionalIRole#The IAM role that provides permissions for the code interpreter to access AWS services.
Default: A new role will be created.
networkConfigurationoptionalCodeInterpreterNetworkConfigurationnetwork_configurationoptionalCodeInterpreterNetworkConfigurationnetworkConfigurationoptionalCodeInterpreterNetworkConfigurationNetworkConfigurationoptionalCodeInterpreterNetworkConfigurationNetworkConfigurationoptionalCodeInterpreterNetworkConfiguration#Network configuration for code interpreter.
Default: PUBLIC network mode
tagsoptional{ [key: string]: string }tagsoptionaltyping.Mapping[str, str]tagsoptionalMap<String, String>TagsoptionalIDictionary<string, string>Tagsoptional*map[string]*string#Tags (optional) A list of key:value pairs of tags to apply to this Code Interpreter resource.
Default: {} - no tags