aws_ec2_client_vpn_route

Nivis Nix constructor for the aws_ec2_client_vpn_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,
  client_vpn_endpoint_id,
  destination_cidr_block,
  description ? null,
  id ? null,
  region ? null,
  target_vpc_subnet_id ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • client_vpn_endpoint_id
  • destination_cidr_block
Optional arguments
  • description (defaults to null)
  • id (defaults to null)
  • region (defaults to null)
  • target_vpc_subnet_id (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • origin
  • transit_gateway_attachment_id
  • type
Example
aws_ec2_client_vpn_route {
  name = "ec2_client_vpn_route";
  client_vpn_endpoint_id = …;  # required
  destination_cidr_block = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.