ILayerVersion
-
Extends: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResource
-
Implemented By: LayerVersion, ILayerVersion
Represents a LayerVersion.
Properties
| Name | Type | Description |
|---|---|---|
Node | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode | The construct tree node for this construct. |
Env | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment | The environment this resource belongs to. |
Stack | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack | The stack in which this resource is defined. |
AttrAcl | interface{} | Attribute Acl: The access permission of the layer, 1: public, 0: private, default is private. |
AttrCodeSize | interface{} | Attribute CodeSize: The code package size of the layer, in bytes. |
AttrCompatibleRuntime | interface{} | Attribute CompatibleRuntime: List of runtime environments supported by the layer. |
AttrCreateTime | interface{} | Attribute CreateTime: The creation time of the resource. |
AttrDescription | interface{} | Attribute Description: Description of the version. |
AttrLayerName | interface{} | Attribute LayerName: Name of the layer. |
AttrLayerVersionArn | interface{} | Attribute LayerVersionArn: Layer version ARN. |
AttrLicense | interface{} | Attribute License: Layer License Agreement. |
AttrVersion | interface{} | Attribute Version: The version of the layer. |
Props | LayerVersionProps | No description. |
NodeRequired
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node for this construct.
EnvRequired
func Env() IResourceEnvironment
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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
func Stack() Stack
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack
The stack in which this resource is defined.
AttrAclRequired
func AttrAcl() interface{}
- Type: interface{}
Attribute Acl: The access permission of the layer, 1: public, 0: private, default is private.
AttrCodeSizeRequired
func AttrCodeSize() interface{}
- Type: interface{}
Attribute CodeSize: The code package size of the layer, in bytes.
AttrCompatibleRuntimeRequired
func AttrCompatibleRuntime() interface{}
- Type: interface{}
Attribute CompatibleRuntime: List of runtime environments supported by the layer.
AttrCreateTimeRequired
func AttrCreateTime() interface{}
- Type: interface{}
Attribute CreateTime: The creation time of the resource.
AttrDescriptionRequired
func AttrDescription() interface{}
- Type: interface{}
Attribute Description: Description of the version.
AttrLayerNameRequired
func AttrLayerName() interface{}
- Type: interface{}
Attribute LayerName: Name of the layer.
AttrLayerVersionArnRequired
func AttrLayerVersionArn() interface{}
- Type: interface{}
Attribute LayerVersionArn: Layer version ARN.
The format is acs:fc:{region }:{ accountID}:layers/{layerName}/versions/{layerVersion}.
AttrLicenseRequired
func AttrLicense() interface{}
- Type: interface{}
Attribute License: Layer License Agreement.
AttrVersionRequired
func AttrVersion() interface{}
- Type: interface{}
Attribute Version: The version of the layer.
PropsRequired
func Props() LayerVersionProps
- Type: LayerVersionProps