import * as core from "@terrascript/core"; export interface CustomerGatewayArgs extends core.ResourceArgs { /** * (Required) The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). */ bgpAsn: string | core.StringOut; /** * (Optional) The Amazon Resource Name (ARN) for the customer gateway certificate. */ certificateArn?: string | core.StringOut; /** * (Optional) A name for the customer gateway device. */ deviceName?: string | core.StringOut; /** * (Required) The IPv4 address for the customer gateway device's outside interface. */ ipAddress: string | core.StringOut; /** * (Optional) Tags to apply to the gateway. If configured with a provider [`default_tags` configuration * block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configuration * block) present, tags with matching keys will overwrite those defined at the provider-level. */ 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; /** * (Required) The type of customer gateway. The only type AWS */ type: string | core.StringOut; } export class CustomerGateway extends core.Resource { /** * The ARN of the customer gateway. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). */ @core.attr(String) public bgpAsn!: string | core.StringOut; /** * (Optional) The Amazon Resource Name (ARN) for the customer gateway certificate. */ @core.attr(String) public certificateArn?: string | core.StringOut; /** * (Optional) A name for the customer gateway device. */ @core.attr(String) public deviceName?: string | core.StringOut; /** * The amazon-assigned ID of the gateway. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The IPv4 address for the customer gateway device's outside interface. */ @core.attr(String) public ipAddress!: string | core.StringOut; /** * (Optional) Tags to apply to the gateway. If configured with a provider [`default_tags` configuration * block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configuration * block) present, tags with matching keys will overwrite those defined at the provider-level. */ @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; /** * (Required) The type of customer gateway. The only type AWS */ @core.attr(String) public type!: string | core.StringOut; constructor(name: string, args?: CustomerGatewayArgs) { super(name, "aws_customer_gateway", args); } public override getNamespace(): string { return "aws_vpn"; } }