interface ApiKeyReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AppSync.ApiKeyReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappsync#ApiKeyReference |
Java | software.amazon.awscdk.services.appsync.ApiKeyReference |
Python | aws_cdk.aws_appsync.ApiKeyReference |
TypeScript | aws-cdk-lib » aws_appsync » 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_appsync as appsync } from 'aws-cdk-lib';
const apiKeyReference: appsync.ApiKeyReference = {
apiKeyArn: 'apiKeyArn',
apiKeyId: 'apiKeyId',
};
Properties
| Name | Type | Description |
|---|---|---|
| api | string | The ARN of the ApiKey resource. |
| api | string | The ApiKeyId of the ApiKey resource. |
apiKeyArn
Type:
string
The ARN of the ApiKey resource.
apiKeyId
Type:
string
The ApiKeyId of the ApiKey resource.

.NET
Go
Java
Python
TypeScript