aws_guardduty_publishing_destinationNivis Nix constructor for the aws_guardduty_publishing_destination 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,
destination_arn,
detector_id,
kms_key_arn,
destination_type ? null,
id ? null,
region ? null,
tags ? null,
tags_all ? null,
overrides ? {}
}Required arguments
destination_arndetector_idkms_key_arn
Optional arguments
destination_type(defaults tonull)id(defaults tonull)region(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arndestination_id
Example
aws_guardduty_publishing_destination {
name = "guardduty_publishing_destination";
destination_arn = …; # required
detector_id = …; # required
kms_key_arn = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.