Skip to content

LayerVersionProps

Properties for defining a LayerVersion.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc3-layerversion

Initializer

import ros_cdk_fc3
ros_cdk_fc3.LayerVersionProps(
  layer_name: typing.Union[str, IResolvable],
  acl: typing.Union[str, IResolvable] = None,
  code: typing.Union[IResolvable, CodeProperty] = None,
  compatible_runtime: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  description: typing.Union[str, IResolvable] = None,
  license: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
layer_name typing.Union[str, ros_cdk_core.IResolvable] Property layerName: Name of the layer.
acl typing.Union[str, ros_cdk_core.IResolvable] Property acl: The access permission of the layer, 1: public, 0: private, default is private.
code typing.Union[ros_cdk_core.IResolvable, CodeProperty] Property code: Layer code configuration.
compatible_runtime typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property compatibleRuntime: List of runtime environments supported by the layer.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: Description of the version.
license typing.Union[str, ros_cdk_core.IResolvable] Property license: Layer License Agreement.

layer_nameRequired

layer_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property layerName: Name of the layer.


aclOptional

acl: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property acl: The access permission of the layer, 1: public, 0: private, default is private.


codeOptional

code: typing.Union[IResolvable, CodeProperty]
  • Type: typing.Union[ros_cdk_core.IResolvable, CodeProperty]

Property code: Layer code configuration.


compatible_runtimeOptional

compatible_runtime: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]

Property compatibleRuntime: List of runtime environments supported by the layer.


descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property description: Description of the version.


licenseOptional

license: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property license: Layer License Agreement.