ImageComponentProps
Properties for defining a ImageComponent
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-imagecomponent
Initializer
import { ImageComponentProps } from '@alicloud/ros-cdk-ecs'
const imageComponentProps: ImageComponentProps = { ... }
Properties
Name | Type | Description |
---|---|---|
content |
string | @alicloud/ros-cdk-core.IResolvable |
Property content: The content of the image component. |
componentType |
string | @alicloud/ros-cdk-core.IResolvable |
Property componentType: The type of the image component. |
description |
string | @alicloud/ros-cdk-core.IResolvable |
Property description: The description. |
name |
string | @alicloud/ros-cdk-core.IResolvable |
Property name: The component name. |
resourceGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property resourceGroupId: The ID of the resource group. |
systemType |
string | @alicloud/ros-cdk-core.IResolvable |
Property systemType: The operating system type supported by the image component. |
tags |
TagsProperty[] |
Property tags:. |
content
Required
public readonly content: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property content: The content of the image component.
The content consists of up to 127 commands.
componentType
Optional
public readonly componentType: string | IResolvable;
- Type: string | @alicloud/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
public readonly description: string | IResolvable;
- Type: string | @alicloud/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
public readonly name: string | IResolvable;
- Type: string | @alicloud/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.
resourceGroupId
Optional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: The ID of the resource group.
systemType
Optional
public readonly systemType: string | IResolvable;
- Type: string | @alicloud/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
public readonly tags: TagsProperty[];
- Type: TagsProperty[]
Property tags:.