AWS Fundamentals Logo
AWS Fundamentals
AWS::BedrockAgentCore::CodeInterpreterCustom

BedrockAgentCore CodeInterpreterCustom

Resource definition for AWS::BedrockAgentCore::CodeInterpreterCustom

Properties

5 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
Name
string
RequiredCreate-only
NetworkConfiguration
CodeInterpreterNetworkConfiguration
RequiredCreate-only
Description
string
Create-only
ExecutionRoleArn
string
Create-only
Tags
TagsMap

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
CodeInterpreterArnstringThe ARN of a CodeInterpreter resource.
CodeInterpreterIdstringThe id of the code interpreter.
CreatedAtstringTimestamp when the code interpreter was created.
FailureReasonstringThe reason for failure if the code interpreter creation or operation failed.
LastUpdatedAtstringTimestamp when the code interpreter was last updated.
StatusstringStatus of code interpreter.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::BedrockAgentCore::CodeInterpreterCustom

Resources:
  MyResource:
    Type: AWS::BedrockAgentCore::CodeInterpreterCustom
    Properties:
      Name: "my-name"
      NetworkConfiguration: "value"
      Tags:
        - Key: Environment
          Value: Production
      Description: !Ref "AWS::StackName"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

bedrock-agentcore:CreateCodeInterpreterbedrock-agentcore:GetCodeInterpreterbedrock-agentcore:TagResourcebedrock-agentcore:ListTagsForResourceiam:CreateServiceLinkedRoleiam:PassRole

read

bedrock-agentcore:GetCodeInterpreterbedrock-agentcore:ListTagsForResource

update

bedrock-agentcore:GetCodeInterpreterbedrock-agentcore:TagResourcebedrock-agentcore:UntagResourcebedrock-agentcore:ListTagsForResourceiam:PassRole

delete

bedrock-agentcore:GetCodeInterpreterbedrock-agentcore:DeleteCodeInterpreter

list

bedrock-agentcore:ListCodeInterpreters

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceBedrockAgentCore
Properties11
Required2
TaggingSupported
Primary IDCodeInterpreterId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

NameDescriptionNetworkConfigurationExecutionRoleArn

External Links