> **Experimental**
>
> `@aws-cdk/aws-bedrock-agentcore-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# AgentRuntimeAttributes

Attributes for importing an existing Agent Runtime.

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

## 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';
import { aws_ec2 as ec2 } from 'aws-cdk-lib';

declare const securityGroup: ec2.SecurityGroup;
const agentRuntimeAttributes: bedrock_agentcore_alpha.AgentRuntimeAttributes = {
  agentRuntimeArn: 'agentRuntimeArn',
  agentRuntimeId: 'agentRuntimeId',
  agentRuntimeName: 'agentRuntimeName',
  roleArn: 'roleArn',

  // the properties below are optional
  agentRuntimeVersion: 'agentRuntimeVersion',
  agentStatus: 'agentStatus',
  createdAt: 'createdAt',
  description: 'description',
  lastUpdatedAt: 'lastUpdatedAt',
  securityGroups: [securityGroup],
};
```

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
from aws_cdk import aws_ec2 as ec2

# security_group: ec2.SecurityGroup

agent_runtime_attributes = bedrock_agentcore_alpha.AgentRuntimeAttributes(
    agent_runtime_arn="agentRuntimeArn",
    agent_runtime_id="agentRuntimeId",
    agent_runtime_name="agentRuntimeName",
    role_arn="roleArn",

    # the properties below are optional
    agent_runtime_version="agentRuntimeVersion",
    agent_status="agentStatus",
    created_at="createdAt",
    description="description",
    last_updated_at="lastUpdatedAt",
    security_groups=[security_group]
)
```

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.*;
import software.amazon.awscdk.services.ec2.*;

SecurityGroup securityGroup;

AgentRuntimeAttributes agentRuntimeAttributes = AgentRuntimeAttributes.builder()
        .agentRuntimeArn("agentRuntimeArn")
        .agentRuntimeId("agentRuntimeId")
        .agentRuntimeName("agentRuntimeName")
        .roleArn("roleArn")

        // the properties below are optional
        .agentRuntimeVersion("agentRuntimeVersion")
        .agentStatus("agentStatus")
        .createdAt("createdAt")
        .description("description")
        .lastUpdatedAt("lastUpdatedAt")
        .securityGroups(List.of(securityGroup))
        .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;
using Amazon.CDK.AWS.EC2;

SecurityGroup securityGroup;

var agentRuntimeAttributes = new AgentRuntimeAttributes {
    AgentRuntimeArn = "agentRuntimeArn",
    AgentRuntimeId = "agentRuntimeId",
    AgentRuntimeName = "agentRuntimeName",
    RoleArn = "roleArn",

    // the properties below are optional
    AgentRuntimeVersion = "agentRuntimeVersion",
    AgentStatus = "agentStatus",
    CreatedAt = "createdAt",
    Description = "description",
    LastUpdatedAt = "lastUpdatedAt",
    SecurityGroups = new [] { securityGroup }
};
```

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"
import "github.com/aws/aws-cdk-go/awscdk"

var securityGroup SecurityGroup

agentRuntimeAttributes := &AgentRuntimeAttributes{
	AgentRuntimeArn: jsii.String("agentRuntimeArn"),
	AgentRuntimeId: jsii.String("agentRuntimeId"),
	AgentRuntimeName: jsii.String("agentRuntimeName"),
	RoleArn: jsii.String("roleArn"),

	// the properties below are optional
	AgentRuntimeVersion: jsii.String("agentRuntimeVersion"),
	AgentStatus: jsii.String("agentStatus"),
	CreatedAt: jsii.String("createdAt"),
	Description: jsii.String("description"),
	LastUpdatedAt: jsii.String("lastUpdatedAt"),
	SecurityGroups: []ISecurityGroup{
		securityGroup,
	},
}
```

## Properties

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

- `agentRuntimeId`: string (required) — The ID of the agent runtime.

- `agentRuntimeName`: string (required) — The name of the agent runtime.

- `agentRuntimeVersion`: string = undefined — The version of the agent runtime When importing a runtime and this is not specified or undefined, endpoints created on this runtime will point to version "1" unless explicitly overridden.

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

  **Default:** Status not available

- `createdAt`: string — The time at which the runtime was created.

  **Default:** Creation time not available

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

  **Default:** No description

- `lastUpdatedAt`: string — The time at which the runtime was last updated.

  **Default:** Last update time not available

- `roleArn`: string (required) — The IAM role ARN.

- `securityGroups`: [ISecurityGroup](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.ISecurityGroup.html)[] — The security groups for this runtime, if in a VPC.

  **Default:** By default, the runtime is not in a VPC.
