interface APIKeyReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Location.APIKeyReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslocation#APIKeyReference |
Java | software.amazon.awscdk.services.location.APIKeyReference |
Python | aws_cdk.aws_location.APIKeyReference |
TypeScript | aws-cdk-lib » 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 location } from 'aws-cdk-lib';
const aPIKeyReference: 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