import * as core from "@terrascript/core"; export interface AttributeArgs extends core.SchemaArgs { name: string | core.StringOut; value: string | core.StringOut; } export class Attribute extends core.Schema { @core.attr(String) public name!: string | core.StringOut; @core.attr(String) public value!: string | core.StringOut; } export interface LbSslNegotiationPolicyArgs extends core.ResourceArgs { /** * (Optional) An SSL Negotiation policy attribute. Each has two properties: */ attribute?: core.Array | core.ArrayOut; /** * (Required) The load balancer port to which the policy */ lbPort: number | core.NumberOut; /** * (Required) The load balancer to which the policy */ loadBalancer: string | core.StringOut; /** * (Required) The name of the SSL negotiation policy. */ name: string | core.StringOut; } export class LbSslNegotiationPolicy extends core.Resource { /** * (Optional) An SSL Negotiation policy attribute. Each has two properties: */ @core.attr(Attribute, { kind: "array" }) public attribute?: core.Array | core.ArrayOut; /** * 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 load balancer to which the policy */ @core.attr(String) public loadBalancer!: string | core.StringOut; /** * (Required) The name of the SSL negotiation policy. */ @core.attr(String) public name!: string | core.StringOut; constructor(name: string, args?: LbSslNegotiationPolicyArgs) { super(name, "aws_lb_ssl_negotiation_policy", args); } public override getNamespace(): string { return "aws_elb_classic"; } }