LayerVersionProps
Properties for defining a LayerVersion.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc3-layerversion
Initializer
import { LayerVersionProps } from '@alicloud/ros-cdk-fc3'
const layerVersionProps: LayerVersionProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
layerName | string | @alicloud/ros-cdk-core.IResolvable | Property layerName: Name of the layer. |
acl | string | @alicloud/ros-cdk-core.IResolvable | Property acl: The access permission of the layer, 1: public, 0: private, default is private. |
code | @alicloud/ros-cdk-core.IResolvable | CodeProperty | Property code: Layer code configuration. |
compatibleRuntime | @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] | Property compatibleRuntime: List of runtime environments supported by the layer. |
description | string | @alicloud/ros-cdk-core.IResolvable | Property description: Description of the version. |
license | string | @alicloud/ros-cdk-core.IResolvable | Property license: Layer License Agreement. |
layerNameRequired
public readonly layerName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property layerName: Name of the layer.
aclOptional
public readonly acl: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property acl: The access permission of the layer, 1: public, 0: private, default is private.
codeOptional
public readonly code: IResolvable | CodeProperty;
- Type: @alicloud/ros-cdk-core.IResolvable | CodeProperty
Property code: Layer code configuration.
compatibleRuntimeOptional
public readonly compatibleRuntime: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property compatibleRuntime: List of runtime environments supported by the layer.
descriptionOptional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: Description of the version.
licenseOptional
public readonly license: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property license: Layer License Agreement.