Skip to content
v2.276.0

CodeInterpreterCustomReference Struct ​

A reference to a CodeInterpreterCustom resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as interfaces_bedrockagentcore } from 'aws-cdk-lib/interfaces';
const codeInterpreterCustomReference: interfaces_bedrockagentcore.CodeInterpreterCustomReference = {
  codeInterpreterArn: 'codeInterpreterArn',
  codeInterpreterId: 'codeInterpreterId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_bedrockagentcore as interfaces_bedrockagentcore

code_interpreter_custom_reference = interfaces_bedrockagentcore.CodeInterpreterCustomReference(
    code_interpreter_arn="codeInterpreterArn",
    code_interpreter_id="codeInterpreterId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.bedrockagentcore.*;

CodeInterpreterCustomReference codeInterpreterCustomReference = CodeInterpreterCustomReference.builder()
        .codeInterpreterArn("codeInterpreterArn")
        .codeInterpreterId("codeInterpreterId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.BedrockAgentCore;

var codeInterpreterCustomReference = new CodeInterpreterCustomReference {
    CodeInterpreterArn = "codeInterpreterArn",
    CodeInterpreterId = "codeInterpreterId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

codeInterpreterCustomReference := &CodeInterpreterCustomReference{
	CodeInterpreterArn: jsii.String("codeInterpreterArn"),
	CodeInterpreterId: jsii.String("codeInterpreterId"),
}

Properties ​

codeInterpreterArnstringcode_interpreter_arnstrcodeInterpreterArnStringCodeInterpreterArnstringCodeInterpreterArn*stringrequired#
The ARN of the CodeInterpreterCustom resource.
codeInterpreterIdstringcode_interpreter_idstrcodeInterpreterIdStringCodeInterpreterIdstringCodeInterpreterId*stringrequired#
The CodeInterpreterId of the CodeInterpreterCustom resource.