ImageComponentProps
Properties for defining a ImageComponent
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-imagecomponent
Initializer
import ros_cdk_ecs
ros_cdk_ecs.ImageComponentProps(
content: typing.Union[str, IResolvable],
component_type: typing.Union[str, IResolvable] = None,
description: typing.Union[str, IResolvable] = None,
name: typing.Union[str, IResolvable] = None,
resource_group_id: typing.Union[str, IResolvable] = None,
system_type: typing.Union[str, IResolvable] = None,
tags: typing.List[TagsProperty] = None
)
Properties
Name | Type | Description |
---|---|---|
content |
typing.Union[str, ros_cdk_core.IResolvable] |
Property content: The content of the image component. |
component_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property componentType: The type of the image component. |
description |
typing.Union[str, ros_cdk_core.IResolvable] |
Property description: The description. |
name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property name: The component name. |
resource_group_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property resourceGroupId: The ID of the resource group. |
system_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property systemType: The operating system type supported by the image component. |
tags |
typing.List[TagsProperty] |
Property tags:. |
content
Required
content: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property content: The content of the image component.
The content consists of up to 127 commands.
component_type
Optional
component_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property componentType: The type of the image component.
Only image build components are supported. Set the value to Build.Default value: Build.
description
Optional
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property description: The description.
The description must be 2 to 256 characters in length and cannot start with http:// or https://.
name
Optional
name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property name: The component name.
The name must be 2 to 128 characters in length. The name must start with a letter but cannot start with http:// or https://.The name can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). Note If you do not configure Name, the return value of ImageComponentId is used.
resource_group_id
Optional
resource_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property resourceGroupId: The ID of the resource group.
system_type
Optional
system_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property systemType: The operating system type supported by the image component.
Only Linux is supported. Set the value to Linux.Default value: Linux.
tags
Optional
tags: typing.List[TagsProperty]
- Type: typing.List[TagsProperty]
Property tags:.