AgentRuntimeAttributes Struct
Attributes for importing an existing Agent Runtime.
Example
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],
};
Properties
agentRuntimeArnstringagent_runtime_arnstragentRuntimeArnStringAgentRuntimeArnstringAgentRuntimeArn*stringrequired#The ARN of the agent runtime.
agentRuntimeIdstringagent_runtime_idstragentRuntimeIdStringAgentRuntimeIdstringAgentRuntimeId*stringrequired#The ID of the agent runtime.
agentRuntimeNamestringagent_runtime_namestragentRuntimeNameStringAgentRuntimeNamestringAgentRuntimeName*stringrequired#The name of the agent runtime.
agentRuntimeVersionstringagent_runtime_versionstragentRuntimeVersionStringAgentRuntimeVersionstringAgentRuntimeVersion*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.
agentStatusstringagent_statusstragentStatusStringAgentStatusstringAgentStatus*string= Status not available#The current status of the agent runtime.
createdAtstringcreated_atstrcreatedAtStringCreatedAtstringCreatedAt*string= Creation time not available#The time at which the runtime was created.
descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*string= No description#The description of the agent runtime.
lastUpdatedAtstringlast_updated_atstrlastUpdatedAtStringLastUpdatedAtstringLastUpdatedAt*string= Last update time not available#The time at which the runtime was last updated.
The IAM role ARN.
securityGroupsISecurityGroup[]security_groupstyping.List[ISecurityGroup]securityGroupsList<ISecurityGroup>SecurityGroupsISecurityGroup[]SecurityGroups*[]ISecurityGroup= By default, the runtime is not i…#The security groups for this runtime, if in a VPC.
default
Default: By default, the runtime is not in a VPC.