CfnCodeInterpreterCustomProps

class aws_cdk.aws_bedrockagentcore.CfnCodeInterpreterCustomProps(*, name, network_configuration, description=None, execution_role_arn=None, tags=None)

Bases: object

Properties for defining a CfnCodeInterpreterCustom.

Parameters:
  • name (str) – The name of the sandbox.

  • network_configuration (Union[IResolvable, CodeInterpreterNetworkConfigurationProperty, Dict[str, Any]]) – Network configuration for code interpreter.

  • description (Optional[str]) – Description of the code interpreter.

  • execution_role_arn (Optional[str]) – The ARN of the IAM role.

  • tags (Optional[Mapping[str, str]]) – A map of tag keys and values.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html

ExampleMetadata:

fixture=_generated

Example:

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

cfn_code_interpreter_custom_props = bedrockagentcore.CfnCodeInterpreterCustomProps(
    name="name",
    network_configuration=bedrockagentcore.CfnCodeInterpreterCustom.CodeInterpreterNetworkConfigurationProperty(
        network_mode="networkMode"
    ),

    # the properties below are optional
    description="description",
    execution_role_arn="executionRoleArn",
    tags={
        "tags_key": "tags"
    }
)

Attributes

description

Description of the code interpreter.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-description

execution_role_arn

The ARN of the IAM role.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-executionrolearn

name

The name of the sandbox.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-name

network_configuration

Network configuration for code interpreter.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-networkconfiguration

tags

A map of tag keys and values.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-tags