InstanceProps
Properties for defining a Instance
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cr-instance
Initializer
import ros_cdk_cr
ros_cdk_cr.InstanceProps(
image_scanner: typing.Union[str, IResolvable],
instance_name: typing.Union[str, IResolvable],
instance_type: typing.Union[str, IResolvable],
period: typing.Union[typing.Union[int, float], IResolvable],
instance_storage_name: typing.Union[str, IResolvable] = None,
renewal_status: typing.Union[str, IResolvable] = None,
renew_period: typing.Union[typing.Union[int, float], IResolvable] = None,
resource_group_id: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
image_scanner |
typing.Union[str, ros_cdk_core.IResolvable] |
Property imageScanner: Security scan engine. |
instance_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property instanceName: Instance name.The value contains 3 to 30 lowercase letters, digits, and delimiters "-"(it can not be first or last). |
instance_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property instanceType: The Value configuration of the Group 1 attribute of Container Mirror Service Enterprise Edition. |
period |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property period: Prepaid cycle. |
instance_storage_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property instanceStorageName: Custom OSS Bucket name. |
renewal_status |
typing.Union[str, ros_cdk_core.IResolvable] |
Property renewalStatus: Automatic renewal status, value: - AutoRenewal: automatic renewal. |
renew_period |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property renewPeriod: Automatic renewal cycle, in months. |
resource_group_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property resourceGroupId: The ID of the resource group. |
image_scanner
Required
image_scanner: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property imageScanner: Security scan engine.
instance_name
Required
instance_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property instanceName: Instance name.The value contains 3 to 30 lowercase letters, digits, and delimiters "-"(it can not be first or last).
instance_type
Required
instance_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property instanceType: The Value configuration of the Group 1 attribute of Container Mirror Service Enterprise Edition.
Valid values: Basic: Basic instance Standard: Standard instance Advanced: Advanced Edition Instance.
period
Required
period: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property period: Prepaid cycle.
The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
instance_storage_name
Optional
instance_storage_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property instanceStorageName: Custom OSS Bucket name.
renewal_status
Optional
renewal_status: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property renewalStatus: Automatic renewal status, value: - AutoRenewal: automatic renewal.
- ManualRenewal: manual renewal. Default ManualRenewal.
renew_period
Optional
renew_period: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property renewPeriod: Automatic renewal cycle, in months.
When RenewalStatus is set to AutoRenewal, it must be set.
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.