class Aws::AppSync::Types::ApiKey

Describes an API key.

Customers invoke AppSync GraphQL API operations with API keys as an identity mechanism. There are two key versions:

da1: This version was introduced at launch in November 2017. These keys always expire after 7 days. Key expiration is managed by Amazon DynamoDB TTL. The keys ceased to be valid after February 21, 2018 and should not be used after that date.

da2: This version was introduced in February 2018 when AppSync added support to extend key expiration.

@!attribute [rw] id

The API key ID.
@return [String]

@!attribute [rw] description

A description of the purpose of the API key.
@return [String]

@!attribute [rw] expires

The time after which the API key expires. The date is represented as
seconds since the epoch, rounded down to the nearest hour.
@return [Integer]

@!attribute [rw] deletes

The time after which the API key is deleted. The date is represented
as seconds since the epoch, rounded down to the nearest hour.
@return [Integer]

@see docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ApiKey AWS API Documentation

Constants

SENSITIVE