Home / Connectors / Run Code with AWS Bedrock Code Interpreter

Run Code with AWS Bedrock Code Interpreter

Execute Python code in a secure AWS Bedrock AgentCore Code Interpreter sandbox

outbound io.camunda:aws-bedrock-codeinterpreter:1

Required inputs

KeyLabelType
authentication.accessKey Access key secret
authentication.secretKey Secret key secret
configuration.region Region FEEL expression
input.code Code FEEL expression

Optional inputs

KeyLabelType
awsCredential AWS credential secret
authentication.type Authentication string
regionOverride Region FEEL expression
input.language Language string
input.codeInterpreterIdentifier Code Interpreter ID FEEL expression
input.sessionTimeout Session timeout FEEL expression
input.maxFiles Max files to retrieve string
input.maxTotalFileSize Max total file size string
resultVariable Result variable string
resultExpression Result expression FEEL expression
errorExpression Error expression FEEL expression
retryCount Retries FEEL expression
retryBackoff Retry backoff string
jobTimeout Job timeout string

Apply this connector with @bpmnkit/connectors

import { applyConnectorTemplate } from "@bpmnkit/connectors" const result = applyConnectorTemplate("io.camunda.connectors.aws.bedrock.codeinterpreter.v1", { "authentication.accessKey": "<your access key>", "authentication.secretKey": "<your secret key>", "configuration.region": "= ...", "input.code": "= ...", "awsCredential": "<your aws credential>", "authentication.type": "defaultCredentialsChain", })