import * as core from "@terrascript/core"; export interface NetworkInterfaceAttachmentArgs extends core.ResourceArgs { /** * (Required) Network interface index (int). */ deviceIndex: number | core.NumberOut; /** * (Required) Instance ID to attach. */ instanceId: string | core.StringOut; /** * (Required) ENI ID to attach. */ networkInterfaceId: string | core.StringOut; } export class NetworkInterfaceAttachment extends core.Resource { /** * The ENI Attachment ID. */ @core.attr(String, { computed: true }) public attachmentId!: string | core.StringOut; /** * (Required) Network interface index (int). */ @core.attr(Number) public deviceIndex!: number | core.NumberOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) Instance ID to attach. */ @core.attr(String) public instanceId!: string | core.StringOut; /** * (Required) ENI ID to attach. */ @core.attr(String) public networkInterfaceId!: string | core.StringOut; /** * The status of the Network Interface Attachment. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; constructor(name: string, args?: NetworkInterfaceAttachmentArgs) { super(name, "aws_network_interface_attachment", args); } public override getNamespace(): string { return "aws_vpc"; } }