Cell API
    Preparing search index...

    Class ScfDeployment

    Deploys the output of the scf preset with the SCF API: a web function (Type HTTP) with the output directory as code, and a public function URL without authentication. Credentials: TENCENTCLOUD_SECRET_ID / TENCENTCLOUD_SECRET_KEY (/ TENCENTCLOUD_SESSION_TOKEN).

    Index
    context: DeployContext
    credentials?: { secretId: string; secretKey: string; token?: string }
    io: CloudIo = DEFAULT_IO
    name: string
    namespace: string
    region: string
    CREDENTIALS: "TENCENTCLOUD_SECRET_ID and TENCENTCLOUD_SECRET_KEY" = 'TENCENTCLOUD_SECRET_ID and TENCENTCLOUD_SECRET_KEY'
    MAX_PACKAGE: number = ...

    ZipFile of the API: base64 of at most 20 MB.

    TRIGGER: "cell-url" = 'cell-url'
    • get settings(): {
          Environment: { Variables: { Key: string; Value: string }[] };
          MemorySize: number;
          Timeout: number;
      }

      Returns {
          Environment: { Variables: { Key: string; Value: string }[] };
          MemorySize: number;
          Timeout: number;
      }