CfnApiKeyProps

class aws_cdk.aws_appsync.CfnApiKeyProps(*, api_id, api_key_id=None, description=None, expires=None)

Bases: object

Properties for defining a AWS::AppSync::ApiKey.

Parameters
  • api_id (str) – AWS::AppSync::ApiKey.ApiId.

  • api_key_id (Optional[str]) – AWS::AppSync::ApiKey.ApiKeyId.

  • description (Optional[str]) – AWS::AppSync::ApiKey.Description.

  • expires (Union[int, float, None]) – AWS::AppSync::ApiKey.Expires.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-apikey.html

Attributes

api_id

AWS::AppSync::ApiKey.ApiId.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-apikey.html#cfn-appsync-apikey-apiid

Return type

str

api_key_id

AWS::AppSync::ApiKey.ApiKeyId.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-apikey.html#cfn-appsync-apikey-apikeyid

Return type

Optional[str]

description

AWS::AppSync::ApiKey.Description.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-apikey.html#cfn-appsync-apikey-description

Return type

Optional[str]

expires

AWS::AppSync::ApiKey.Expires.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-apikey.html#cfn-appsync-apikey-expires

Return type

Union[int, float, None]