interface ApiKeyReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.APIGateway.ApiKeyReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awsapigateway#ApiKeyReference |
Java | software.amazon.awscdk.interfaces.apigateway.ApiKeyReference |
Python | aws_cdk.interfaces.aws_apigateway.ApiKeyReference |
TypeScript | aws-cdk-lib » interfaces » 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 interfaces_aws_apigateway } from 'aws-cdk-lib/interfaces';
const apiKeyReference: interfaces_aws_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