CodeInterpreterCustomAttributes

class aws_cdk.aws_bedrockagentcore.CodeInterpreterCustomAttributes(*, code_interpreter_arn, role_arn, created_at=None, last_updated_at=None, security_groups=None, status=None)

Bases: object

Attributes for specifying an imported Code Interpreter Custom.

Parameters:
  • code_interpreter_arn (str) – The ARN of the agent.

  • role_arn (str) – The ARN of the IAM role associated to the code interpreter.

  • created_at (Optional[str]) – The created timestamp of the code interpreter. Default: undefined - No created timestamp is provided

  • last_updated_at (Optional[str]) – When this code interpreter was last updated. Default: undefined - No last updated timestamp is provided

  • security_groups (Optional[Sequence[ISecurityGroup]]) – The security groups for this code interpreter, if in a VPC. Default: - By default, the code interpreter is not in a VPC.

  • status (Optional[str]) – The status of the code interpreter. Default: undefined - No status is provided

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
from aws_cdk import aws_ec2 as ec2

# security_group: ec2.SecurityGroup

code_interpreter_custom_attributes = bedrockagentcore.CodeInterpreterCustomAttributes(
    code_interpreter_arn="codeInterpreterArn",
    role_arn="roleArn",

    # the properties below are optional
    created_at="createdAt",
    last_updated_at="lastUpdatedAt",
    security_groups=[security_group],
    status="status"
)

Attributes

code_interpreter_arn

The ARN of the agent.

Attribute:

true

created_at

The created timestamp of the code interpreter.

Default:

undefined - No created timestamp is provided

last_updated_at

When this code interpreter was last updated.

Default:

undefined - No last updated timestamp is provided

role_arn

The ARN of the IAM role associated to the code interpreter.

Attribute:

true

security_groups

The security groups for this code interpreter, if in a VPC.

Default:
  • By default, the code interpreter is not in a VPC.

status

The status of the code interpreter.

Default:

undefined - No status is provided