All Products
Search
Document Center

Function Compute:Layer

Last Updated:Nov 22, 2024
ParameterTypeDescriptionExample
object

The details of the layer.

aclstring

The permission of the layer. Valid value: 0 and 1. 0 specifies that the layer is private, and 1 specifies that the layer is public. By default, public layers are public. Custom layers can be set to private or public.

0
codeOutputCodeLocation

The information about the code package of the layer.

codeChecksumstring

The crc64 verification code of the layer code package, which is calculated based on ECMA-182.

2825179536350****
codeSizelong

The size of the layer code package. Unit: bytes.

421
compatibleRuntimearray

The runtimes that are supported by the layer.

string

The runtime.

python3.10
createTimestring

The time when the layer version was created.

2023-03-30T11:08:00Z
descriptionstring

The description of the layer version.

My first layer
layerNamestring

The name of the layer.

MyLayer
layerVersionArnstring

The name of the resource in the layer version. The name is in the acs:fc:{region}:{accountID}:layers/{layerName}/versions/{layerVersion} format.

acs:fc:cn-beijing:186824xxxxxx:layers/fc_layer/versions/1
licensestring

The license agreement.

Apache
versioninteger

The layer version.

1