CopyImageProps
Properties for defining a CopyImage
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-copyimage
Initializer
import ros_cdk_ecs
ros_cdk_ecs.CopyImageProps(
destination_region_id: typing.Union[str, IResolvable],
image_id: typing.Union[str, IResolvable],
allow_copy_in_same_region: typing.Union[bool, IResolvable] = None,
destination_description: typing.Union[str, IResolvable] = None,
destination_image_name: typing.Union[str, IResolvable] = None,
encrypted: typing.Union[bool, IResolvable] = None,
kms_key_id: typing.Union[str, IResolvable] = None,
resource_group_id: typing.Union[str, IResolvable] = None,
source_region_id: typing.Union[str, IResolvable] = None,
tag: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, RosTag]]] = None
)
Properties
Name | Type | Description |
---|---|---|
destination_region_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property destinationRegionId: ID of the region to where the destination custom image belongs. |
image_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property imageId: ID of the source custom image. |
allow_copy_in_same_region |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property allowCopyInSameRegion: Whether to allow copying images in the same region. |
destination_description |
typing.Union[str, ros_cdk_core.IResolvable] |
Property destinationDescription: The description of the destination custom image.It cannot begin with http:\/\/ or https:\/\/. Default value: null. |
destination_image_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property destinationImageName: Name of the destination custom image.The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-). Default value: null. |
encrypted |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property encrypted: Whether to encrypt the image. |
kms_key_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property kmsKeyId: The ID of the key used to encrypt the image. |
resource_group_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property resourceGroupId: The ID of the resource group to which the image copy belongs. |
source_region_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property sourceRegionId: ID of the region to where the source image belongs. |
tag |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ros_cdk_core.RosTag]]] |
Property tag:. |
destination_region_id
Required
destination_region_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property destinationRegionId: ID of the region to where the destination custom image belongs.
image_id
Required
image_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property imageId: ID of the source custom image.
allow_copy_in_same_region
Optional
allow_copy_in_same_region: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property allowCopyInSameRegion: Whether to allow copying images in the same region.
If set to true, the image will not be copied, the source image id will be returned, and the original image will not be deleted.
destination_description
Optional
destination_description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property destinationDescription: The description of the destination custom image.It cannot begin with http:\/\/ or https:\/\/. Default value: null.
destination_image_name
Optional
destination_image_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property destinationImageName: Name of the destination custom image.The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-). Default value: null.
encrypted
Optional
encrypted: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property encrypted: Whether to encrypt the image.
kms_key_id
Optional
kms_key_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property kmsKeyId: The ID of the key used to encrypt the image.
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 to which the image copy belongs.
If not provided, the image copy belongs to the default resource group.
source_region_id
Optional
source_region_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property sourceRegionId: ID of the region to where the source image belongs.
Default is current region ID.
tag
Optional
tag: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, RosTag]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ros_cdk_core.RosTag]]]
Property tag:.