import * as core from "@terrascript/core"; export interface AppCookieStickinessPolicyArgs extends core.ResourceArgs { /** * (Required) The application cookie whose lifetime the ELB's cookie should follow. */ cookieName: string | core.StringOut; /** * (Required) The load balancer port to which the policy */ lbPort: number | core.NumberOut; /** * (Required) The name of load balancer to which the policy */ loadBalancer: string | core.StringOut; /** * (Required) The name of the stickiness policy. */ name: string | core.StringOut; } export class AppCookieStickinessPolicy extends core.Resource { /** * (Required) The application cookie whose lifetime the ELB's cookie should follow. */ @core.attr(String) public cookieName!: string | core.StringOut; /** * The ID of the policy. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The load balancer port to which the policy */ @core.attr(Number) public lbPort!: number | core.NumberOut; /** * (Required) The name of load balancer to which the policy */ @core.attr(String) public loadBalancer!: string | core.StringOut; /** * (Required) The name of the stickiness policy. */ @core.attr(String) public name!: string | core.StringOut; constructor(name: string, args?: AppCookieStickinessPolicyArgs) { super(name, "aws_app_cookie_stickiness_policy", args); } public override getNamespace(): string { return "aws_elb_classic"; } }