import * as core from "@terrascript/core"; export interface ConnectionRouteArgs extends core.ResourceArgs { /** * (Required) The CIDR block associated with the local subnet of the customer network. */ destinationCidrBlock: string | core.StringOut; /** * (Required) The ID of the VPN connection. */ vpnConnectionId: string | core.StringOut; } export class ConnectionRoute extends core.Resource { /** * (Required) The CIDR block associated with the local subnet of the customer network. */ @core.attr(String) public destinationCidrBlock!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The ID of the VPN connection. */ @core.attr(String) public vpnConnectionId!: string | core.StringOut; constructor(name: string, args?: ConnectionRouteArgs) { super(name, "aws_vpn_connection_route", args); } public override getNamespace(): string { return "aws_vpn"; } }