aws_vpc_encryption_controlNivis Nix constructor for the aws_vpc_encryption_control 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,
mode,
vpc_id,
egress_only_internet_gateway_exclusion ? null,
elastic_file_system_exclusion ? null,
internet_gateway_exclusion ? null,
lambda_exclusion ? null,
nat_gateway_exclusion ? null,
region ? null,
tags ? null,
virtual_private_gateway_exclusion ? null,
vpc_lattice_exclusion ? null,
vpc_peering_exclusion ? null,
timeouts ? null,
overrides ? {}
}Required arguments
modevpc_id
Optional arguments
egress_only_internet_gateway_exclusion(defaults tonull)elastic_file_system_exclusion(defaults tonull)internet_gateway_exclusion(defaults tonull)lambda_exclusion(defaults tonull)nat_gateway_exclusion(defaults tonull)region(defaults tonull)tags(defaults tonull)virtual_private_gateway_exclusion(defaults tonull)vpc_lattice_exclusion(defaults tonull)vpc_peering_exclusion(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
idresource_exclusionsstatestate_messagetags_all
Example
aws_vpc_encryption_control {
name = "vpc_encryption_control";
mode = …; # required
vpc_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.