interface RuntimeEndpointProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.RuntimeEndpointProps |
Go | github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2#RuntimeEndpointProps |
Java | software.amazon.awscdk.services.bedrock.agentcore.alpha.RuntimeEndpointProps |
Python | aws_cdk.aws_bedrock_agentcore_alpha.RuntimeEndpointProps |
TypeScript (source) | @aws-cdk/aws-bedrock-agentcore-alpha ยป RuntimeEndpointProps |
Properties for creating a Bedrock Agent Core Runtime Endpoint resource.
Example
// Reference an existing runtime by its ID
const existingRuntimeId = "abc123-runtime-id"; // The ID of an existing runtime
// Create a standalone endpoint
const endpoint = new agentcore.RuntimeEndpoint(this, "MyEndpoint", {
endpointName: "production",
agentRuntimeId: existingRuntimeId,
agentRuntimeVersion: "1", // Specify which version to use
description: "Production endpoint for existing runtime"
});
Properties
| Name | Type | Description |
|---|---|---|
| agent | string | The ID of the agent runtime to associate with this endpoint This is the unique identifier of the runtime resource Pattern: ^[a-zA-Z][a-zA-Z0-9_]{0,99}-[a-zA-Z0-9]{10}$. |
| endpoint | string | The name of the agent runtime endpoint Valid characters are a-z, A-Z, 0-9, _ (underscore) Must start with a letter and can be up to 48 characters long Pattern: ^[a-zA-Z][a-zA-Z0-9_]{0,47}$. |
| agent | string | The version of the agent runtime to use for this endpoint If not specified, the endpoint will point to version "1" of the runtime. |
| description? | string | Optional description for the agent runtime endpoint Length Minimum: 1 , Maximum: 256. |
| tags? | { [string]: string } | Tags for the agent runtime endpoint A list of key:value pairs of tags to apply to this RuntimeEndpoint resource Pattern: ^[a-zA-Z0-9\s._:/=+@-]*$. |
agentRuntimeId
Type:
string
The ID of the agent runtime to associate with this endpoint This is the unique identifier of the runtime resource Pattern: ^[a-zA-Z][a-zA-Z0-9_]{0,99}-[a-zA-Z0-9]{10}$.
endpointName
Type:
string
The name of the agent runtime endpoint Valid characters are a-z, A-Z, 0-9, _ (underscore) Must start with a letter and can be up to 48 characters long Pattern: ^[a-zA-Z][a-zA-Z0-9_]{0,47}$.
agentRuntimeVersion?
Type:
string
(optional, default: "1")
The version of the agent runtime to use for this endpoint If not specified, the endpoint will point to version "1" of the runtime.
Pattern: ^([1-9][0-9]{0,4})$
description?
Type:
string
(optional, default: No description)
Optional description for the agent runtime endpoint Length Minimum: 1 , Maximum: 256.
tags?
Type:
{ [string]: string }
(optional, default: {} - no tags)
Tags for the agent runtime endpoint A list of key:value pairs of tags to apply to this RuntimeEndpoint resource Pattern: ^[a-zA-Z0-9\s._:/=+@-]*$.

.NET
Go
Java
Python
TypeScript (