import * as core from "@terrascript/core"; export interface ProxyProtocolPolicyArgs extends core.ResourceArgs { /** * (Required) List of instance ports to which the policy */ instancePorts: core.Array | core.ArrayOut; /** * (Required) The load balancer to which the policy */ loadBalancer: string | core.StringOut; } export class ProxyProtocolPolicy extends core.Resource { /** * The ID of the policy. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) List of instance ports to which the policy */ @core.attr(String, { kind: "array" }) public instancePorts!: core.Array | core.ArrayOut; /** * (Required) The load balancer to which the policy */ @core.attr(String) public loadBalancer!: string | core.StringOut; constructor(name: string, args?: ProxyProtocolPolicyArgs) { super(name, "aws_proxy_protocol_policy", args); } public override getNamespace(): string { return "aws_elb_classic"; } }