aws_xray_resource_policyNivis Nix constructor for the aws_xray_resource_policy 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,
policy_document,
policy_name,
bypass_policy_lockout_check ? null,
policy_revision_id ? null,
region ? null,
overrides ? {}
}Required arguments
policy_documentpolicy_name
Optional arguments
bypass_policy_lockout_check(defaults tonull)policy_revision_id(defaults tonull)region(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
last_updated_time
Example
aws_xray_resource_policy {
name = "xray_resource_policy";
policy_document = …; # required
policy_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.