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:
  • Field Details

    • PROPERTY_INJECTION_ID

      @Stability(Stable) public static final String 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

      @Stability(Stable) @NotNull public String getAgentRuntimeArn()
      The ARN of the agent runtime associated with this endpoint.

      Specified by:
      getAgentRuntimeArn in interface IRuntimeEndpoint
      Specified by:
      getAgentRuntimeArn in class RuntimeEndpointBase
      Returns:
      a token representing the ARN of the agent runtime
    • getAgentRuntimeEndpointArn

      @Stability(Stable) @NotNull public String getAgentRuntimeEndpointArn()
      The ARN of the agent runtime endpoint.

      Specified by:
      getAgentRuntimeEndpointArn in interface IRuntimeEndpoint
      Specified by:
      getAgentRuntimeEndpointArn in class RuntimeEndpointBase
      Returns:
      a token representing the ARN of this agent runtime endpoint
    • getAgentRuntimeId

      @Stability(Stable) @NotNull public String getAgentRuntimeId()
      The ID of the agent runtime associated with this endpoint.
    • getAgentRuntimeVersion

      @Stability(Stable) @NotNull public String getAgentRuntimeVersion()
      The version of the agent runtime used by this endpoint.
    • getEndpointId

      @Stability(Stable) @NotNull public String getEndpointId()
      The unique identifier of the runtime endpoint.

      Returns:
      a token representing the ID of this endpoint
    • getEndpointName

      @Stability(Stable) @NotNull public String getEndpointName()
      The name of the endpoint.

      Specified by:
      getEndpointName in interface IRuntimeEndpoint
      Specified by:
      getEndpointName in class RuntimeEndpointBase
      Returns:
      a token representing the name of this endpoint
    • getCreatedAt

      @Stability(Stable) @Nullable public String getCreatedAt()
      The timestamp when the endpoint was created.

      Specified by:
      getCreatedAt in interface IRuntimeEndpoint
      Specified by:
      getCreatedAt in class RuntimeEndpointBase
      Returns:
      a token representing the creation timestamp of this endpoint
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      Optional description for the endpoint.
      Specified by:
      getDescription in interface IRuntimeEndpoint
      Specified by:
      getDescription in class RuntimeEndpointBase
    • getLastUpdatedAt

      @Stability(Stable) @Nullable public String getLastUpdatedAt()
      When this endpoint was last updated.

      Returns:
      a token representing the last update timestamp of this endpoint
    • getLiveVersion

      @Stability(Stable) @Nullable public String getLiveVersion()
      The live version of the endpoint.

      Specified by:
      getLiveVersion in interface IRuntimeEndpoint
      Specified by:
      getLiveVersion in class RuntimeEndpointBase
      Returns:
      a token representing the live version of this endpoint
    • getStatus

      @Stability(Stable) @Nullable public String getStatus()
      The status of the endpoint.

      Specified by:
      getStatus in interface IRuntimeEndpoint
      Specified by:
      getStatus in class RuntimeEndpointBase
      Returns:
      a token representing the status of this endpoint
    • getTargetVersion

      @Stability(Stable) @Nullable public String getTargetVersion()
      The target version of the endpoint.

      Specified by:
      getTargetVersion in interface IRuntimeEndpoint
      Specified by:
      getTargetVersion in class RuntimeEndpointBase
      Returns:
      a token representing the target version of this endpoint