RuntimeEndpointAttributes Struct
Attributes for importing an existing Runtime Endpoint.
| Source | lib/runtime/runtime-endpoint-base.ts |
|---|
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';
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
# 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
// 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();
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"
};
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
agentRuntimeArnstringagent_runtime_arnstragentRuntimeArnStringAgentRuntimeArnstringAgentRuntimeArn*string required #The ARN of the parent agent runtime.
agentRuntimeEndpointArnstringagent_runtime_endpoint_arnstragentRuntimeEndpointArnStringAgentRuntimeEndpointArnstringAgentRuntimeEndpointArn*string required #The ARN of the runtime endpoint.
createdAtoptionalstringcreated_atoptionalstrcreatedAtoptionalStringCreatedAtoptionalstringCreatedAtoptional*string #When the endpoint was created.
Default: Creation time not available
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description of the runtime endpoint.
Default: No description
endpointIdoptionalstringendpoint_idoptionalstrendpointIdoptionalStringEndpointIdoptionalstringEndpointIdoptional*string #The unique identifier of the runtime endpoint.
Default: Endpoint ID not available
endpointNamestringendpoint_namestrendpointNameStringEndpointNamestringEndpointName*string required #The name of the runtime endpoint.
lastUpdatedAtoptionalstringlast_updated_atoptionalstrlastUpdatedAtoptionalStringLastUpdatedAtoptionalstringLastUpdatedAtoptional*string #When the endpoint was last updated.
Default: Last update time not available
liveVersionoptionalstringlive_versionoptionalstrliveVersionoptionalStringLiveVersionoptionalstringLiveVersionoptional*string #The live version of the agent runtime that is currently serving requests.
Default: Live version not available
statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string #The current status of the runtime endpoint.
Default: Status not available
targetVersionoptionalstringtarget_versionoptionalstrtargetVersionoptionalStringTargetVersionoptionalstringTargetVersionoptional*string #The target version the endpoint is transitioning to (during updates).
Default: Target version not available