ApiKeyState constructor

ApiKeyState({
  1. Input<String?>? apiId,
  2. Input<String?>? apiKeyId,
  3. Input<String?>? description,
  4. Input<String?>? expires,
  5. Input<String?>? key,
  6. Input<String?>? region,
})

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');