Skip to content

ILayerVersion

Represents a LayerVersion.

Properties

Name Type Description
node @alicloud/ros-cdk-core.ConstructNode The construct tree node for this construct.
env @alicloud/ros-cdk-core.IResourceEnvironment The environment this resource belongs to.
stack @alicloud/ros-cdk-core.Stack The stack in which this resource is defined.
attrAcl string | @alicloud/ros-cdk-core.IResolvable Attribute Acl: The access permission of the layer, 1: public, 0: private, default is private.
attrCodeSize string | @alicloud/ros-cdk-core.IResolvable Attribute CodeSize: The code package size of the layer, in bytes.
attrCompatibleRuntime string | @alicloud/ros-cdk-core.IResolvable Attribute CompatibleRuntime: List of runtime environments supported by the layer.
attrCreateTime string | @alicloud/ros-cdk-core.IResolvable Attribute CreateTime: The creation time of the resource.
attrDescription string | @alicloud/ros-cdk-core.IResolvable Attribute Description: Description of the version.
attrLayerName string | @alicloud/ros-cdk-core.IResolvable Attribute LayerName: Name of the layer.
attrLayerVersionArn string | @alicloud/ros-cdk-core.IResolvable Attribute LayerVersionArn: Layer version ARN.
attrLicense string | @alicloud/ros-cdk-core.IResolvable Attribute License: Layer License Agreement.
attrVersion string | @alicloud/ros-cdk-core.IResolvable Attribute Version: The version of the layer.
props LayerVersionProps No description.

nodeRequired

public readonly node: ConstructNode;
  • Type: @alicloud/ros-cdk-core.ConstructNode

The construct tree node for this construct.


envRequired

public readonly env: IResourceEnvironment;
  • Type: @alicloud/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 readonly stack: Stack;
  • Type: @alicloud/ros-cdk-core.Stack

The stack in which this resource is defined.


attrAclRequired

public readonly attrAcl: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Acl: The access permission of the layer, 1: public, 0: private, default is private.


attrCodeSizeRequired

public readonly attrCodeSize: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute CodeSize: The code package size of the layer, in bytes.


attrCompatibleRuntimeRequired

public readonly attrCompatibleRuntime: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute CompatibleRuntime: List of runtime environments supported by the layer.


attrCreateTimeRequired

public readonly attrCreateTime: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute CreateTime: The creation time of the resource.


attrDescriptionRequired

public readonly attrDescription: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Description: Description of the version.


attrLayerNameRequired

public readonly attrLayerName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute LayerName: Name of the layer.


attrLayerVersionArnRequired

public readonly attrLayerVersionArn: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute LayerVersionArn: Layer version ARN.

The format is acs:fc:{region }:{ accountID}:layers/{layerName}/versions/{layerVersion}.


attrLicenseRequired

public readonly attrLicense: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute License: Layer License Agreement.


attrVersionRequired

public readonly attrVersion: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Version: The version of the layer.


propsRequired

public readonly props: LayerVersionProps;