Class GatewayTargetBase

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

@Generated(value="jsii-pacmak/1.129.0 (build eaca441)", date="2026-05-19T08:18:44.414Z") @Stability(Stable) public abstract class GatewayTargetBase extends Resource implements IGatewayTarget
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(Stable) @NotNull public Grant grant(@NotNull IGrantable grantee, @NotNull String... actions)
      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(Stable) @NotNull public Grant grantManage(@NotNull IGrantable grantee)
      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(Stable) @NotNull public Grant grantRead(@NotNull IGrantable grantee)
      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(Stable) @NotNull public abstract IGateway getGateway()
      The gateway that this target belongs to.
      Specified by:
      getGateway in interface IGatewayTarget
    • getGatewayTargetName

      @Stability(Stable) @NotNull public abstract String getGatewayTargetName()
      The name of the gateway target.
      Specified by:
      getGatewayTargetName in interface IGatewayTarget
    • getGatewayTargetRef

      @Stability(Stable) @NotNull public GatewayTargetReference getGatewayTargetRef()
      A reference to a GatewayTarget resource.
      Specified by:
      getGatewayTargetRef in interface IGatewayTargetRef
    • getTargetArn

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

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

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

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

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

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

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

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

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