# RuntimeEndpointProps

Properties for creating a Bedrock Agent Core Runtime Endpoint resource.

Used as props by: [RuntimeEndpoint](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.RuntimeEndpoint.html)

- Source: [`aws-bedrockagentcore/lib/runtime/runtime-endpoint.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-bedrockagentcore/lib/runtime/runtime-endpoint.ts#L19)
- Type last changed: v2.255.0 · 19 May 2026

## Example

TypeScript:

```ts
// 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"
});
```

Python:

```python
# Reference an existing runtime by its ID
existing_runtime_id = "abc123-runtime-id" # The ID of an existing runtime

# Create a standalone endpoint
endpoint = agentcore.RuntimeEndpoint(self, "MyEndpoint",
    endpoint_name="production",
    agent_runtime_id=existing_runtime_id,
    agent_runtime_version="1",  # Specify which version to use
    description="Production endpoint for existing runtime"
)
```

Java:

```java
// Reference an existing runtime by its ID
String existingRuntimeId = "abc123-runtime-id"; // The ID of an existing runtime

// Create a standalone endpoint
RuntimeEndpoint endpoint = RuntimeEndpoint.Builder.create(this, "MyEndpoint")
        .endpointName("production")
        .agentRuntimeId(existingRuntimeId)
        .agentRuntimeVersion("1") // Specify which version to use
        .description("Production endpoint for existing runtime")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// Reference an existing runtime by its ID
var existingRuntimeId = "abc123-runtime-id"; // The ID of an existing runtime

// Create a standalone endpoint
var endpoint = new RuntimeEndpoint(this, "MyEndpoint", new RuntimeEndpointProps {
    EndpointName = "production",
    AgentRuntimeId = existingRuntimeId,
    AgentRuntimeVersion = "1",  // Specify which version to use
    Description = "Production endpoint for existing runtime"
});
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// Reference an existing runtime by its ID
existingRuntimeId := "abc123-runtime-id" // The ID of an existing runtime

// Create a standalone endpoint
endpoint := agentcore.NewRuntimeEndpoint(this, jsii.String("MyEndpoint"), &RuntimeEndpointProps{
	EndpointName: jsii.String("production"),
	AgentRuntimeId: existingRuntimeId,
	AgentRuntimeVersion: jsii.String("1"),
	 // Specify which version to use
	Description: jsii.String("Production endpoint for existing runtime"),
})
```

## Properties

- `agentRuntimeId`: string (required) — 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}$.

- `agentRuntimeVersion`: string = "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`: string — Optional description for the agent runtime endpoint Length Minimum: 1 , Maximum: 256.

  **Default:** No description

- `endpointName`: 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}$.

  **Default:** auto generate

- `tags`: { [key: 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._:/=+@-]*$.

  **Default:** {} - no tags
