import * as core from "@terrascript/core"; export interface StaticIpAttachmentArgs extends core.ResourceArgs { /** * (Required) The name of the Lightsail instance to attach the IP to */ instanceName: string | core.StringOut; /** * (Required) The name of the allocated static IP */ staticIpName: string | core.StringOut; } export class StaticIpAttachment extends core.Resource { @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the Lightsail instance to attach the IP to */ @core.attr(String) public instanceName!: string | core.StringOut; /** * The allocated static IP address */ @core.attr(String, { computed: true }) public ipAddress!: string | core.StringOut; /** * (Required) The name of the allocated static IP */ @core.attr(String) public staticIpName!: string | core.StringOut; constructor(name: string, args?: StaticIpAttachmentArgs) { super(name, "aws_lightsail_static_ip_attachment", args); } public override getNamespace(): string { return "aws_lightsail"; } }