Skip to content

ILayerVersion

Represents a LayerVersion.

Properties

Name Type Description
node ros_cdk_core.ConstructNode The construct tree node for this construct.
env ros_cdk_core.IResourceEnvironment The environment this resource belongs to.
stack ros_cdk_core.Stack The stack in which this resource is defined.
attr_acl typing.Union[str, ros_cdk_core.IResolvable] Attribute Acl: The access permission of the layer, 1: public, 0: private, default is private.
attr_code_size typing.Union[str, ros_cdk_core.IResolvable] Attribute CodeSize: The code package size of the layer, in bytes.
attr_compatible_runtime typing.Union[str, ros_cdk_core.IResolvable] Attribute CompatibleRuntime: List of runtime environments supported by the layer.
attr_create_time typing.Union[str, ros_cdk_core.IResolvable] Attribute CreateTime: The creation time of the resource.
attr_description typing.Union[str, ros_cdk_core.IResolvable] Attribute Description: Description of the version.
attr_layer_name typing.Union[str, ros_cdk_core.IResolvable] Attribute LayerName: Name of the layer.
attr_layer_version_arn typing.Union[str, ros_cdk_core.IResolvable] Attribute LayerVersionArn: Layer version ARN.
attr_license typing.Union[str, ros_cdk_core.IResolvable] Attribute License: Layer License Agreement.
attr_version typing.Union[str, ros_cdk_core.IResolvable] Attribute Version: The version of the layer.
props LayerVersionProps No description.

nodeRequired

node: ConstructNode
  • Type: ros_cdk_core.ConstructNode

The construct tree node for this construct.


envRequired

env: IResourceEnvironment
  • Type: 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

stack: Stack
  • Type: ros_cdk_core.Stack

The stack in which this resource is defined.


attr_aclRequired

attr_acl: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_code_sizeRequired

attr_code_size: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_compatible_runtimeRequired

attr_compatible_runtime: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_create_timeRequired

attr_create_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute CreateTime: The creation time of the resource.


attr_descriptionRequired

attr_description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Description: Description of the version.


attr_layer_nameRequired

attr_layer_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute LayerName: Name of the layer.


attr_layer_version_arnRequired

attr_layer_version_arn: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute LayerVersionArn: Layer version ARN.

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


attr_licenseRequired

attr_license: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute License: Layer License Agreement.


attr_versionRequired

attr_version: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Version: The version of the layer.


propsRequired

props: LayerVersionProps