# RuntimeEndpointAttributes

Attributes for importing an existing Runtime Endpoint.

Used as argument in: [RuntimeEndpoint.fromRuntimeEndpointAttributes](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-bedrock-agentcore-alpha.RuntimeEndpoint.html#fromruntimeendpointattributes)

- Source: [`lib/runtime/runtime-endpoint-base.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-bedrock-agentcore-alpha/lib/runtime/runtime-endpoint-base.ts#L112)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
const runtimeEndpointAttributes: bedrock_agentcore_alpha.RuntimeEndpointAttributes = {
  agentRuntimeArn: 'agentRuntimeArn',
  agentRuntimeEndpointArn: 'agentRuntimeEndpointArn',
  endpointName: 'endpointName',

  // the properties below are optional
  createdAt: 'createdAt',
  description: 'description',
  endpointId: 'endpointId',
  lastUpdatedAt: 'lastUpdatedAt',
  liveVersion: 'liveVersion',
  status: 'status',
  targetVersion: 'targetVersion',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_bedrock_agentcore_alpha as bedrock_agentcore_alpha

runtime_endpoint_attributes = bedrock_agentcore_alpha.RuntimeEndpointAttributes(
    agent_runtime_arn="agentRuntimeArn",
    agent_runtime_endpoint_arn="agentRuntimeEndpointArn",
    endpoint_name="endpointName",

    # the properties below are optional
    created_at="createdAt",
    description="description",
    endpoint_id="endpointId",
    last_updated_at="lastUpdatedAt",
    live_version="liveVersion",
    status="status",
    target_version="targetVersion"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.agentcore.alpha.*;

RuntimeEndpointAttributes runtimeEndpointAttributes = RuntimeEndpointAttributes.builder()
        .agentRuntimeArn("agentRuntimeArn")
        .agentRuntimeEndpointArn("agentRuntimeEndpointArn")
        .endpointName("endpointName")

        // the properties below are optional
        .createdAt("createdAt")
        .description("description")
        .endpointId("endpointId")
        .lastUpdatedAt("lastUpdatedAt")
        .liveVersion("liveVersion")
        .status("status")
        .targetVersion("targetVersion")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.Bedrock.Agentcore.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock.Agentcore.Alpha;

var runtimeEndpointAttributes = new RuntimeEndpointAttributes {
    AgentRuntimeArn = "agentRuntimeArn",
    AgentRuntimeEndpointArn = "agentRuntimeEndpointArn",
    EndpointName = "endpointName",

    // the properties below are optional
    CreatedAt = "createdAt",
    Description = "description",
    EndpointId = "endpointId",
    LastUpdatedAt = "lastUpdatedAt",
    LiveVersion = "liveVersion",
    Status = "status",
    TargetVersion = "targetVersion"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import bedrock_agentcore_alpha "github.com/aws/aws-cdk-go/awsbedrockagentcorealpha"

runtimeEndpointAttributes := &RuntimeEndpointAttributes{
	AgentRuntimeArn: jsii.String("agentRuntimeArn"),
	AgentRuntimeEndpointArn: jsii.String("agentRuntimeEndpointArn"),
	EndpointName: jsii.String("endpointName"),

	// the properties below are optional
	CreatedAt: jsii.String("createdAt"),
	Description: jsii.String("description"),
	EndpointId: jsii.String("endpointId"),
	LastUpdatedAt: jsii.String("lastUpdatedAt"),
	LiveVersion: jsii.String("liveVersion"),
	Status: jsii.String("status"),
	TargetVersion: jsii.String("targetVersion"),
}
```

## Properties

- `agentRuntimeArn`: string (required) — The ARN of the parent agent runtime.

- `agentRuntimeEndpointArn`: string (required) — The ARN of the runtime endpoint.

- `createdAt`: string — When the endpoint was created.

  **Default:** Creation time not available

- `description`: string — The description of the runtime endpoint.

  **Default:** No description

- `endpointId`: string — The unique identifier of the runtime endpoint.

  **Default:** Endpoint ID not available

- `endpointName`: string (required) — The name of the runtime endpoint.

- `lastUpdatedAt`: string — When the endpoint was last updated.

  **Default:** Last update time not available

- `liveVersion`: string — The live version of the agent runtime that is currently serving requests.

  **Default:** Live version not available

- `status`: string — The current status of the runtime endpoint.

  **Default:** Status not available

- `targetVersion`: string — The target version the endpoint is transitioning to (during updates).

  **Default:** Target version not available
