Class RuntimeEndpoint
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.bedrockagentcore.RuntimeEndpointBase
software.amazon.awscdk.services.bedrockagentcore.RuntimeEndpoint
- All Implemented Interfaces:
IRuntimeEndpointRef,IEnvironmentAware,IResource,IRuntimeEndpoint,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.129.0 (build eaca441)",
date="2026-05-19T08:18:44.499Z")
@Stability(Stable)
public class RuntimeEndpoint
extends RuntimeEndpointBase
Bedrock Agent Core Runtime Endpoint Provides a stable endpoint for invoking agent runtimes with versioning support.
Example:
Repository repository = Repository.Builder.create(this, "TestRepository")
.repositoryName("test-agent-runtime")
.build();
AgentRuntimeArtifact agentRuntimeArtifactNew = AgentRuntimeArtifact.fromEcrRepository(repository, "v2.0.0");
Runtime runtime = Runtime.Builder.create(this, "MyAgentRuntime")
.runtimeName("myAgent")
.agentRuntimeArtifact(agentRuntimeArtifactNew)
.build();
RuntimeEndpoint stagingEndpoint = runtime.addEndpoint("staging", AddEndpointOptions.builder()
.version("2")
.description("Staging environment for testing new version")
.build());
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.bedrockagentcore.IRuntimeEndpoint
IRuntimeEndpoint.Jsii$Default -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRuntimeEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedRuntimeEndpoint(software.amazon.jsii.JsiiObjectRef objRef) RuntimeEndpoint(software.constructs.Construct scope, String id, RuntimeEndpointProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IRuntimeEndpointfromRuntimeEndpointAttributes(software.constructs.Construct scope, String id, RuntimeEndpointAttributes attrs) Import an existing Agent Runtime Endpoint using attributes This allows you to reference an Agent Runtime Endpoint that was created outside of CDK.The ARN of the agent runtime associated with this endpoint.The ARN of the agent runtime endpoint.The ID of the agent runtime associated with this endpoint.The version of the agent runtime used by this endpoint.The timestamp when the endpoint was created.Optional description for the endpoint.The unique identifier of the runtime endpoint.The name of the endpoint.When this endpoint was last updated.The live version of the endpoint.The status of the endpoint.The target version of the endpoint.Methods inherited from class software.amazon.awscdk.services.bedrockagentcore.RuntimeEndpointBase
getRuntimeEndpointRefMethods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource, withMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
Uniquely identifies this class.
-
-
Constructor Details
-
RuntimeEndpoint
protected RuntimeEndpoint(software.amazon.jsii.JsiiObjectRef objRef) -
RuntimeEndpoint
protected RuntimeEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
RuntimeEndpoint
@Stability(Stable) public RuntimeEndpoint(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull RuntimeEndpointProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-
-
Method Details
-
fromRuntimeEndpointAttributes
@Stability(Stable) @NotNull public static IRuntimeEndpoint fromRuntimeEndpointAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull RuntimeEndpointAttributes attrs) Import an existing Agent Runtime Endpoint using attributes This allows you to reference an Agent Runtime Endpoint that was created outside of CDK.- Parameters:
scope- The construct scope. This parameter is required.id- The construct id. This parameter is required.attrs- The attributes of the existing Agent Runtime Endpoint. This parameter is required.- Returns:
- An IRuntimeEndpoint instance representing the imported endpoint
-
getAgentRuntimeArn
The ARN of the agent runtime associated with this endpoint.- Specified by:
getAgentRuntimeArnin interfaceIRuntimeEndpoint- Specified by:
getAgentRuntimeArnin classRuntimeEndpointBase- Returns:
- a token representing the ARN of the agent runtime
-
getAgentRuntimeEndpointArn
The ARN of the agent runtime endpoint.- Specified by:
getAgentRuntimeEndpointArnin interfaceIRuntimeEndpoint- Specified by:
getAgentRuntimeEndpointArnin classRuntimeEndpointBase- Returns:
- a token representing the ARN of this agent runtime endpoint
-
getAgentRuntimeId
The ID of the agent runtime associated with this endpoint. -
getAgentRuntimeVersion
The version of the agent runtime used by this endpoint. -
getEndpointId
The unique identifier of the runtime endpoint.- Returns:
- a token representing the ID of this endpoint
-
getEndpointName
The name of the endpoint.- Specified by:
getEndpointNamein interfaceIRuntimeEndpoint- Specified by:
getEndpointNamein classRuntimeEndpointBase- Returns:
- a token representing the name of this endpoint
-
getCreatedAt
The timestamp when the endpoint was created.- Specified by:
getCreatedAtin interfaceIRuntimeEndpoint- Specified by:
getCreatedAtin classRuntimeEndpointBase- Returns:
- a token representing the creation timestamp of this endpoint
-
getDescription
Optional description for the endpoint.- Specified by:
getDescriptionin interfaceIRuntimeEndpoint- Specified by:
getDescriptionin classRuntimeEndpointBase
-
getLastUpdatedAt
When this endpoint was last updated.- Returns:
- a token representing the last update timestamp of this endpoint
-
getLiveVersion
The live version of the endpoint.- Specified by:
getLiveVersionin interfaceIRuntimeEndpoint- Specified by:
getLiveVersionin classRuntimeEndpointBase- Returns:
- a token representing the live version of this endpoint
-
getStatus
The status of the endpoint.- Specified by:
getStatusin interfaceIRuntimeEndpoint- Specified by:
getStatusin classRuntimeEndpointBase- Returns:
- a token representing the status of this endpoint
-
getTargetVersion
The target version of the endpoint.- Specified by:
getTargetVersionin interfaceIRuntimeEndpoint- Specified by:
getTargetVersionin classRuntimeEndpointBase- Returns:
- a token representing the target version of this endpoint
-