import * as core from "@terrascript/core"; export interface DsRouteArgs { /** * (Optional) EC2 Carrier Gateway ID of the Route belonging to the Route Table. */ carrierGatewayId?: string | core.StringOut; /** * (Optional) Core network ARN of the Route belonging to the Route Table. */ coreNetworkArn?: string | core.StringOut; /** * (Optional) CIDR block of the Route belonging to the Route Table. */ destinationCidrBlock?: string | core.StringOut; /** * (Optional) IPv6 CIDR block of the Route belonging to the Route Table. */ destinationIpv6CidrBlock?: string | core.StringOut; /** * (Optional) The ID of a [managed prefix list](ec2_managed_prefix_list.html) destination of the Route * belonging to the Route Table. */ destinationPrefixListId?: string | core.StringOut; /** * (Optional) Egress Only Gateway ID of the Route belonging to the Route Table. */ egressOnlyGatewayId?: string | core.StringOut; /** * (Optional) Gateway ID of the Route belonging to the Route Table. */ gatewayId?: string | core.StringOut; /** * (Optional) Instance ID of the Route belonging to the Route Table. */ instanceId?: string | core.StringOut; /** * (Optional) Local Gateway ID of the Route belonging to the Route Table. */ localGatewayId?: string | core.StringOut; /** * (Optional) NAT Gateway ID of the Route belonging to the Route Table. */ natGatewayId?: string | core.StringOut; /** * (Optional) Network Interface ID of the Route belonging to the Route Table. */ networkInterfaceId?: string | core.StringOut; /** * (Required) The ID of the specific Route Table containing the Route entry. */ routeTableId: string | core.StringOut; /** * (Optional) EC2 Transit Gateway ID of the Route belonging to the Route Table. */ transitGatewayId?: string | core.StringOut; /** * (Optional) VPC Peering Connection ID of the Route belonging to the Route Table. */ vpcPeeringConnectionId?: string | core.StringOut; } export class DsRoute extends core.Data { /** * (Optional) EC2 Carrier Gateway ID of the Route belonging to the Route Table. */ @core.attr(String, { computed: true }) public carrierGatewayId?: string | core.StringOut; /** * (Optional) Core network ARN of the Route belonging to the Route Table. */ @core.attr(String, { computed: true }) public coreNetworkArn?: string | core.StringOut; /** * (Optional) CIDR block of the Route belonging to the Route Table. */ @core.attr(String, { computed: true }) public destinationCidrBlock?: string | core.StringOut; /** * (Optional) IPv6 CIDR block of the Route belonging to the Route Table. */ @core.attr(String, { computed: true }) public destinationIpv6CidrBlock?: string | core.StringOut; /** * (Optional) The ID of a [managed prefix list](ec2_managed_prefix_list.html) destination of the Route * belonging to the Route Table. */ @core.attr(String, { computed: true }) public destinationPrefixListId?: string | core.StringOut; /** * (Optional) Egress Only Gateway ID of the Route belonging to the Route Table. */ @core.attr(String, { computed: true }) public egressOnlyGatewayId?: string | core.StringOut; /** * (Optional) Gateway ID of the Route belonging to the Route Table. */ @core.attr(String, { computed: true }) public gatewayId?: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) Instance ID of the Route belonging to the Route Table. */ @core.attr(String, { computed: true }) public instanceId?: string | core.StringOut; /** * (Optional) Local Gateway ID of the Route belonging to the Route Table. */ @core.attr(String, { computed: true }) public localGatewayId?: string | core.StringOut; /** * (Optional) NAT Gateway ID of the Route belonging to the Route Table. */ @core.attr(String, { computed: true }) public natGatewayId?: string | core.StringOut; /** * (Optional) Network Interface ID of the Route belonging to the Route Table. */ @core.attr(String, { computed: true }) public networkInterfaceId?: string | core.StringOut; /** * (Required) The ID of the specific Route Table containing the Route entry. */ @core.attr(String) public routeTableId!: string | core.StringOut; /** * (Optional) EC2 Transit Gateway ID of the Route belonging to the Route Table. */ @core.attr(String, { computed: true }) public transitGatewayId?: string | core.StringOut; /** * (Optional) VPC Peering Connection ID of the Route belonging to the Route Table. */ @core.attr(String, { computed: true }) public vpcPeeringConnectionId?: string | core.StringOut; constructor(name: string, args?: DsRouteArgs) { super(name, "aws_route", args); } public override getNamespace(): string { return "aws_vpc"; } }