All Products
Search
Document Center

Function Compute:InputCodeLocation

Last Updated:Nov 22, 2024
ParameterTypeDescriptionExample
object

The code configurations of the function. Code packages can be provided in the following methods:

  1. Include content of a code package in requests. In this case, zipFile must be set.
  2. Upload a code package to Object Storage Service (OSS). Include the path of the OSS object in requests. In this case, you must set ossBucketName and ossObjectName.
checksumstring

The CRC-64 value of the function code package. If checksum is provided, Function Compute checks whether the checksum of the code package is the same as that provided.

2825179536350****
ossBucketNamestring

The name of the OSS bucket where the ZIP package of the function code is stored.

demo-bucket
ossObjectNamestring

The name of the OSS object where the ZIP package of the function code is stored.

demo-object
zipFilestring

The ZIP package of the function code that is encoded in Base64 format.

UEsDBAoAAAAAANF