interface APIKeyReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.Location.APIKeyReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awslocation#APIKeyReference |
Java | software.amazon.awscdk.interfaces.location.APIKeyReference |
Python | aws_cdk.interfaces.aws_location.APIKeyReference |
TypeScript | aws-cdk-lib » interfaces » aws_location » 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_location as interfaces_location } from 'aws-cdk-lib/interfaces';
const aPIKeyReference: interfaces_location.APIKeyReference = {
apiKeyArn: 'apiKeyArn',
keyName: 'keyName',
};
Properties
| Name | Type | Description |
|---|---|---|
| api | string | The ARN of the APIKey resource. |
| key | string | The KeyName of the APIKey resource. |
apiKeyArn
Type:
string
The ARN of the APIKey resource.
keyName
Type:
string
The KeyName of the APIKey resource.

.NET
Go
Java
Python
TypeScript