aws_ec2_transit_gateway_routeNivis Nix constructor for the aws_ec2_transit_gateway_route 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_cidr_block,
transit_gateway_route_table_id,
blackhole ? null,
id ? null,
region ? null,
transit_gateway_attachment_id ? null,
overrides ? {}
}Required arguments
destination_cidr_blocktransit_gateway_route_table_id
Optional arguments
blackhole(defaults tonull)id(defaults tonull)region(defaults tonull)transit_gateway_attachment_id(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
aws_ec2_transit_gateway_route {
name = "ec2_transit_gateway_route";
destination_cidr_block = …; # required
transit_gateway_route_table_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.