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());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAddEndpointOptionsstatic final classAn implementation forAddEndpointOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic AddEndpointOptions.Builderbuilder()default StringDescription for the endpoint, Must be between 1 and 1200 characters.default StringOverride the runtime version for this endpoint.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescription
Description for the endpoint, Must be between 1 and 1200 characters.Default: - No description
-
getVersion
Override the runtime version for this endpoint.Default: 1
-
builder
- Returns:
- a
AddEndpointOptions.BuilderofAddEndpointOptions
-