| Package | Description |
|---|---|
| software.amazon.awscdk.services.apigateway |
Amazon API Gateway Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
ApiKey.Builder |
ApiKey.Builder.apiKeyName(String apiKeyName)
A name for the API key.
|
static ApiKey.Builder |
ApiKey.Builder.create(software.constructs.Construct scope,
String id) |
ApiKey.Builder |
ApiKey.Builder.customerId(String customerId)
An AWS Marketplace customer identifier to use when integrating with the AWS SaaS Marketplace.
|
ApiKey.Builder |
ApiKey.Builder.defaultCorsPreflightOptions(CorsOptions defaultCorsPreflightOptions)
Adds a CORS preflight OPTIONS method to this resource and all child resources.
|
ApiKey.Builder |
ApiKey.Builder.defaultIntegration(Integration defaultIntegration)
An integration to use as a default for all methods created within this API unless an integration is specified.
|
ApiKey.Builder |
ApiKey.Builder.defaultMethodOptions(MethodOptions defaultMethodOptions)
Method options to use as a default for all methods created within this API unless custom options are specified.
|
ApiKey.Builder |
ApiKey.Builder.description(String description)
A description of the purpose of the API key.
|
ApiKey.Builder |
ApiKey.Builder.enabled(Boolean enabled)
Indicates whether the API key can be used by clients.
|
ApiKey.Builder |
ApiKey.Builder.generateDistinctId(Boolean generateDistinctId)
Specifies whether the key identifier is distinct from the created API key value.
|
ApiKey.Builder |
ApiKey.Builder.resources(List<? extends IRestApi> resources)
A list of resources this api key is associated with.
|
ApiKey.Builder |
ApiKey.Builder.value(String value)
The value of the API key.
|
Copyright © 2022. All rights reserved.