Class CfnHarnessEndpoint

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.bedrockagentcore.CfnHarnessEndpoint
All Implemented Interfaces:
IInspectable, IHarnessEndpointRef, IEnvironmentAware, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:04.697Z") @Stability(Stable) public class CfnHarnessEndpoint extends CfnResource implements IInspectable, IHarnessEndpointRef, ITaggableV2
Resource Type definition for AWS::BedrockAgentCore::HarnessEndpoint - a named, stable reference to a specific version of a Harness that callers invoke, allowing the underlying version to be updated without changing how the agent is invoked.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.bedrockagentcore.*;
 CfnHarnessEndpoint cfnHarnessEndpoint = CfnHarnessEndpoint.Builder.create(this, "MyCfnHarnessEndpoint")
         .endpointName("endpointName")
         .harnessId("harnessId")
         // the properties below are optional
         .description("description")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .targetVersion("targetVersion")
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnHarnessEndpoint

      protected CfnHarnessEndpoint(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnHarnessEndpoint

      protected CfnHarnessEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnHarnessEndpoint

      @Stability(Stable) public CfnHarnessEndpoint(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnHarnessEndpointProps props)
      Create a new AWS::BedrockAgentCore::HarnessEndpoint.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • arnForHarnessEndpoint

      @Stability(Stable) @NotNull public static String arnForHarnessEndpoint(@NotNull IHarnessEndpointRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnHarnessEndpoint

      @Stability(Stable) @NotNull public static Boolean isCfnHarnessEndpoint(@NotNull Object x)
      Checks whether the given object is a CfnHarnessEndpoint.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the endpoint.
    • getAttrCreatedAt

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
      The timestamp when the endpoint was created.
    • getAttrHarnessName

      @Stability(Stable) @NotNull public String getAttrHarnessName()
      The name of the harness that the endpoint belongs to.
    • getAttrLiveVersion

      @Stability(Stable) @NotNull public String getAttrLiveVersion()
      The harness version that the endpoint is currently serving.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
    • getAttrUpdatedAt

      @Stability(Stable) @NotNull public String getAttrUpdatedAt()
      The timestamp when the endpoint was last updated.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCfnPropertyNames

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getHarnessEndpointRef

      @Stability(Stable) @NotNull public HarnessEndpointReference getHarnessEndpointRef()
      A reference to a HarnessEndpoint resource.
      Specified by:
      getHarnessEndpointRef in interface IHarnessEndpointRef
    • getEndpointName

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

      @Stability(Stable) public void setEndpointName(@NotNull String value)
      The name of the endpoint.
    • getHarnessId

      @Stability(Stable) @NotNull public String getHarnessId()
      The ID of the harness that the endpoint belongs to.
    • setHarnessId

      @Stability(Stable) public void setHarnessId(@NotNull String value)
      The ID of the harness that the endpoint belongs to.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      The description of the endpoint.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      The description of the endpoint.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      Tags to apply to the harness endpoint resource.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      Tags to apply to the harness endpoint resource.
    • getTargetVersion

      @Stability(Stable) @Nullable public String getTargetVersion()
      The harness version that the endpoint points to and serves invocations from.
    • setTargetVersion

      @Stability(Stable) public void setTargetVersion(@Nullable String value)
      The harness version that the endpoint points to and serves invocations from.