CodeInterpreterCustomProps

class aws_cdk.aws_bedrock_agentcore_alpha.CodeInterpreterCustomProps(*, code_interpreter_custom_name=None, description=None, execution_role=None, network_configuration=None, tags=None)

Bases: object

(experimental) Properties for creating a CodeInterpreter resource.

Parameters:
  • code_interpreter_custom_name (Optional[str]) – (experimental) 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

  • description (Optional[str]) – (experimental) 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

  • execution_role (Optional[IRole]) – (experimental) The IAM role that provides permissions for the code interpreter to access AWS services. Default: - A new role will be created.

  • network_configuration (Optional[CodeInterpreterNetworkConfiguration]) – (experimental) Network configuration for code interpreter. Default: - PUBLIC network mode

  • tags (Optional[Mapping[str, str]]) – (experimental) Tags (optional) A list of key:value pairs of tags to apply to this Code Interpreter resource. Default: {} - no tags

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_bedrock_agentcore_alpha as bedrock_agentcore_alpha
from aws_cdk import aws_iam as iam

# code_interpreter_network_configuration: bedrock_agentcore_alpha.CodeInterpreterNetworkConfiguration
# role: iam.Role

code_interpreter_custom_props = bedrock_agentcore_alpha.CodeInterpreterCustomProps(
    code_interpreter_custom_name="codeInterpreterCustomName",
    description="description",
    execution_role=role,
    network_configuration=code_interpreter_network_configuration,
    tags={
        "tags_key": "tags"
    }
)

Attributes

code_interpreter_custom_name

[a-zA-Z][a-zA-Z0-9_]{0,47}.

Default:
  • auto generate

Stability:

experimental

Type:

(experimental) 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

description

(experimental) 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

Stability:

experimental

Required:
  • No

execution_role

(experimental) The IAM role that provides permissions for the code interpreter to access AWS services.

Default:
  • A new role will be created.

Stability:

experimental

Required:
  • No

network_configuration

(experimental) Network configuration for code interpreter.

Default:
  • PUBLIC network mode

Stability:

experimental

Required:
  • No

tags

value pairs of tags to apply to this Code Interpreter resource.

Default:

{} - no tags

Stability:

experimental

Required:
  • No

Type:

(experimental) Tags (optional) A list of key