Interface IApiKey

All Superinterfaces:
IApiKeyRef, software.constructs.IConstruct, software.constructs.IDependable, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IApiKey.Jsii$Default
All Known Implementing Classes:
ApiKey, IApiKey.Jsii$Proxy, RateLimitedApiKey

@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)", date="2025-09-25T11:29:00.348Z") @Stability(Stable) public interface IApiKey extends software.amazon.jsii.JsiiSerializable, IResource, IApiKeyRef
API keys are alphanumeric string values that you distribute to app developer customers to grant access to your API.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for IApiKey.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    The API key ARN.
    The API key ID.
    software.constructs.Node
    The tree node.

    Methods inherited from interface software.amazon.awscdk.services.apigateway.IApiKeyRef

    getApiKeyRef

    Methods inherited from interface software.amazon.awscdk.IResource

    applyRemovalPolicy, getEnv, getStack

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getKeyArn

      @Stability(Stable) @NotNull String getKeyArn()
      The API key ARN.
    • getKeyId

      @Stability(Stable) @NotNull String getKeyId()
      The API key ID.
    • getNode

      @Stability(Stable) @NotNull software.constructs.Node getNode()
      The tree node.
      Specified by:
      getNode in interface software.constructs.IConstruct