LayerProps
Properties for defining a Layer
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-layer
Initializer
import com.aliyun.ros.cdk.fc.LayerProps;
LayerProps.builder()
.code(IResolvable)
.code(CodeProperty)
.compatibleRuntime(IResolvable)
.compatibleRuntime(java.util.List<java.lang.String)
.compatibleRuntime(IResolvable>)
.layerName(java.lang.String)
.layerName(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
code |
com.aliyun.ros.cdk.core.IResolvable OR CodeProperty |
Property code: The code of layer. |
compatibleRuntime |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property compatibleRuntime: The runtime environment supported by the layer. |
layerName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property layerName: The name of layer. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: The description of the layer. |
code
Required
public java.lang.Object getCode();
- Type: com.aliyun.ros.cdk.core.IResolvable OR CodeProperty
Property code: The code of layer.
compatibleRuntime
Required
public java.lang.Object getCompatibleRuntime();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property compatibleRuntime: The runtime environment supported by the layer.
For example:nodejs12, nodejs10, nodejs8, nodejs6, python3, and python2.7
layerName
Required
public java.lang.Object getLayerName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property layerName: The name of layer.
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the layer.