Skip to content
v2.277.0

RuntimeReference Struct ​

A reference to a Runtime resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as interfaces_bedrockagentcore } from 'aws-cdk-lib/interfaces';
const runtimeReference: interfaces_bedrockagentcore.RuntimeReference = {
  agentRuntimeArn: 'agentRuntimeArn',
  agentRuntimeId: 'agentRuntimeId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_bedrockagentcore as interfaces_bedrockagentcore

runtime_reference = interfaces_bedrockagentcore.RuntimeReference(
    agent_runtime_arn="agentRuntimeArn",
    agent_runtime_id="agentRuntimeId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.bedrockagentcore.*;

RuntimeReference runtimeReference = RuntimeReference.builder()
        .agentRuntimeArn("agentRuntimeArn")
        .agentRuntimeId("agentRuntimeId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.BedrockAgentCore;

var runtimeReference = new RuntimeReference {
    AgentRuntimeArn = "agentRuntimeArn",
    AgentRuntimeId = "agentRuntimeId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

runtimeReference := &RuntimeReference{
	AgentRuntimeArn: jsii.String("agentRuntimeArn"),
	AgentRuntimeId: jsii.String("agentRuntimeId"),
}

Properties ​

agentRuntimeArnstringagent_runtime_arnstragentRuntimeArnStringAgentRuntimeArnstringAgentRuntimeArn*string required #
The ARN of the Runtime resource.
agentRuntimeIdstringagent_runtime_idstragentRuntimeIdStringAgentRuntimeIdstringAgentRuntimeId*string required #
The AgentRuntimeId of the Runtime resource.