aws_ec2_transit_gateway_route

Nivis 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_block
  • transit_gateway_route_table_id
Optional arguments
  • blackhole (defaults to null)
  • id (defaults to null)
  • region (defaults to null)
  • transit_gateway_attachment_id (defaults to null)
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.