Skip to content
v2.275.0

APIKeyReference Struct ​

A reference to a APIKey resource.

Example ​

ts
// 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 ​

apiKeyArnstringapi_key_arnstrapiKeyArnStringApiKeyArnstringApiKeyArn*stringrequired#
The ARN of the APIKey resource.
keyNamestringkey_namestrkeyNameStringKeyNamestringKeyName*stringrequired#
The KeyName of the APIKey resource.