Interface IGatewayTarget

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IDependable, IEnvironmentAware, IGatewayTargetRef, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IGatewayTarget.Jsii$Default, IMcpGatewayTarget, IMcpGatewayTarget.Jsii$Default
All Known Implementing Classes:
GatewayTarget, GatewayTargetBase, IGatewayTarget.Jsii$Proxy, IMcpGatewayTarget.Jsii$Proxy

@Generated(value="jsii-pacmak/1.129.0 (build eaca441)", date="2026-05-19T08:18:44.444Z") @Stability(Stable) public interface IGatewayTarget extends software.amazon.jsii.JsiiSerializable, IResource, IGatewayTargetRef
Interface for GatewayTarget resources.

Represents a target that hosts tools for the gateway. Targets can be Lambda functions, OpenAPI schemas, or Smithy models.

  • Method Details

    • getGateway

      @Stability(Stable) @NotNull IGateway getGateway()
      The gateway that this target belongs to.
    • getGatewayTargetName

      @Stability(Stable) @NotNull String getGatewayTargetName()
      The name of the gateway target.
    • getTargetArn

      @Stability(Stable) @NotNull String getTargetArn()
      The ARN of the gateway target resource.
    • getTargetId

      @Stability(Stable) @NotNull String getTargetId()
      The id of the gateway target.
    • getTargetProtocolType

      @Stability(Stable) @NotNull GatewayTargetProtocolType getTargetProtocolType()
      The target protocol.
    • getCreatedAt

      @Stability(Stable) @Nullable default String getCreatedAt()
      Timestamp when the gateway target was created.
    • getCredentialProviderConfigurations

      @Stability(Stable) @Nullable default List<ICredentialProviderConfig> getCredentialProviderConfigurations()
      The credential provider configuration for the target.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description of the gateway target.
    • getStatus

      @Stability(Stable) @Nullable default String getStatus()
      The status of the gateway target.
    • getStatusReasons

      @Stability(Stable) @Nullable default List<String> getStatusReasons()
      The status reasons for the gateway target.
    • getUpdatedAt

      @Stability(Stable) @Nullable default String getUpdatedAt()
      Timestamp when the gateway target was last updated.
    • grant

      @Stability(Stable) @NotNull Grant grant(@NotNull IGrantable grantee, @NotNull String... actions)
      Grants IAM actions to the IAM Principal.

      Parameters:
      grantee - This parameter is required.
      actions - This parameter is required.
    • grantManage

      @Stability(Stable) @NotNull Grant grantManage(@NotNull IGrantable grantee)
      Grants Create, Update, and Delete actions on the Gateway Target.

      Parameters:
      grantee - This parameter is required.
    • grantRead

      @Stability(Stable) @NotNull Grant grantRead(@NotNull IGrantable grantee)
      Grants Get and List actions on the Gateway Target.

      Parameters:
      grantee - This parameter is required.