import * as core from "@terrascript/core"; export interface LbTargetGroupAttachmentArgs extends core.ResourceArgs { /** * (Optional) The Availability Zone where the IP address of the target is to be registered. If the priv * ate ip address is outside of the VPC scope, this value must be set to 'all'. */ availabilityZone?: string | core.StringOut; /** * (Optional) The port on which targets receive traffic. */ port?: number | core.NumberOut; /** * (Required) The ARN of the target group with which to register targets */ targetGroupArn: string | core.StringOut; targetId: string | core.StringOut; } export class LbTargetGroupAttachment extends core.Resource { /** * (Optional) The Availability Zone where the IP address of the target is to be registered. If the priv * ate ip address is outside of the VPC scope, this value must be set to 'all'. */ @core.attr(String) public availabilityZone?: string | core.StringOut; /** * A unique identifier for the attachment */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) The port on which targets receive traffic. */ @core.attr(Number) public port?: number | core.NumberOut; /** * (Required) The ARN of the target group with which to register targets */ @core.attr(String) public targetGroupArn!: string | core.StringOut; @core.attr(String) public targetId!: string | core.StringOut; constructor(name: string, args?: LbTargetGroupAttachmentArgs) { super(name, "aws_lb_target_group_attachment", args); } public override getNamespace(): string { return "aws_elb"; } }