import * as core from "@terrascript/core"; export interface Ec2LocalGatewayRouteArgs extends core.ResourceArgs { /** * (Required) IPv4 CIDR range used for destination matches. Routing decisions are based on the most spe * cific match. */ destinationCidrBlock: string | core.StringOut; /** * (Required) Identifier of EC2 Local Gateway Route Table. */ localGatewayRouteTableId: string | core.StringOut; /** * (Required) Identifier of EC2 Local Gateway Virtual Interface Group. */ localGatewayVirtualInterfaceGroupId: string | core.StringOut; } export class Ec2LocalGatewayRoute extends core.Resource { /** * (Required) IPv4 CIDR range used for destination matches. Routing decisions are based on the most spe * cific match. */ @core.attr(String) public destinationCidrBlock!: string | core.StringOut; /** * EC2 Local Gateway Route Table identifier and destination CIDR block separated by underscores (`_`) */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) Identifier of EC2 Local Gateway Route Table. */ @core.attr(String) public localGatewayRouteTableId!: string | core.StringOut; /** * (Required) Identifier of EC2 Local Gateway Virtual Interface Group. */ @core.attr(String) public localGatewayVirtualInterfaceGroupId!: string | core.StringOut; constructor(name: string, args?: Ec2LocalGatewayRouteArgs) { super(name, "aws_ec2_local_gateway_route", args); } public override getNamespace(): string { return "aws_outposts"; } }