UNPKG

@cloud-diagrams/gcp

Version:

Google Cloud Platform services for cloud-diagrams-ts

13 lines 574 B
import { GCPNode, type NodeMetadata } from '@cloud-diagrams/core'; export interface FunctionOptions extends NodeMetadata { runtime?: string; trigger?: 'http' | 'pubsub' | 'storage' | 'firestore'; memory?: string; timeout?: number; } export declare class CloudFunctions extends GCPNode { constructor(label: string, options?: FunctionOptions); static create(label: string, options?: FunctionOptions): CloudFunctions; } export declare const GCF: (label: string, options?: FunctionOptions) => CloudFunctions; //# sourceMappingURL=cloud-functions.d.ts.map