ImageSharePermissionProps
Properties for defining a ImageSharePermission
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-imagesharepermission
Initializer
import ros_cdk_ecs
ros_cdk_ecs.ImageSharePermissionProps(
image_id: typing.Union[str, IResolvable],
accounts: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
is_public: typing.Union[bool, IResolvable] = None,
keep_permission: typing.Union[bool, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
image_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property imageId: The shared custom image ID. |
accounts |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] |
Property accounts: Alibaba Cloud account IDs authorized to share the image. |
is_public |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property isPublic: Whether to publish or remove community mirrors. |
keep_permission |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property keepPermission: Whether to keep the original sharing permissions when resource is deleted, default is true.If set to false, Accounts will be removed if Accounts is set and IsPublic will be changed if IsPublic is set. |
image_id
Required
image_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property imageId: The shared custom image ID.
accounts
Optional
accounts: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]
Property accounts: Alibaba Cloud account IDs authorized to share the image.
is_public
Optional
is_public: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property isPublic: Whether to publish or remove community mirrors.
If this property is not set, no changes will be made to the community image
keep_permission
Optional
keep_permission: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property keepPermission: Whether to keep the original sharing permissions when resource is deleted, default is true.If set to false, Accounts will be removed if Accounts is set and IsPublic will be changed if IsPublic is set.