aws_kms_keyNivis Nix constructor for the aws_kms_key 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,
bypass_policy_lockout_safety_check ? null,
custom_key_store_id ? null,
customer_master_key_spec ? null,
deletion_window_in_days ? null,
description ? null,
enable_key_rotation ? null,
id ? null,
is_enabled ? null,
key_usage ? null,
multi_region ? null,
policy ? null,
region ? null,
rotation_period_in_days ? null,
tags ? null,
tags_all ? null,
xks_key_id ? null,
timeouts ? null,
overrides ? {}
}Required arguments
_None._
Optional arguments
bypass_policy_lockout_safety_check(defaults tonull)custom_key_store_id(defaults tonull)customer_master_key_spec(defaults tonull)deletion_window_in_days(defaults tonull)description(defaults tonull)enable_key_rotation(defaults tonull)id(defaults tonull)is_enabled(defaults tonull)key_usage(defaults tonull)multi_region(defaults tonull)policy(defaults tonull)region(defaults tonull)rotation_period_in_days(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)xks_key_id(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arnkey_id
Example
aws_kms_key {
name = "kms_key";
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.