aws_lightsail_key_pair

Nivis Nix constructor for the aws_lightsail_key_pair resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  id ? null,
  cfg_name ? null,
  name_prefix ? null,
  pgp_key ? null,
  public_key ? null,
  region ? null,
  tags ? null,
  tags_all ? null,
  overrides ? {}
}
Required arguments

_None._

Optional arguments
  • id (defaults to null)
  • cfg_name (defaults to null)
  • name_prefix (defaults to null)
  • pgp_key (defaults to null)
  • public_key (defaults to null)
  • region (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • encrypted_fingerprint
  • encrypted_private_key
  • fingerprint
  • private_key
Example
aws_lightsail_key_pair {
  name = "lightsail_key_pair";
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.