interface AddEndpointOptions
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.AddEndpointOptions | 
|  Go | github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2#AddEndpointOptions | 
|  Java | software.amazon.awscdk.services.bedrock.agentcore.alpha.AddEndpointOptions | 
|  Python | aws_cdk.aws_bedrock_agentcore_alpha.AddEndpointOptions | 
|  TypeScript (source) | @aws-cdk/aws-bedrock-agentcore-alpha»AddEndpointOptions | 
Options for adding an endpoint to the runtime.
Example
const repository = new ecr.Repository(this, "TestRepository", {
  repositoryName: "test-agent-runtime",
});
const agentRuntimeArtifactNew = agentcore.AgentRuntimeArtifact.fromEcrRepository(repository, "v2.0.0");
const runtime = new agentcore.Runtime(this, "MyAgentRuntime", {
  runtimeName: "myAgent",
  agentRuntimeArtifact: agentRuntimeArtifactNew,
});
const stagingEndpoint = runtime.addEndpoint("staging", {
  version: "2",
  description: "Staging environment for testing new version"
});
Properties
| Name | Type | Description | 
|---|---|---|
| description? | string | Description for the endpoint, Must be between 1 and 1200 characters. | 
| version? | string | Override the runtime version for this endpoint. | 
description?
Type:
string
(optional, default: No description)
Description for the endpoint, Must be between 1 and 1200 characters.
version?
Type:
string
(optional, default: 1)
Override the runtime version for this endpoint.
