interface CfnApiKeyMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppSync.Mixins.CfnApiKeyMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappsync/mixins#CfnApiKeyMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.appsync.mixins.CfnApiKeyMixinProps |
Python | aws_cdk.mixins_preview.aws_appsync.mixins.CfnApiKeyMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_appsync » mixins » CfnApiKeyMixinProps |
Properties for CfnApiKeyPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-apikey.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as appsync_mixins } from '@aws-cdk/mixins-preview/aws-appsync';
const cfnApiKeyMixinProps: appsync_mixins.CfnApiKeyMixinProps = {
apiId: 'apiId',
description: 'description',
expires: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| api | string | Unique AWS AppSync GraphQL API ID for this API key. |
| description? | string | Unique description of your API key. |
| expires? | number | The time after which the API key expires. |
apiId?
Type:
string
(optional)
Unique AWS AppSync GraphQL API ID for this API key.
description?
Type:
string
(optional)
Unique description of your API key.
expires?
Type:
number
(optional)
The time after which the API key expires.
The date is represented as seconds since the epoch, rounded down to the nearest hour.

.NET
Go
Java
Python
TypeScript