ILayerVersion
-
Extends: com.aliyun.ros.cdk.core.IResource
-
Implemented By: LayerVersion, ILayerVersion
Represents a LayerVersion.
Properties
| Name | Type | Description |
|---|---|---|
node | com.aliyun.ros.cdk.core.ConstructNode | The construct tree node for this construct. |
env | com.aliyun.ros.cdk.core.IResourceEnvironment | The environment this resource belongs to. |
stack | com.aliyun.ros.cdk.core.Stack | The stack in which this resource is defined. |
attrAcl | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Acl: The access permission of the layer, 1: public, 0: private, default is private. |
attrCodeSize | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute CodeSize: The code package size of the layer, in bytes. |
attrCompatibleRuntime | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute CompatibleRuntime: List of runtime environments supported by the layer. |
attrCreateTime | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute CreateTime: The creation time of the resource. |
attrDescription | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Description: Description of the version. |
attrLayerName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute LayerName: Name of the layer. |
attrLayerVersionArn | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute LayerVersionArn: Layer version ARN. |
attrLicense | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute License: Layer License Agreement. |
attrVersion | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Version: The version of the layer. |
props | LayerVersionProps | No description. |
nodeRequired
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node for this construct.
envRequired
public IResourceEnvironment getEnv();
- Type: com.aliyun.ros.cdk.core.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
stackRequired
public Stack getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
attrAclRequired
public java.lang.Object getAttrAcl();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Acl: The access permission of the layer, 1: public, 0: private, default is private.
attrCodeSizeRequired
public java.lang.Object getAttrCodeSize();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute CodeSize: The code package size of the layer, in bytes.
attrCompatibleRuntimeRequired
public java.lang.Object getAttrCompatibleRuntime();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute CompatibleRuntime: List of runtime environments supported by the layer.
attrCreateTimeRequired
public java.lang.Object getAttrCreateTime();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute CreateTime: The creation time of the resource.
attrDescriptionRequired
public java.lang.Object getAttrDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Description: Description of the version.
attrLayerNameRequired
public java.lang.Object getAttrLayerName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute LayerName: Name of the layer.
attrLayerVersionArnRequired
public java.lang.Object getAttrLayerVersionArn();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute LayerVersionArn: Layer version ARN.
The format is acs:fc:{region }:{ accountID}:layers/{layerName}/versions/{layerVersion}.
attrLicenseRequired
public java.lang.Object getAttrLicense();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute License: Layer License Agreement.
attrVersionRequired
public java.lang.Object getAttrVersion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Version: The version of the layer.
propsRequired
public LayerVersionProps getProps();
- Type: LayerVersionProps