interface ApiKeyReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.APIGateway.ApiKeyReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapigateway#ApiKeyReference |
Java | software.amazon.awscdk.services.apigateway.ApiKeyReference |
Python | aws_cdk.aws_apigateway.ApiKeyReference |
TypeScript | aws-cdk-lib » aws_apigateway » ApiKeyReference |
A reference to a ApiKey resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigateway as apigateway } from 'aws-cdk-lib';
const apiKeyReference: apigateway.ApiKeyReference = {
apiKeyId: 'apiKeyId',
};
Properties
| Name | Type | Description |
|---|---|---|
| api | string | The APIKeyId of the ApiKey resource. |
apiKeyId
Type:
string
The APIKeyId of the ApiKey resource.

.NET
Go
Java
Python
TypeScript