import * as core from "@terrascript/core"; export interface GatewayArgs extends core.ResourceArgs { /** * (Optional) The Autonomous System Number (ASN) for the Amazon side of the gateway. If you don't speci * fy an ASN, the virtual private gateway is created with the default ASN. */ amazonSideAsn?: string | core.StringOut; /** * (Optional) The Availability Zone for the virtual private gateway. */ availabilityZone?: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; /** * (Optional) The VPC ID to create in. */ vpcId?: string | core.StringOut; } export class Gateway extends core.Resource { /** * (Optional) The Autonomous System Number (ASN) for the Amazon side of the gateway. If you don't speci * fy an ASN, the virtual private gateway is created with the default ASN. */ @core.attr(String, { computed: true }) public amazonSideAsn?: string | core.StringOut; /** * Amazon Resource Name (ARN) of the VPN Gateway. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) The Availability Zone for the virtual private gateway. */ @core.attr(String) public availabilityZone?: string | core.StringOut; /** * The ID of the VPN Gateway. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; /** * (Optional) The VPC ID to create in. */ @core.attr(String, { computed: true }) public vpcId?: string | core.StringOut; constructor(name: string, args?: GatewayArgs) { super(name, "aws_vpn_gateway", args); } public override getNamespace(): string { return "aws_vpn"; } }