Interface ApiKeyProps
- All Superinterfaces:
ApiKeyOptions
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
RateLimitedApiKeyProps
- All Known Implementing Classes:
ApiKeyProps.Jsii$Proxy
,RateLimitedApiKeyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-08-27T16:10:17.103Z")
@Stability(Stable)
public interface ApiKeyProps
extends software.amazon.jsii.JsiiSerializable, ApiKeyOptions
ApiKey Properties.
Example:
// Auto-generated name and value ApiKey autoKey = new ApiKey(this, "AutoKey"); // Explicit name and value ApiKey explicitKey = ApiKey.Builder.create(this, "ExplicitKey") .apiKeyName("MyWebSocketApiKey") .value("MyApiKeyThatIsAtLeast20Characters") .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forApiKeyProps
static final class
An implementation forApiKeyProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic ApiKeyProps.Builder
builder()
default String
An AWS Marketplace customer identifier to use when integrating with the AWS SaaS Marketplace.default Boolean
Indicates whether the API key can be used by clients.default Boolean
Specifies whether the key identifier is distinct from the created API key value.Methods inherited from interface software.amazon.awscdk.services.apigatewayv2.ApiKeyOptions
getApiKeyName, getDescription, getValue
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCustomerId
An AWS Marketplace customer identifier to use when integrating with the AWS SaaS Marketplace.Default: none
-
getEnabled
Indicates whether the API key can be used by clients.Default: true
-
getGenerateDistinctId
Specifies whether the key identifier is distinct from the created API key value.Default: false
-
builder
- Returns:
- a
ApiKeyProps.Builder
ofApiKeyProps
-