LayerProps
Properties for defining a Layer
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-layer
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkfc"
&alicloudroscdkfc.LayerProps {
Code: interface{},
CompatibleRuntime: interface{},
LayerName: interface{},
Description: interface{},
}
Properties
Name | Type | Description |
---|---|---|
Code |
interface{} |
Property code: The code of layer. |
CompatibleRuntime |
interface{} |
Property compatibleRuntime: The runtime environment supported by the layer. |
LayerName |
interface{} |
Property layerName: The name of layer. |
Description |
interface{} |
Property description: The description of the layer. |
Code
Required
Code interface{}
- Type: interface{}
Property code: The code of layer.
CompatibleRuntime
Required
CompatibleRuntime interface{}
- Type: interface{}
Property compatibleRuntime: The runtime environment supported by the layer.
For example:nodejs12, nodejs10, nodejs8, nodejs6, python3, and python2.7
LayerName
Required
LayerName interface{}
- Type: interface{}
Property layerName: The name of layer.
Description
Optional
Description interface{}
- Type: interface{}
Property description: The description of the layer.