Skip to content

LayerVersionProps

Properties for defining a LayerVersion.

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

Initializer

import com.aliyun.ros.cdk.fc3.LayerVersionProps;
LayerVersionProps.builder()
    .layerName(java.lang.String)
    .layerName(IResolvable)
//  .acl(java.lang.String)
//  .acl(IResolvable)
//  .code(IResolvable)
//  .code(CodeProperty)
//  .compatibleRuntime(IResolvable)
//  .compatibleRuntime(java.util.List<java.lang.String)
//  .compatibleRuntime(IResolvable>)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .license(java.lang.String)
//  .license(IResolvable)
    .build();

Properties

Name Type Description
layerName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property layerName: Name of the layer.
acl java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property acl: The access permission of the layer, 1: public, 0: private, default is private.
code com.aliyun.ros.cdk.core.IResolvable OR CodeProperty Property code: Layer code configuration.
compatibleRuntime com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property compatibleRuntime: List of runtime environments supported by the layer.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: Description of the version.
license java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property license: Layer License Agreement.

layerNameRequired

public java.lang.Object getLayerName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property layerName: Name of the layer.


aclOptional

public java.lang.Object getAcl();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


codeOptional

public java.lang.Object getCode();

Property code: Layer code configuration.


compatibleRuntimeOptional

public java.lang.Object getCompatibleRuntime();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

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


descriptionOptional

public java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property description: Description of the version.


licenseOptional

public java.lang.Object getLicense();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property license: Layer License Agreement.