ApiKeyState constructor
ApiKeyState({})
Creates a new ApiKeyState.
apiId ID of the associated AppSync API
apiKeyId ID of the API key.
description API key description. Defaults to "Managed by Pulumi".
expires RFC3339 string representation of the expiry date. Rounded down to nearest hour. By default, it is 7 days from the date of creation.
key API key
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
Implementation
ApiKeyState({
this.apiId,
this.apiKeyId,
pulumi.Input<String?>? description,
this.expires,
this.key,
this.region,
}) : description = description ?? pulumi.Input.fromValue('Managed by Pulumi');