import * as core from "@terrascript/core"; export interface LoadBalancerBackendServerPolicyArgs extends core.ResourceArgs { /** * (Required) The instance port to apply the policy to. */ instancePort: number | core.NumberOut; /** * (Required) The load balancer to attach the policy to. */ loadBalancerName: string | core.StringOut; /** * (Required) List of Policy Names to apply to the backend server. */ policyNames?: core.Array | core.ArrayOut; } export class LoadBalancerBackendServerPolicy extends core.Resource { /** * The ID of the policy. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The instance port to apply the policy to. */ @core.attr(Number) public instancePort!: number | core.NumberOut; /** * (Required) The load balancer to attach the policy to. */ @core.attr(String) public loadBalancerName!: string | core.StringOut; /** * (Required) List of Policy Names to apply to the backend server. */ @core.attr(String, { kind: "array" }) public policyNames?: core.Array | core.ArrayOut; constructor(name: string, args?: LoadBalancerBackendServerPolicyArgs) { super(name, "aws_load_balancer_backend_server_policy", args); } public override getNamespace(): string { return "aws_elb_classic"; } }