aviatrix_aws_tgw_directconnectNivis Nix constructor for the aviatrix_aws_tgw_directconnect resource (provider aviatrix). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
allowed_prefix,
directconnect_account_name,
dx_gateway_id,
network_domain_name,
tgw_name,
enable_learned_cidrs_approval ? null,
id ? null,
overrides ? {}
}Required arguments
allowed_prefixdirectconnect_account_namedx_gateway_idnetwork_domain_nametgw_name
Optional arguments
enable_learned_cidrs_approval(defaults tonull)id(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
aviatrix_aws_tgw_directconnect {
name = "aws_tgw_directconnect";
allowed_prefix = …; # required
directconnect_account_name = …; # required
dx_gateway_id = …; # required
network_domain_name = …; # required
tgw_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.