Interface IApiKey
- All Superinterfaces:
IApiKeyRef,software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,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.120.0 (build 192dc88)",
date="2025-12-05T10:47:11.499Z")
@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 ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIApiKey.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Methods inherited from interface software.amazon.awscdk.interfaces.apigateway.IApiKeyRef
getApiKeyRefMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKeyArn
The API key ARN. -
getKeyId
The API key ID. -
getNode
@Stability(Stable) @NotNull software.constructs.Node getNode()The tree node.- Specified by:
getNodein interfacesoftware.constructs.IConstruct
-
getEnv
The environment this resource belongs to.For resources that are created and managed in a Stack (those created by creating new class instances like
new Role(),new Bucket(), etc.), this is always the same as the environment of the stack they belong to.For referenced resources (those obtained from referencing methods like
Role.fromRoleArn(),Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.- Specified by:
getEnvin interfaceIEnvironmentAware
-