Interface AddEndpointOptions

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
AddEndpointOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.130.0 (build 048a5ee)", date="2026-05-21T17:27:31.335Z") @Stability(Stable) public interface AddEndpointOptions extends software.amazon.jsii.JsiiSerializable
Options for adding an endpoint to the runtime.

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());
 
  • Method Details

    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      Description for the endpoint, Must be between 1 and 1200 characters.

      Default: - No description

    • getVersion

      @Stability(Stable) @Nullable default String getVersion()
      Override the runtime version for this endpoint.

      Default: 1

    • builder

      @Stability(Stable) static AddEndpointOptions.Builder builder()
      Returns:
      a AddEndpointOptions.Builder of AddEndpointOptions