LayerProps
Properties for defining a Layer
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-layer
Initializer
import { LayerProps } from '@alicloud/ros-cdk-fc'
const layerProps: LayerProps = { ... }
Properties
Name | Type | Description |
---|---|---|
code |
@alicloud/ros-cdk-core.IResolvable | CodeProperty |
Property code: The code of layer. |
compatibleRuntime |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property compatibleRuntime: The runtime environment supported by the layer. |
layerName |
string | @alicloud/ros-cdk-core.IResolvable |
Property layerName: The name of layer. |
description |
string | @alicloud/ros-cdk-core.IResolvable |
Property description: The description of the layer. |
code
Required
public readonly code: IResolvable | CodeProperty;
- Type: @alicloud/ros-cdk-core.IResolvable | CodeProperty
Property code: The code of layer.
compatibleRuntime
Required
public readonly compatibleRuntime: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property compatibleRuntime: The runtime environment supported by the layer.
For example:nodejs12, nodejs10, nodejs8, nodejs6, python3, and python2.7
layerName
Required
public readonly layerName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property layerName: The name of layer.
description
Optional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: The description of the layer.