java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.bedrock.agentcore.alpha.GatewayTargetBase
All Implemented Interfaces:
IEnvironmentAware, IResource, IGatewayTarget, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable
Direct Known Subclasses:
GatewayTarget

@Generated(value="jsii-pacmak/1.125.0 (build fdbe357)", date="2026-01-23T11:20:10.067Z") @Stability(Experimental) public abstract class GatewayTargetBase extends Resource implements IGatewayTarget
(experimental) Base class for gateway target implementations.

Provides common functionality for all gateway target types including permission management and property definitions.

  • Constructor Details

    • GatewayTargetBase

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

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

      @Stability(Stable) protected GatewayTargetBase(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable ResourceProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props -
    • GatewayTargetBase

      @Stability(Stable) protected GatewayTargetBase(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
  • Method Details

    • grant

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

      [disable-awslint:no-grants]

      Specified by:
      grant in interface IGatewayTarget
      Parameters:
      grantee - The principal to grant permissions to. This parameter is required.
      actions - The IAM actions to grant. This parameter is required.
    • grantManage

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

      [disable-awslint:no-grants]

      Specified by:
      grantManage in interface IGatewayTarget
      Parameters:
      grantee - The principal to grant manage permissions to. This parameter is required.
    • grantRead

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

      [disable-awslint:no-grants]

      Specified by:
      grantRead in interface IGatewayTarget
      Parameters:
      grantee - The principal to grant read permissions to. This parameter is required.
    • getGateway

      @Stability(Experimental) @NotNull public abstract IGateway getGateway()
      (experimental) The gateway that this target belongs to.
      Specified by:
      getGateway in interface IGatewayTarget
    • getName

      @Stability(Experimental) @NotNull public abstract String getName()
      (experimental) The name of the gateway target.
      Specified by:
      getName in interface IGatewayTarget
    • getTargetArn

      @Stability(Experimental) @NotNull public abstract String getTargetArn()
      (experimental) The ARN of the gateway target resource.
      Specified by:
      getTargetArn in interface IGatewayTarget
    • getTargetId

      @Stability(Experimental) @NotNull public abstract String getTargetId()
      (experimental) The id of the gateway target.
      Specified by:
      getTargetId in interface IGatewayTarget
    • getTargetProtocolType

      @Stability(Experimental) @NotNull public abstract GatewayTargetProtocolType getTargetProtocolType()
      (experimental) The target protocol.
      Specified by:
      getTargetProtocolType in interface IGatewayTarget
    • getCreatedAt

      @Stability(Experimental) @Nullable public abstract String getCreatedAt()
      (experimental) Timestamp when the gateway target was created.
      Specified by:
      getCreatedAt in interface IGatewayTarget
    • getCredentialProviderConfigurations

      @Stability(Experimental) @Nullable public abstract List<ICredentialProviderConfig> getCredentialProviderConfigurations()
      (experimental) The credential provider configuration for the target.
      Specified by:
      getCredentialProviderConfigurations in interface IGatewayTarget
    • getDescription

      @Stability(Experimental) @Nullable public abstract String getDescription()
      (experimental) The description of the gateway target.
      Specified by:
      getDescription in interface IGatewayTarget
    • getStatus

      @Stability(Experimental) @Nullable public abstract String getStatus()
      (experimental) The status of the gateway target.
      Specified by:
      getStatus in interface IGatewayTarget
    • getStatusReasons

      @Stability(Experimental) @Nullable public abstract List<String> getStatusReasons()
      (experimental) The status reasons for the gateway target.
      Specified by:
      getStatusReasons in interface IGatewayTarget
    • getUpdatedAt

      @Stability(Experimental) @Nullable public abstract String getUpdatedAt()
      (experimental) Timestamp when the gateway target was last updated.
      Specified by:
      getUpdatedAt in interface IGatewayTarget