@alicloud/ros-cdk-ecs 1.0.21 → 1.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/lib/activation.d.ts +6 -9
  2. package/lib/activation.js +4 -4
  3. package/lib/assignipv6addresses.d.ts +5 -8
  4. package/lib/assignipv6addresses.js +4 -4
  5. package/lib/assignprivateipaddresses.d.ts +5 -8
  6. package/lib/assignprivateipaddresses.js +4 -4
  7. package/lib/autoprovisioninggroup.d.ts +6 -9
  8. package/lib/autoprovisioninggroup.js +4 -4
  9. package/lib/autosnapshotpolicy.d.ts +6 -9
  10. package/lib/autosnapshotpolicy.js +4 -4
  11. package/lib/command.d.ts +5 -8
  12. package/lib/command.js +4 -4
  13. package/lib/copyimage.d.ts +11 -9
  14. package/lib/copyimage.js +5 -4
  15. package/lib/customimage.d.ts +25 -12
  16. package/lib/customimage.js +12 -9
  17. package/lib/datasource/activations.d.ts +5 -8
  18. package/lib/datasource/activations.js +4 -4
  19. package/lib/datasource/autosnapshotpolicies.d.ts +5 -8
  20. package/lib/datasource/autosnapshotpolicies.js +4 -4
  21. package/lib/datasource/commands.d.ts +5 -8
  22. package/lib/datasource/commands.js +4 -4
  23. package/lib/datasource/dedicatedhostclusters.d.ts +5 -8
  24. package/lib/datasource/dedicatedhostclusters.js +4 -4
  25. package/lib/datasource/dedicatedhosts.d.ts +5 -8
  26. package/lib/datasource/dedicatedhosts.js +4 -4
  27. package/lib/datasource/deploymentsets.d.ts +5 -8
  28. package/lib/datasource/deploymentsets.js +4 -4
  29. package/lib/datasource/diskcategories.d.ts +5 -8
  30. package/lib/datasource/diskcategories.js +4 -4
  31. package/lib/datasource/disks.d.ts +6 -9
  32. package/lib/datasource/disks.js +4 -4
  33. package/lib/datasource/ecs.generated.d.ts +112 -166
  34. package/lib/datasource/ecs.generated.js +55 -55
  35. package/lib/datasource/hpcclusters.d.ts +5 -8
  36. package/lib/datasource/hpcclusters.js +4 -4
  37. package/lib/datasource/images.d.ts +6 -9
  38. package/lib/datasource/images.js +4 -4
  39. package/lib/datasource/instances.d.ts +6 -9
  40. package/lib/datasource/instances.js +4 -4
  41. package/lib/datasource/keypairs.d.ts +5 -8
  42. package/lib/datasource/keypairs.js +4 -4
  43. package/lib/datasource/managedinstances.d.ts +5 -8
  44. package/lib/datasource/managedinstances.js +4 -4
  45. package/lib/datasource/networkinterfaces.d.ts +5 -8
  46. package/lib/datasource/networkinterfaces.js +4 -4
  47. package/lib/datasource/recommendinstancetypes.d.ts +10 -13
  48. package/lib/datasource/recommendinstancetypes.js +4 -4
  49. package/lib/datasource/securitygroups.d.ts +5 -8
  50. package/lib/datasource/securitygroups.js +4 -4
  51. package/lib/datasource/snapshots.d.ts +5 -8
  52. package/lib/datasource/snapshots.js +4 -4
  53. package/lib/datasource/zones.d.ts +8 -11
  54. package/lib/datasource/zones.js +4 -4
  55. package/lib/dedicatedhost.d.ts +7 -10
  56. package/lib/dedicatedhost.js +4 -4
  57. package/lib/deploymentset.d.ts +20 -10
  58. package/lib/deploymentset.js +6 -4
  59. package/lib/disk.d.ts +7 -10
  60. package/lib/disk.js +4 -4
  61. package/lib/diskattachment.d.ts +6 -9
  62. package/lib/diskattachment.js +4 -4
  63. package/lib/ecs.generated.d.ts +967 -464
  64. package/lib/ecs.generated.js +645 -210
  65. package/lib/forwardentry.d.ts +8 -11
  66. package/lib/forwardentry.js +4 -4
  67. package/lib/hpccluster.d.ts +7 -10
  68. package/lib/hpccluster.js +4 -4
  69. package/lib/imagesharepermission.d.ts +43 -0
  70. package/lib/imagesharepermission.js +31 -0
  71. package/lib/index.d.ts +1 -0
  72. package/lib/index.js +2 -1
  73. package/lib/instance.d.ts +71 -14
  74. package/lib/instance.js +36 -25
  75. package/lib/instanceclone.d.ts +5 -8
  76. package/lib/instanceclone.js +4 -4
  77. package/lib/instancegroup.d.ts +72 -15
  78. package/lib/instancegroup.js +17 -6
  79. package/lib/instancegroupclone.d.ts +7 -10
  80. package/lib/instancegroupclone.js +4 -4
  81. package/lib/invocation.d.ts +59 -10
  82. package/lib/invocation.js +12 -5
  83. package/lib/joinsecuritygroup.d.ts +5 -8
  84. package/lib/joinsecuritygroup.js +4 -8
  85. package/lib/launchtemplate.d.ts +9 -12
  86. package/lib/launchtemplate.js +4 -4
  87. package/lib/networkinterface.d.ts +5 -8
  88. package/lib/networkinterface.js +4 -4
  89. package/lib/networkinterfaceattachment.d.ts +5 -8
  90. package/lib/networkinterfaceattachment.js +4 -4
  91. package/lib/networkinterfacepermission.d.ts +5 -8
  92. package/lib/networkinterfacepermission.js +4 -4
  93. package/lib/prefixlist.d.ts +7 -10
  94. package/lib/prefixlist.js +4 -4
  95. package/lib/ramroleattachment.d.ts +5 -8
  96. package/lib/ramroleattachment.js +4 -4
  97. package/lib/route.d.ts +5 -8
  98. package/lib/route.js +4 -4
  99. package/lib/runcommand.d.ts +50 -16
  100. package/lib/runcommand.js +11 -6
  101. package/lib/securitygroup.d.ts +5 -8
  102. package/lib/securitygroup.js +4 -4
  103. package/lib/securitygroupclone.d.ts +5 -8
  104. package/lib/securitygroupclone.js +4 -4
  105. package/lib/securitygroupegress.d.ts +6 -9
  106. package/lib/securitygroupegress.js +4 -8
  107. package/lib/securitygroupingress.d.ts +7 -10
  108. package/lib/securitygroupingress.js +4 -8
  109. package/lib/snapshot.d.ts +7 -10
  110. package/lib/snapshot.js +4 -4
  111. package/lib/snatentry.d.ts +7 -10
  112. package/lib/snatentry.js +4 -4
  113. package/lib/sshkeypair.d.ts +6 -9
  114. package/lib/sshkeypair.js +4 -4
  115. package/lib/sshkeypairattachment.d.ts +5 -8
  116. package/lib/sshkeypairattachment.js +4 -8
  117. package/lib/vpc.d.ts +8 -11
  118. package/lib/vpc.js +4 -4
  119. package/lib/vswitch.d.ts +5 -8
  120. package/lib/vswitch.js +4 -4
  121. package/package.json +1 -1
@@ -1,6 +1,7 @@
1
1
  import * as ros from '@alicloud/ros-cdk-core';
2
2
  /**
3
- * Properties for defining a `ALIYUN::ECS::Activation`
3
+ * Properties for defining a `RosActivation`.
4
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-activation
4
5
  */
5
6
  export interface RosActivationProps {
6
7
  /**
@@ -12,7 +13,7 @@ export interface RosActivationProps {
12
13
  */
13
14
  readonly instanceCount?: number | ros.IResolvable;
14
15
  /**
15
- * @Property instanceName: The default instance name prefix. The instance name prefix must be 2 to 50 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, periods (.), underscores (_), hyphens (-), and colons (:). If you use the activation code that is created by calling this operation (CreateActivation) to register managed instances, the instances are assigned sequential names that are prefixed by the value of this parameter. You can also specify a new instance name to replace the assigned sequential name when you register a managed instance.If you specify InstanceName when you register a managed instance, an instance name in theformat of <InstanceName>-<Number> is generated. The number of digits in the <Number> value isdetermined by that in the InstanceCount value. Example: 001. If you do not specify InstanceName, the hostname (Hostname) is used as the instance name.
16
+ * @Property instanceName: The default instance name prefix. The instance name prefix must be 2 to 50 characters in length. It must start with a letter and cannot start with http:\/\/ or https:\/\/. It can contain letters, digits, periods (.), underscores (_), hyphens (-), and colons (:). If you use the activation code that is created by calling this operation (CreateActivation) to register managed instances, the instances are assigned sequential names that are prefixed by the value of this parameter. You can also specify a new instance name to replace the assigned sequential name when you register a managed instance.If you specify InstanceName when you register a managed instance, an instance name in theformat of <InstanceName>-<Number> is generated. The number of digits in the <Number> value isdetermined by that in the InstanceCount value. Example: 001. If you do not specify InstanceName, the hostname (Hostname) is used as the instance name.
16
17
  */
17
18
  readonly instanceName?: string | ros.IResolvable;
18
19
  /**
@@ -29,17 +30,15 @@ export interface RosActivationProps {
29
30
  readonly timeToLiveInHours?: number | ros.IResolvable;
30
31
  }
31
32
  /**
32
- * A ROS template type: `ALIYUN::ECS::Activation`
33
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::Activation`, which is used to create an activation code.
34
+ * @Note This class does not contain additional functions, so it is recommended to use the `Activation` class instead of this class for a more convenient development experience.
35
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-activation
33
36
  */
34
37
  export declare class RosActivation extends ros.RosResource {
35
38
  /**
36
39
  * The resource type name for this resource class.
37
40
  */
38
41
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::Activation";
39
- /**
40
- * A factory method that creates a new instance of this class from an object
41
- * containing the properties of this ROS resource.
42
- */
43
42
  /**
44
43
  * @Attribute ActivationCode: Activation code.
45
44
  */
@@ -66,7 +65,7 @@ export declare class RosActivation extends ros.RosResource {
66
65
  */
67
66
  instanceCount: number | ros.IResolvable | undefined;
68
67
  /**
69
- * @Property instanceName: The default instance name prefix. The instance name prefix must be 2 to 50 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, periods (.), underscores (_), hyphens (-), and colons (:). If you use the activation code that is created by calling this operation (CreateActivation) to register managed instances, the instances are assigned sequential names that are prefixed by the value of this parameter. You can also specify a new instance name to replace the assigned sequential name when you register a managed instance.If you specify InstanceName when you register a managed instance, an instance name in theformat of <InstanceName>-<Number> is generated. The number of digits in the <Number> value isdetermined by that in the InstanceCount value. Example: 001. If you do not specify InstanceName, the hostname (Hostname) is used as the instance name.
68
+ * @Property instanceName: The default instance name prefix. The instance name prefix must be 2 to 50 characters in length. It must start with a letter and cannot start with http:\/\/ or https:\/\/. It can contain letters, digits, periods (.), underscores (_), hyphens (-), and colons (:). If you use the activation code that is created by calling this operation (CreateActivation) to register managed instances, the instances are assigned sequential names that are prefixed by the value of this parameter. You can also specify a new instance name to replace the assigned sequential name when you register a managed instance.If you specify InstanceName when you register a managed instance, an instance name in theformat of <InstanceName>-<Number> is generated. The number of digits in the <Number> value isdetermined by that in the InstanceCount value. Example: 001. If you do not specify InstanceName, the hostname (Hostname) is used as the instance name.
70
69
  */
71
70
  instanceName: string | ros.IResolvable | undefined;
72
71
  /**
@@ -82,8 +81,6 @@ export declare class RosActivation extends ros.RosResource {
82
81
  */
83
82
  timeToLiveInHours: number | ros.IResolvable | undefined;
84
83
  /**
85
- * Create a new `ALIYUN::ECS::Activation`.
86
- *
87
84
  * @param scope - scope in which this resource is defined
88
85
  * @param id - scoped id of the resource
89
86
  * @param props - resource properties
@@ -114,7 +111,8 @@ export declare namespace RosActivation {
114
111
  }
115
112
  }
116
113
  /**
117
- * Properties for defining a `ALIYUN::ECS::AssignIpv6Addresses`
114
+ * Properties for defining a `RosAssignIpv6Addresses`.
115
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-assignipv6addresses
118
116
  */
119
117
  export interface RosAssignIpv6AddressesProps {
120
118
  /**
@@ -133,17 +131,15 @@ export interface RosAssignIpv6AddressesProps {
133
131
  readonly ipv6Addresses?: Array<any | ros.IResolvable> | ros.IResolvable;
134
132
  }
135
133
  /**
136
- * A ROS template type: `ALIYUN::ECS::AssignIpv6Addresses`
134
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::AssignIpv6Addresses`, which is used to assign one or more IPv6 addresses to an elastic network interface (ENI).
135
+ * @Note This class does not contain additional functions, so it is recommended to use the `AssignIpv6Addresses` class instead of this class for a more convenient development experience.
136
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-assignipv6addresses
137
137
  */
138
138
  export declare class RosAssignIpv6Addresses extends ros.RosResource {
139
139
  /**
140
140
  * The resource type name for this resource class.
141
141
  */
142
142
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::AssignIpv6Addresses";
143
- /**
144
- * A factory method that creates a new instance of this class from an object
145
- * containing the properties of this ROS resource.
146
- */
147
143
  /**
148
144
  * @Attribute Ipv6AddressIds: Assigned IPv6 address IDs.
149
145
  */
@@ -172,8 +168,6 @@ export declare class RosAssignIpv6Addresses extends ros.RosResource {
172
168
  */
173
169
  ipv6Addresses: Array<any | ros.IResolvable> | ros.IResolvable | undefined;
174
170
  /**
175
- * Create a new `ALIYUN::ECS::AssignIpv6Addresses`.
176
- *
177
171
  * @param scope - scope in which this resource is defined
178
172
  * @param id - scoped id of the resource
179
173
  * @param props - resource properties
@@ -189,7 +183,8 @@ export declare class RosAssignIpv6Addresses extends ros.RosResource {
189
183
  };
190
184
  }
191
185
  /**
192
- * Properties for defining a `ALIYUN::ECS::AssignPrivateIpAddresses`
186
+ * Properties for defining a `RosAssignPrivateIpAddresses`.
187
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-assignprivateipaddresses
193
188
  */
194
189
  export interface RosAssignPrivateIpAddressesProps {
195
190
  /**
@@ -211,17 +206,15 @@ export interface RosAssignPrivateIpAddressesProps {
211
206
  readonly secondaryPrivateIpAddressCount?: number | ros.IResolvable;
212
207
  }
213
208
  /**
214
- * A ROS template type: `ALIYUN::ECS::AssignPrivateIpAddresses`
209
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::AssignPrivateIpAddresses`, which is used to assign one or more secondary private IP addresses to an ENI. You can specify private IP addresses within the CIDR block of the vSwitch that hosts the ENI. You can also specify the number of private IP addresses for ECS to assign them automatically.
210
+ * @Note This class does not contain additional functions, so it is recommended to use the `AssignPrivateIpAddresses` class instead of this class for a more convenient development experience.
211
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-assignprivateipaddresses
215
212
  */
216
213
  export declare class RosAssignPrivateIpAddresses extends ros.RosResource {
217
214
  /**
218
215
  * The resource type name for this resource class.
219
216
  */
220
217
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::AssignPrivateIpAddresses";
221
- /**
222
- * A factory method that creates a new instance of this class from an object
223
- * containing the properties of this ROS resource.
224
- */
225
218
  /**
226
219
  * @Attribute NetworkInterfaceId: The ID of the ENI.
227
220
  */
@@ -249,8 +242,6 @@ export declare class RosAssignPrivateIpAddresses extends ros.RosResource {
249
242
  */
250
243
  secondaryPrivateIpAddressCount: number | ros.IResolvable | undefined;
251
244
  /**
252
- * Create a new `ALIYUN::ECS::AssignPrivateIpAddresses`.
253
- *
254
245
  * @param scope - scope in which this resource is defined
255
246
  * @param id - scoped id of the resource
256
247
  * @param props - resource properties
@@ -266,7 +257,8 @@ export declare class RosAssignPrivateIpAddresses extends ros.RosResource {
266
257
  };
267
258
  }
268
259
  /**
269
- * Properties for defining a `ALIYUN::ECS::AutoProvisioningGroup`
260
+ * Properties for defining a `RosAutoProvisioningGroup`.
261
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-autoprovisioninggroup
270
262
  */
271
263
  export interface RosAutoProvisioningGroupProps {
272
264
  /**
@@ -279,7 +271,7 @@ export interface RosAutoProvisioningGroupProps {
279
271
  readonly totalTargetCapacity: string | ros.IResolvable;
280
272
  /**
281
273
  * @Property autoProvisioningGroupName: The name of the auto provisioning group to be created. It must be 2 to 128 characters
282
- * in length. It must start with a letter but cannot start with http:// or https://.
274
+ * in length. It must start with a letter but cannot start with http:\/\/ or https:\/\/.
283
275
  * It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
284
276
  */
285
277
  readonly autoProvisioningGroupName?: string | ros.IResolvable;
@@ -415,17 +407,15 @@ export interface RosAutoProvisioningGroupProps {
415
407
  readonly validUntil?: string | ros.IResolvable;
416
408
  }
417
409
  /**
418
- * A ROS template type: `ALIYUN::ECS::AutoProvisioningGroup`
410
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::AutoProvisioningGroup`, which is used to create an auto provisioning group.
411
+ * @Note This class does not contain additional functions, so it is recommended to use the `AutoProvisioningGroup` class instead of this class for a more convenient development experience.
412
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-autoprovisioninggroup
419
413
  */
420
414
  export declare class RosAutoProvisioningGroup extends ros.RosResource {
421
415
  /**
422
416
  * The resource type name for this resource class.
423
417
  */
424
418
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::AutoProvisioningGroup";
425
- /**
426
- * A factory method that creates a new instance of this class from an object
427
- * containing the properties of this ROS resource.
428
- */
429
419
  /**
430
420
  * @Attribute AutoProvisioningGroupId: The ID of the auto provisioning group.
431
421
  */
@@ -445,7 +435,7 @@ export declare class RosAutoProvisioningGroup extends ros.RosResource {
445
435
  totalTargetCapacity: string | ros.IResolvable;
446
436
  /**
447
437
  * @Property autoProvisioningGroupName: The name of the auto provisioning group to be created. It must be 2 to 128 characters
448
- * in length. It must start with a letter but cannot start with http:// or https://.
438
+ * in length. It must start with a letter but cannot start with http:\/\/ or https:\/\/.
449
439
  * It can contain letters, digits, colons (:), underscores (_), and hyphens (-).
450
440
  */
451
441
  autoProvisioningGroupName: string | ros.IResolvable | undefined;
@@ -580,8 +570,6 @@ export declare class RosAutoProvisioningGroup extends ros.RosResource {
580
570
  */
581
571
  validUntil: string | ros.IResolvable | undefined;
582
572
  /**
583
- * Create a new `ALIYUN::ECS::AutoProvisioningGroup`.
584
- *
585
573
  * @param scope - scope in which this resource is defined
586
574
  * @param id - scoped id of the resource
587
575
  * @param props - resource properties
@@ -614,7 +602,7 @@ export declare namespace RosAutoProvisioningGroup {
614
602
  */
615
603
  readonly category?: string | ros.IResolvable;
616
604
  /**
617
- * @Property description: The description of data disk N. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
605
+ * @Property description: The description of data disk N. The description must be 2 to 256 characters in length and cannot start with http:\/\/ or https:\/\/.
618
606
  */
619
607
  readonly description?: string | ros.IResolvable;
620
608
  /**
@@ -627,10 +615,10 @@ export declare namespace RosAutoProvisioningGroup {
627
615
  readonly encrypted?: boolean | ros.IResolvable;
628
616
  /**
629
617
  * @Property performanceLevel: The performance level of the ESSD used as data disk. Default value: PL1. Valid values:
630
- * PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
631
- * PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
632
- * PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
633
- * PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
618
+ * PL0: A single ESSD can deliver up to 10,000 random read\/write IOPS.
619
+ * PL1: A single ESSD can deliver up to 50,000 random read\/write IOPS.
620
+ * PL2: A single ESSD can deliver up to 100,000 random read\/write IOPS.
621
+ * PL3: A single ESSD can deliver up to 1,000,000 random read\/write IOPS.
634
622
  */
635
623
  readonly performanceLevel?: string | ros.IResolvable;
636
624
  /**
@@ -642,7 +630,7 @@ export declare namespace RosAutoProvisioningGroup {
642
630
  */
643
631
  readonly deleteWithInstance?: boolean | ros.IResolvable;
644
632
  /**
645
- * @Property diskName: The name of data disk N. The name must be 2 to 128 characters in length. It must start with a letter but cannot start with http:// or https://. It can contain letters, digits, periods (.), colons (:), underscores (_), and hyphens (-).
633
+ * @Property diskName: The name of data disk N. The name must be 2 to 128 characters in length. It must start with a letter but cannot start with http:\/\/ or https:\/\/. It can contain letters, digits, periods (.), colons (:), underscores (_), and hyphens (-).
646
634
  */
647
635
  readonly diskName?: string | ros.IResolvable;
648
636
  /**
@@ -663,9 +651,9 @@ export declare namespace RosAutoProvisioningGroup {
663
651
  */
664
652
  readonly keyPairName?: string | ros.IResolvable;
665
653
  /**
666
- * @Property ioOptimized: Specifies whether the instance is I/O optimized. Valid values:
667
- * none: The instance is not I/O optimized.
668
- * optimized: The instance is I/O optimized.
654
+ * @Property ioOptimized: Specifies whether the instance is I\/O optimized. Valid values:
655
+ * none: The instance is not I\/O optimized.
656
+ * optimized: The instance is I\/O optimized.
669
657
  */
670
658
  readonly ioOptimized?: string | ros.IResolvable;
671
659
  /**
@@ -681,7 +669,7 @@ export declare namespace RosAutoProvisioningGroup {
681
669
  */
682
670
  readonly userData?: string | ros.IResolvable;
683
671
  /**
684
- * @Property systemDiskDescription: The description of the system disk. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
672
+ * @Property systemDiskDescription: The description of the system disk. The description must be 2 to 256 characters in length and cannot start with http:\/\/ or https:\/\/.
685
673
  */
686
674
  readonly systemDiskDescription?: string | ros.IResolvable;
687
675
  /**
@@ -707,7 +695,7 @@ export declare namespace RosAutoProvisioningGroup {
707
695
  */
708
696
  readonly instanceName?: string | ros.IResolvable;
709
697
  /**
710
- * @Property systemDiskName: The name of the system disk. The name must be 2 to 128 characters in length. It must start with a letter but cannot start with http:// or https://. It can contain letters, digits, periods (.), colons (:), underscores (_), and hyphens (-).
698
+ * @Property systemDiskName: The name of the system disk. The name must be 2 to 128 characters in length. It must start with a letter but cannot start with http:\/\/ or https:\/\/. It can contain letters, digits, periods (.), colons (:), underscores (_), and hyphens (-).
711
699
  */
712
700
  readonly systemDiskName?: string | ros.IResolvable;
713
701
  /**
@@ -719,15 +707,15 @@ export declare namespace RosAutoProvisioningGroup {
719
707
  */
720
708
  readonly ramRoleName?: string | ros.IResolvable;
721
709
  /**
722
- * @Property internetMaxBandwidthOut: The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0 to 100. Default value: 0.
710
+ * @Property internetMaxBandwidthOut: The maximum outbound public bandwidth. Unit: Mbit\/s. Valid values: 0 to 100. Default value: 0.
723
711
  */
724
712
  readonly internetMaxBandwidthOut?: number | ros.IResolvable;
725
713
  /**
726
714
  * @Property systemDiskPerformanceLevel: The performance level of the ESSD used as the system disk. Default value: PL0. Valid values:
727
- * PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
728
- * PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
729
- * PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
730
- * PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
715
+ * PL0: A single ESSD can deliver up to 10,000 random read\/write IOPS.
716
+ * PL1: A single ESSD can deliver up to 50,000 random read\/write IOPS.
717
+ * PL2: A single ESSD can deliver up to 100,000 random read\/write IOPS.
718
+ * PL3: A single ESSD can deliver up to 1,000,000 random read\/write IOPS.
731
719
  */
732
720
  readonly systemDiskPerformanceLevel?: string | ros.IResolvable;
733
721
  /**
@@ -817,7 +805,8 @@ export declare namespace RosAutoProvisioningGroup {
817
805
  }
818
806
  }
819
807
  /**
820
- * Properties for defining a `ALIYUN::ECS::AutoSnapshotPolicy`
808
+ * Properties for defining a `RosAutoSnapshotPolicy`.
809
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-autosnapshotpolicy
821
810
  */
822
811
  export interface RosAutoSnapshotPolicyProps {
823
812
  /**
@@ -843,7 +832,7 @@ export interface RosAutoSnapshotPolicyProps {
843
832
  * @Property autoSnapshotPolicyName: The name of the automatic snapshot policy.
844
833
  * It can consist of [2, 128] English or Chinese characters.
845
834
  * Must begin with an uppercase or lowercase letter or a Chinese character. Can contain numbers, periods (.), colons (:), underscores (_), and hyphens (-).
846
- * Cannot start with http:// or https://.
835
+ * Cannot start with http:\/\/ or https:\/\/.
847
836
  * Default value: null.
848
837
  */
849
838
  readonly autoSnapshotPolicyName?: string | ros.IResolvable;
@@ -861,17 +850,15 @@ export interface RosAutoSnapshotPolicyProps {
861
850
  readonly tags?: RosAutoSnapshotPolicy.TagsProperty[];
862
851
  }
863
852
  /**
864
- * A ROS template type: `ALIYUN::ECS::AutoSnapshotPolicy`
853
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::AutoSnapshotPolicy`, which is used to create an automatic snapshot policy.
854
+ * @Note This class does not contain additional functions, so it is recommended to use the `AutoSnapshotPolicy` class instead of this class for a more convenient development experience.
855
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-autosnapshotpolicy
865
856
  */
866
857
  export declare class RosAutoSnapshotPolicy extends ros.RosResource {
867
858
  /**
868
859
  * The resource type name for this resource class.
869
860
  */
870
861
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::AutoSnapshotPolicy";
871
- /**
872
- * A factory method that creates a new instance of this class from an object
873
- * containing the properties of this ROS resource.
874
- */
875
862
  /**
876
863
  * @Attribute AutoSnapshotPolicyId: The automatic snapshot policy ID.
877
864
  */
@@ -900,7 +887,7 @@ export declare class RosAutoSnapshotPolicy extends ros.RosResource {
900
887
  * @Property autoSnapshotPolicyName: The name of the automatic snapshot policy.
901
888
  * It can consist of [2, 128] English or Chinese characters.
902
889
  * Must begin with an uppercase or lowercase letter or a Chinese character. Can contain numbers, periods (.), colons (:), underscores (_), and hyphens (-).
903
- * Cannot start with http:// or https://.
890
+ * Cannot start with http:\/\/ or https:\/\/.
904
891
  * Default value: null.
905
892
  */
906
893
  autoSnapshotPolicyName: string | ros.IResolvable | undefined;
@@ -917,8 +904,6 @@ export declare class RosAutoSnapshotPolicy extends ros.RosResource {
917
904
  */
918
905
  tags: RosAutoSnapshotPolicy.TagsProperty[] | undefined;
919
906
  /**
920
- * Create a new `ALIYUN::ECS::AutoSnapshotPolicy`.
921
- *
922
907
  * @param scope - scope in which this resource is defined
923
908
  * @param id - scoped id of the resource
924
909
  * @param props - resource properties
@@ -949,7 +934,8 @@ export declare namespace RosAutoSnapshotPolicy {
949
934
  }
950
935
  }
951
936
  /**
952
- * Properties for defining a `ALIYUN::ECS::Command`
937
+ * Properties for defining a `RosCommand`.
938
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-command
953
939
  */
954
940
  export interface RosCommandProps {
955
941
  /**
@@ -987,17 +973,15 @@ export interface RosCommandProps {
987
973
  readonly workingDir?: string | ros.IResolvable;
988
974
  }
989
975
  /**
990
- * A ROS template type: `ALIYUN::ECS::Command`
976
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::Command`, which is used to create a Cloud Assistant command.
977
+ * @Note This class does not contain additional functions, so it is recommended to use the `Command` class instead of this class for a more convenient development experience.
978
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-command
991
979
  */
992
980
  export declare class RosCommand extends ros.RosResource {
993
981
  /**
994
982
  * The resource type name for this resource class.
995
983
  */
996
984
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::Command";
997
- /**
998
- * A factory method that creates a new instance of this class from an object
999
- * containing the properties of this ROS resource.
1000
- */
1001
985
  /**
1002
986
  * @Attribute CommandId: The id of command created.
1003
987
  */
@@ -1037,8 +1021,6 @@ export declare class RosCommand extends ros.RosResource {
1037
1021
  */
1038
1022
  workingDir: string | ros.IResolvable | undefined;
1039
1023
  /**
1040
- * Create a new `ALIYUN::ECS::Command`.
1041
- *
1042
1024
  * @param scope - scope in which this resource is defined
1043
1025
  * @param id - scoped id of the resource
1044
1026
  * @param props - resource properties
@@ -1069,7 +1051,8 @@ export declare namespace RosCommand {
1069
1051
  }
1070
1052
  }
1071
1053
  /**
1072
- * Properties for defining a `ALIYUN::ECS::CopyImage`
1054
+ * Properties for defining a `RosCopyImage`.
1055
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-copyimage
1073
1056
  */
1074
1057
  export interface RosCopyImageProps {
1075
1058
  /**
@@ -1081,7 +1064,12 @@ export interface RosCopyImageProps {
1081
1064
  */
1082
1065
  readonly imageId: string | ros.IResolvable;
1083
1066
  /**
1084
- * @Property destinationDescription: The description of the destination custom image.It cannot begin with http:// or https://. Default value: null.
1067
+ * @Property allowCopyInSameRegion: Whether to allow copying images in the same region.
1068
+ * 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.
1069
+ */
1070
+ readonly allowCopyInSameRegion?: boolean | ros.IResolvable;
1071
+ /**
1072
+ * @Property destinationDescription: The description of the destination custom image.It cannot begin with http:\/\/ or https:\/\/. Default value: null.
1085
1073
  */
1086
1074
  readonly destinationDescription?: string | ros.IResolvable;
1087
1075
  /**
@@ -1110,17 +1098,15 @@ export interface RosCopyImageProps {
1110
1098
  readonly tag?: Array<ros.RosTag | ros.IResolvable> | ros.IResolvable;
1111
1099
  }
1112
1100
  /**
1113
- * A ROS template type: `ALIYUN::ECS::CopyImage`
1101
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::CopyImage`, which is used to copy a custom image from one region to another region.
1102
+ * @Note This class does not contain additional functions, so it is recommended to use the `CopyImage` class instead of this class for a more convenient development experience.
1103
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-copyimage
1114
1104
  */
1115
1105
  export declare class RosCopyImage extends ros.RosResource {
1116
1106
  /**
1117
1107
  * The resource type name for this resource class.
1118
1108
  */
1119
1109
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::CopyImage";
1120
- /**
1121
- * A factory method that creates a new instance of this class from an object
1122
- * containing the properties of this ROS resource.
1123
- */
1124
1110
  /**
1125
1111
  * @Attribute DestinationRegionId: ID of the region to where the destination custom image belongs.
1126
1112
  */
@@ -1143,7 +1129,12 @@ export declare class RosCopyImage extends ros.RosResource {
1143
1129
  */
1144
1130
  imageId: string | ros.IResolvable;
1145
1131
  /**
1146
- * @Property destinationDescription: The description of the destination custom image.It cannot begin with http:// or https://. Default value: null.
1132
+ * @Property allowCopyInSameRegion: Whether to allow copying images in the same region.
1133
+ * 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.
1134
+ */
1135
+ allowCopyInSameRegion: boolean | ros.IResolvable | undefined;
1136
+ /**
1137
+ * @Property destinationDescription: The description of the destination custom image.It cannot begin with http:\/\/ or https:\/\/. Default value: null.
1147
1138
  */
1148
1139
  destinationDescription: string | ros.IResolvable | undefined;
1149
1140
  /**
@@ -1171,8 +1162,6 @@ export declare class RosCopyImage extends ros.RosResource {
1171
1162
  */
1172
1163
  tag: Array<ros.RosTag | ros.IResolvable> | ros.IResolvable | undefined;
1173
1164
  /**
1174
- * Create a new `ALIYUN::ECS::CopyImage`.
1175
- *
1176
1165
  * @param scope - scope in which this resource is defined
1177
1166
  * @param id - scoped id of the resource
1178
1167
  * @param props - resource properties
@@ -1203,7 +1192,8 @@ export declare namespace RosCopyImage {
1203
1192
  }
1204
1193
  }
1205
1194
  /**
1206
- * Properties for defining a `ALIYUN::ECS::CustomImage`
1195
+ * Properties for defining a `RosCustomImage`.
1196
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-customimage
1207
1197
  */
1208
1198
  export interface RosCustomImageProps {
1209
1199
  /**
@@ -1212,27 +1202,43 @@ export interface RosCustomImageProps {
1212
1202
  * X86_64 (default)
1213
1203
  */
1214
1204
  readonly architecture?: string | ros.IResolvable;
1205
+ /**
1206
+ * @Property bootMode: Modify the startup mode of the image. Ranges:
1207
+ * BIOS: BIOS boot mode.
1208
+ * UEFI: UEFI boot mode.
1209
+ * You need to know the startup mode supported by the specified image. After modifying the startup mode through this parameter, it must match the startup mode supported by the image itself so that the instance can start normally.
1210
+ */
1211
+ readonly bootMode?: string | ros.IResolvable;
1215
1212
  /**
1216
1213
  * @Property description: The description of the image.
1217
1214
  * It can be [0, 256] letters in length.
1218
- * It cannot begin with http:// or https://.
1215
+ * It cannot begin with http:\/\/ or https:\/\/.
1219
1216
  * Default value: null.
1220
1217
  */
1221
1218
  readonly description?: string | ros.IResolvable;
1219
+ /**
1220
+ * @Property detectionStrategy: Image detection policy. If this parameter is not configured, detection will not be triggered. Only Standard detection mode is supported.Currently, most Linux\/Windows versions are supported.
1221
+ */
1222
+ readonly detectionStrategy?: string | ros.IResolvable;
1222
1223
  /**
1223
1224
  * @Property diskDeviceMapping:
1224
1225
  */
1225
1226
  readonly diskDeviceMapping?: Array<RosCustomImage.DiskDeviceMappingProperty | ros.IResolvable> | ros.IResolvable;
1226
1227
  /**
1227
- * @Property imageFamily: The name of the image family of the custom image. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), and hyphens (-). It cannot contain http:// or https://. It must start with a letter and cannot start with acs: or aliyun.This parameter is empty by default.
1228
+ * @Property imageFamily: The name of the image family of the image. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), and hyphens (-). It cannot contain http:\/\/ or https:\/\/. It must start with a letter and cannot start with acs: or aliyun.This parameter is empty by default.
1228
1229
  */
1229
1230
  readonly imageFamily?: string | ros.IResolvable;
1230
1231
  /**
1231
1232
  * @Property imageName: Image name.
1232
1233
  * Can contain [2, 128] characters in length. Must begin with an English letter or Chinese character. Can contain digits, colons (:), underscores (_), or hyphens (-).
1233
- * Cannot begin with http:// or https://.
1234
+ * Cannot begin with http:\/\/ or https:\/\/.
1234
1235
  */
1235
1236
  readonly imageName?: string | ros.IResolvable;
1237
+ /**
1238
+ * @Property imageVersion: Image version.
1239
+ * When you specify an instance ID (InstanceId) and the image of the instance is a cloud market image or a custom image created from a cloud market image. This parameter must be the same as the ImageVersion of the current instance image or set to empty.
1240
+ */
1241
+ readonly imageVersion?: string | ros.IResolvable;
1236
1242
  /**
1237
1243
  * @Property instanceId: Instance ID.
1238
1244
  */
@@ -1250,7 +1256,7 @@ export interface RosCustomImageProps {
1250
1256
  */
1251
1257
  readonly snapshotId?: string | ros.IResolvable;
1252
1258
  /**
1253
- * @Property sourceRegionId: ID of the region to where the instance/snapshot belongs. Default is current region ID.
1259
+ * @Property sourceRegionId: ID of the region to where the instance\/snapshot belongs. Default is current region ID.
1254
1260
  */
1255
1261
  readonly sourceRegionId?: string | ros.IResolvable;
1256
1262
  /**
@@ -1259,17 +1265,15 @@ export interface RosCustomImageProps {
1259
1265
  readonly tag?: Array<ros.RosTag | ros.IResolvable> | ros.IResolvable;
1260
1266
  }
1261
1267
  /**
1262
- * A ROS template type: `ALIYUN::ECS::CustomImage`
1268
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::CustomImage`, which is used to create a custom image.
1269
+ * @Note This class does not contain additional functions, so it is recommended to use the `CustomImage` class instead of this class for a more convenient development experience.
1270
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-customimage
1263
1271
  */
1264
1272
  export declare class RosCustomImage extends ros.RosResource {
1265
1273
  /**
1266
1274
  * The resource type name for this resource class.
1267
1275
  */
1268
1276
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::CustomImage";
1269
- /**
1270
- * A factory method that creates a new instance of this class from an object
1271
- * containing the properties of this ROS resource.
1272
- */
1273
1277
  /**
1274
1278
  * @Attribute ImageId: Image ID
1275
1279
  */
@@ -1285,27 +1289,43 @@ export declare class RosCustomImage extends ros.RosResource {
1285
1289
  * X86_64 (default)
1286
1290
  */
1287
1291
  architecture: string | ros.IResolvable | undefined;
1292
+ /**
1293
+ * @Property bootMode: Modify the startup mode of the image. Ranges:
1294
+ * BIOS: BIOS boot mode.
1295
+ * UEFI: UEFI boot mode.
1296
+ * You need to know the startup mode supported by the specified image. After modifying the startup mode through this parameter, it must match the startup mode supported by the image itself so that the instance can start normally.
1297
+ */
1298
+ bootMode: string | ros.IResolvable | undefined;
1288
1299
  /**
1289
1300
  * @Property description: The description of the image.
1290
1301
  * It can be [0, 256] letters in length.
1291
- * It cannot begin with http:// or https://.
1302
+ * It cannot begin with http:\/\/ or https:\/\/.
1292
1303
  * Default value: null.
1293
1304
  */
1294
1305
  description: string | ros.IResolvable | undefined;
1306
+ /**
1307
+ * @Property detectionStrategy: Image detection policy. If this parameter is not configured, detection will not be triggered. Only Standard detection mode is supported.Currently, most Linux\/Windows versions are supported.
1308
+ */
1309
+ detectionStrategy: string | ros.IResolvable | undefined;
1295
1310
  /**
1296
1311
  * @Property diskDeviceMapping:
1297
1312
  */
1298
1313
  diskDeviceMapping: Array<RosCustomImage.DiskDeviceMappingProperty | ros.IResolvable> | ros.IResolvable | undefined;
1299
1314
  /**
1300
- * @Property imageFamily: The name of the image family of the custom image. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), and hyphens (-). It cannot contain http:// or https://. It must start with a letter and cannot start with acs: or aliyun.This parameter is empty by default.
1315
+ * @Property imageFamily: The name of the image family of the image. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), and hyphens (-). It cannot contain http:\/\/ or https:\/\/. It must start with a letter and cannot start with acs: or aliyun.This parameter is empty by default.
1301
1316
  */
1302
1317
  imageFamily: string | ros.IResolvable | undefined;
1303
1318
  /**
1304
1319
  * @Property imageName: Image name.
1305
1320
  * Can contain [2, 128] characters in length. Must begin with an English letter or Chinese character. Can contain digits, colons (:), underscores (_), or hyphens (-).
1306
- * Cannot begin with http:// or https://.
1321
+ * Cannot begin with http:\/\/ or https:\/\/.
1307
1322
  */
1308
1323
  imageName: string | ros.IResolvable | undefined;
1324
+ /**
1325
+ * @Property imageVersion: Image version.
1326
+ * When you specify an instance ID (InstanceId) and the image of the instance is a cloud market image or a custom image created from a cloud market image. This parameter must be the same as the ImageVersion of the current instance image or set to empty.
1327
+ */
1328
+ imageVersion: string | ros.IResolvable | undefined;
1309
1329
  /**
1310
1330
  * @Property instanceId: Instance ID.
1311
1331
  */
@@ -1323,7 +1343,7 @@ export declare class RosCustomImage extends ros.RosResource {
1323
1343
  */
1324
1344
  snapshotId: string | ros.IResolvable | undefined;
1325
1345
  /**
1326
- * @Property sourceRegionId: ID of the region to where the instance/snapshot belongs. Default is current region ID.
1346
+ * @Property sourceRegionId: ID of the region to where the instance\/snapshot belongs. Default is current region ID.
1327
1347
  */
1328
1348
  sourceRegionId: string | ros.IResolvable | undefined;
1329
1349
  /**
@@ -1331,8 +1351,6 @@ export declare class RosCustomImage extends ros.RosResource {
1331
1351
  */
1332
1352
  tag: Array<ros.RosTag | ros.IResolvable> | ros.IResolvable | undefined;
1333
1353
  /**
1334
- * Create a new `ALIYUN::ECS::CustomImage`.
1335
- *
1336
1354
  * @param scope - scope in which this resource is defined
1337
1355
  * @param id - scoped id of the resource
1338
1356
  * @param props - resource properties
@@ -1363,7 +1381,7 @@ export declare namespace RosCustomImage {
1363
1381
  */
1364
1382
  readonly snapshotId?: string | ros.IResolvable;
1365
1383
  /**
1366
- * @Property device: Specify the device name in DiskMirrorMapping.N. in the custom image. Value range: /dev/xvda~/dev/xvdz
1384
+ * @Property device: Specify the device name in DiskMirrorMapping.N. in the custom image. Value range: \/dev\/xvda~\/dev\/xvdz
1367
1385
  */
1368
1386
  readonly device?: string | ros.IResolvable;
1369
1387
  /**
@@ -1384,17 +1402,18 @@ export declare namespace RosCustomImage {
1384
1402
  */
1385
1403
  interface TagProperty {
1386
1404
  /**
1387
- * @Property value: The value of a tag of which n is a number from 1 to 20. Once you use this parameter, it can be a null string. It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://".
1405
+ * @Property value: The value of a tag of which n is a number from 1 to 20. Once you use this parameter, it can be a null string. It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http:\/\/", or "https:\/\/".
1388
1406
  */
1389
1407
  readonly value?: string | ros.IResolvable;
1390
1408
  /**
1391
- * @Property key: The key of a tag of which n is from 1 to 20. Once you use this parameter, it cannot be a null string. It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://".
1409
+ * @Property key: The key of a tag of which n is from 1 to 20. Once you use this parameter, it cannot be a null string. It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http:\/\/", or "https:\/\/".
1392
1410
  */
1393
1411
  readonly key?: string | ros.IResolvable;
1394
1412
  }
1395
1413
  }
1396
1414
  /**
1397
- * Properties for defining a `ALIYUN::ECS::DedicatedHost`
1415
+ * Properties for defining a `RosDedicatedHost`.
1416
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-dedicatedhost
1398
1417
  */
1399
1418
  export interface RosDedicatedHostProps {
1400
1419
  /**
@@ -1426,7 +1445,7 @@ export interface RosDedicatedHostProps {
1426
1445
  */
1427
1446
  readonly chargeType?: string | ros.IResolvable;
1428
1447
  /**
1429
- * @Property dedicatedHostName: The name of the dedicated host, [2, 128] English or Chinese characters. It must begin with an uppercase/lowercase letter or a Chinese character, and may contain numbers, '_' or '-'. It cannot begin with http:// or https://.
1448
+ * @Property dedicatedHostName: The name of the dedicated host, [2, 128] English or Chinese characters. It must begin with an uppercase\/lowercase letter or a Chinese character, and may contain numbers, '_' or '-'. It cannot begin with http:\/\/ or https:\/\/.
1430
1449
  */
1431
1450
  readonly dedicatedHostName?: string | ros.IResolvable;
1432
1451
  /**
@@ -1446,7 +1465,7 @@ export interface RosDedicatedHostProps {
1446
1465
  */
1447
1466
  readonly period?: number | ros.IResolvable;
1448
1467
  /**
1449
- * @Property periodUnit: Unit of prepaid time period, it could be Week/Month/Year. Default value is Month.
1468
+ * @Property periodUnit: Unit of prepaid time period, it could be Week\/Month\/Year. Default value is Month.
1450
1469
  */
1451
1470
  readonly periodUnit?: string | ros.IResolvable;
1452
1471
  /**
@@ -1467,17 +1486,15 @@ export interface RosDedicatedHostProps {
1467
1486
  readonly zoneId?: string | ros.IResolvable;
1468
1487
  }
1469
1488
  /**
1470
- * A ROS template type: `ALIYUN::ECS::DedicatedHost`
1489
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::DedicatedHost`, which is used to create a dedicated host.
1490
+ * @Note This class does not contain additional functions, so it is recommended to use the `DedicatedHost` class instead of this class for a more convenient development experience.
1491
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-dedicatedhost
1471
1492
  */
1472
1493
  export declare class RosDedicatedHost extends ros.RosResource {
1473
1494
  /**
1474
1495
  * The resource type name for this resource class.
1475
1496
  */
1476
1497
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::DedicatedHost";
1477
- /**
1478
- * A factory method that creates a new instance of this class from an object
1479
- * containing the properties of this ROS resource.
1480
- */
1481
1498
  /**
1482
1499
  * @Attribute DedicatedHostIds: The host id list of created hosts
1483
1500
  */
@@ -1516,7 +1533,7 @@ export declare class RosDedicatedHost extends ros.RosResource {
1516
1533
  */
1517
1534
  chargeType: string | ros.IResolvable | undefined;
1518
1535
  /**
1519
- * @Property dedicatedHostName: The name of the dedicated host, [2, 128] English or Chinese characters. It must begin with an uppercase/lowercase letter or a Chinese character, and may contain numbers, '_' or '-'. It cannot begin with http:// or https://.
1536
+ * @Property dedicatedHostName: The name of the dedicated host, [2, 128] English or Chinese characters. It must begin with an uppercase\/lowercase letter or a Chinese character, and may contain numbers, '_' or '-'. It cannot begin with http:\/\/ or https:\/\/.
1520
1537
  */
1521
1538
  dedicatedHostName: string | ros.IResolvable | undefined;
1522
1539
  /**
@@ -1536,7 +1553,7 @@ export declare class RosDedicatedHost extends ros.RosResource {
1536
1553
  */
1537
1554
  period: number | ros.IResolvable | undefined;
1538
1555
  /**
1539
- * @Property periodUnit: Unit of prepaid time period, it could be Week/Month/Year. Default value is Month.
1556
+ * @Property periodUnit: Unit of prepaid time period, it could be Week\/Month\/Year. Default value is Month.
1540
1557
  */
1541
1558
  periodUnit: string | ros.IResolvable | undefined;
1542
1559
  /**
@@ -1556,8 +1573,6 @@ export declare class RosDedicatedHost extends ros.RosResource {
1556
1573
  */
1557
1574
  zoneId: string | ros.IResolvable | undefined;
1558
1575
  /**
1559
- * Create a new `ALIYUN::ECS::DedicatedHost`.
1560
- *
1561
1576
  * @param scope - scope in which this resource is defined
1562
1577
  * @param id - scoped id of the resource
1563
1578
  * @param props - resource properties
@@ -1588,20 +1603,27 @@ export declare namespace RosDedicatedHost {
1588
1603
  }
1589
1604
  }
1590
1605
  /**
1591
- * Properties for defining a `ALIYUN::ECS::DeploymentSet`
1606
+ * Properties for defining a `RosDeploymentSet`.
1607
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-deploymentset
1592
1608
  */
1593
1609
  export interface RosDeploymentSetProps {
1594
1610
  /**
1595
1611
  * @Property deploymentSetName: The name of the deployment set. It must be 2 to 128 characters in length. It must
1596
- * start with a letter and cannot start with http:// or https://. It can contain letters,
1612
+ * start with a letter and cannot start with http:\/\/ or https:\/\/. It can contain letters,
1597
1613
  * digits, colons (:), underscores (_), and hyphens (-).
1598
1614
  */
1599
1615
  readonly deploymentSetName?: string | ros.IResolvable;
1600
1616
  /**
1601
1617
  * @Property description: The description of the deployment set. It must be 2 to 256 characters in length. It
1602
- * cannot start with http:// or https://.
1618
+ * cannot start with http:\/\/ or https:\/\/.
1603
1619
  */
1604
1620
  readonly description?: string | ros.IResolvable;
1621
+ /**
1622
+ * @Property groupCount: Set the number of groups for the deployment set group high availability policy. Value range: 1~7.
1623
+ * Default value: 3.
1624
+ * This parameter only takes effect when Strategy=AvailabilityGroup.
1625
+ */
1626
+ readonly groupCount?: number | ros.IResolvable;
1605
1627
  /**
1606
1628
  * @Property onUnableToRedeployFailedInstance: The emergency solution to redeploy failed instances in the deployment set. Valid values:
1607
1629
  * CancelMembershipAndStart: restarts the instances immediately after they are shut down
@@ -1610,19 +1632,24 @@ export interface RosDeploymentSetProps {
1610
1632
  * set is replenished.
1611
1633
  */
1612
1634
  readonly onUnableToRedeployFailedInstance?: string | ros.IResolvable;
1635
+ /**
1636
+ * @Property strategy: Deployment strategy. Ranges:
1637
+ * Availability: High availability strategy.
1638
+ * AvailabilityGroup: Deployment group high availability strategy.
1639
+ * LowLatency: Network low latency strategy.
1640
+ */
1641
+ readonly strategy?: string | ros.IResolvable;
1613
1642
  }
1614
1643
  /**
1615
- * A ROS template type: `ALIYUN::ECS::DeploymentSet`
1644
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::DeploymentSet`, which is used to create a deployment set in a specified region.
1645
+ * @Note This class does not contain additional functions, so it is recommended to use the `DeploymentSet` class instead of this class for a more convenient development experience.
1646
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-deploymentset
1616
1647
  */
1617
1648
  export declare class RosDeploymentSet extends ros.RosResource {
1618
1649
  /**
1619
1650
  * The resource type name for this resource class.
1620
1651
  */
1621
1652
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::DeploymentSet";
1622
- /**
1623
- * A factory method that creates a new instance of this class from an object
1624
- * containing the properties of this ROS resource.
1625
- */
1626
1653
  /**
1627
1654
  * @Attribute DeploymentSetId: The ID of the deployment set.
1628
1655
  */
@@ -1630,15 +1657,21 @@ export declare class RosDeploymentSet extends ros.RosResource {
1630
1657
  enableResourcePropertyConstraint: boolean;
1631
1658
  /**
1632
1659
  * @Property deploymentSetName: The name of the deployment set. It must be 2 to 128 characters in length. It must
1633
- * start with a letter and cannot start with http:// or https://. It can contain letters,
1660
+ * start with a letter and cannot start with http:\/\/ or https:\/\/. It can contain letters,
1634
1661
  * digits, colons (:), underscores (_), and hyphens (-).
1635
1662
  */
1636
1663
  deploymentSetName: string | ros.IResolvable | undefined;
1637
1664
  /**
1638
1665
  * @Property description: The description of the deployment set. It must be 2 to 256 characters in length. It
1639
- * cannot start with http:// or https://.
1666
+ * cannot start with http:\/\/ or https:\/\/.
1640
1667
  */
1641
1668
  description: string | ros.IResolvable | undefined;
1669
+ /**
1670
+ * @Property groupCount: Set the number of groups for the deployment set group high availability policy. Value range: 1~7.
1671
+ * Default value: 3.
1672
+ * This parameter only takes effect when Strategy=AvailabilityGroup.
1673
+ */
1674
+ groupCount: number | ros.IResolvable | undefined;
1642
1675
  /**
1643
1676
  * @Property onUnableToRedeployFailedInstance: The emergency solution to redeploy failed instances in the deployment set. Valid values:
1644
1677
  * CancelMembershipAndStart: restarts the instances immediately after they are shut down
@@ -1648,8 +1681,13 @@ export declare class RosDeploymentSet extends ros.RosResource {
1648
1681
  */
1649
1682
  onUnableToRedeployFailedInstance: string | ros.IResolvable | undefined;
1650
1683
  /**
1651
- * Create a new `ALIYUN::ECS::DeploymentSet`.
1652
- *
1684
+ * @Property strategy: Deployment strategy. Ranges:
1685
+ * Availability: High availability strategy.
1686
+ * AvailabilityGroup: Deployment group high availability strategy.
1687
+ * LowLatency: Network low latency strategy.
1688
+ */
1689
+ strategy: string | ros.IResolvable | undefined;
1690
+ /**
1653
1691
  * @param scope - scope in which this resource is defined
1654
1692
  * @param id - scoped id of the resource
1655
1693
  * @param props - resource properties
@@ -1665,7 +1703,8 @@ export declare class RosDeploymentSet extends ros.RosResource {
1665
1703
  };
1666
1704
  }
1667
1705
  /**
1668
- * Properties for defining a `ALIYUN::ECS::Disk`
1706
+ * Properties for defining a `RosDisk`.
1707
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-disk
1669
1708
  */
1670
1709
  export interface RosDiskProps {
1671
1710
  /**
@@ -1689,7 +1728,7 @@ export interface RosDiskProps {
1689
1728
  */
1690
1729
  readonly description?: string | ros.IResolvable;
1691
1730
  /**
1692
- * @Property diskCategory: The disk category, now support cloud/cloud_ssd/cloud_essd/cloud_efficiency/san_ssd/san_efficiency/cloud_auto, depends the region.
1731
+ * @Property diskCategory: The disk category, now support cloud\/cloud_ssd\/cloud_essd\/cloud_efficiency\/san_ssd\/san_efficiency\/cloud_auto, depends the region.
1693
1732
  */
1694
1733
  readonly diskCategory?: string | ros.IResolvable;
1695
1734
  /**
@@ -1712,7 +1751,7 @@ export interface RosDiskProps {
1712
1751
  */
1713
1752
  readonly multiAttach?: string | ros.IResolvable;
1714
1753
  /**
1715
- * @Property performanceLevel: The performance level you select for an ESSD.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read/write IOPS.
1754
+ * @Property performanceLevel: The performance level you select for an ESSD.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read\/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read\/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read\/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read\/write IOPS.
1716
1755
  */
1717
1756
  readonly performanceLevel?: string | ros.IResolvable;
1718
1757
  /**
@@ -1745,17 +1784,15 @@ export interface RosDiskProps {
1745
1784
  readonly tags?: RosDisk.TagsProperty[];
1746
1785
  }
1747
1786
  /**
1748
- * A ROS template type: `ALIYUN::ECS::Disk`
1787
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::Disk`, which is used to create a cloud disk for an Elastic Compute Service (ECS) instance.
1788
+ * @Note This class does not contain additional functions, so it is recommended to use the `Disk` class instead of this class for a more convenient development experience.
1789
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-disk
1749
1790
  */
1750
1791
  export declare class RosDisk extends ros.RosResource {
1751
1792
  /**
1752
1793
  * The resource type name for this resource class.
1753
1794
  */
1754
1795
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::Disk";
1755
- /**
1756
- * A factory method that creates a new instance of this class from an object
1757
- * containing the properties of this ROS resource.
1758
- */
1759
1796
  /**
1760
1797
  * @Attribute DiskId: Id of created disk.
1761
1798
  */
@@ -1786,7 +1823,7 @@ export declare class RosDisk extends ros.RosResource {
1786
1823
  */
1787
1824
  description: string | ros.IResolvable | undefined;
1788
1825
  /**
1789
- * @Property diskCategory: The disk category, now support cloud/cloud_ssd/cloud_essd/cloud_efficiency/san_ssd/san_efficiency/cloud_auto, depends the region.
1826
+ * @Property diskCategory: The disk category, now support cloud\/cloud_ssd\/cloud_essd\/cloud_efficiency\/san_ssd\/san_efficiency\/cloud_auto, depends the region.
1790
1827
  */
1791
1828
  diskCategory: string | ros.IResolvable | undefined;
1792
1829
  /**
@@ -1809,7 +1846,7 @@ export declare class RosDisk extends ros.RosResource {
1809
1846
  */
1810
1847
  multiAttach: string | ros.IResolvable | undefined;
1811
1848
  /**
1812
- * @Property performanceLevel: The performance level you select for an ESSD.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read/write IOPS.
1849
+ * @Property performanceLevel: The performance level you select for an ESSD.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read\/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read\/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read\/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read\/write IOPS.
1813
1850
  */
1814
1851
  performanceLevel: string | ros.IResolvable | undefined;
1815
1852
  /**
@@ -1841,8 +1878,6 @@ export declare class RosDisk extends ros.RosResource {
1841
1878
  */
1842
1879
  tags: RosDisk.TagsProperty[] | undefined;
1843
1880
  /**
1844
- * Create a new `ALIYUN::ECS::Disk`.
1845
- *
1846
1881
  * @param scope - scope in which this resource is defined
1847
1882
  * @param id - scoped id of the resource
1848
1883
  * @param props - resource properties
@@ -1873,7 +1908,8 @@ export declare namespace RosDisk {
1873
1908
  }
1874
1909
  }
1875
1910
  /**
1876
- * Properties for defining a `ALIYUN::ECS::DiskAttachment`
1911
+ * Properties for defining a `RosDiskAttachment`.
1912
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-diskattachment
1877
1913
  */
1878
1914
  export interface RosDiskAttachmentProps {
1879
1915
  /**
@@ -1893,22 +1929,20 @@ export interface RosDiskAttachmentProps {
1893
1929
  */
1894
1930
  readonly deleteWithInstance?: boolean | ros.IResolvable;
1895
1931
  /**
1896
- * @Property device: The device where the volume is exposed on the instance. could be /dev/xvd[b-z]. If not specification, will use default value.
1932
+ * @Property device: The device where the volume is exposed on the instance. could be \/dev\/xvd[b-z]. If not specification, will use default value.
1897
1933
  */
1898
1934
  readonly device?: string | ros.IResolvable;
1899
1935
  }
1900
1936
  /**
1901
- * A ROS template type: `ALIYUN::ECS::DiskAttachment`
1937
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::DiskAttachment`, which is used to attach a disk to an ECS instance.
1938
+ * @Note This class does not contain additional functions, so it is recommended to use the `DiskAttachment` class instead of this class for a more convenient development experience.
1939
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-diskattachment
1902
1940
  */
1903
1941
  export declare class RosDiskAttachment extends ros.RosResource {
1904
1942
  /**
1905
1943
  * The resource type name for this resource class.
1906
1944
  */
1907
1945
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::DiskAttachment";
1908
- /**
1909
- * A factory method that creates a new instance of this class from an object
1910
- * containing the properties of this ROS resource.
1911
- */
1912
1946
  /**
1913
1947
  * @Attribute Device: The device where the volume is exposed on ecs instance.
1914
1948
  */
@@ -1939,12 +1973,10 @@ export declare class RosDiskAttachment extends ros.RosResource {
1939
1973
  */
1940
1974
  deleteWithInstance: boolean | ros.IResolvable | undefined;
1941
1975
  /**
1942
- * @Property device: The device where the volume is exposed on the instance. could be /dev/xvd[b-z]. If not specification, will use default value.
1976
+ * @Property device: The device where the volume is exposed on the instance. could be \/dev\/xvd[b-z]. If not specification, will use default value.
1943
1977
  */
1944
1978
  device: string | ros.IResolvable | undefined;
1945
1979
  /**
1946
- * Create a new `ALIYUN::ECS::DiskAttachment`.
1947
- *
1948
1980
  * @param scope - scope in which this resource is defined
1949
1981
  * @param id - scoped id of the resource
1950
1982
  * @param props - resource properties
@@ -1960,7 +1992,8 @@ export declare class RosDiskAttachment extends ros.RosResource {
1960
1992
  };
1961
1993
  }
1962
1994
  /**
1963
- * Properties for defining a `ALIYUN::ECS::ForwardEntry`
1995
+ * Properties for defining a `RosForwardEntry`.
1996
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-forwardentry
1964
1997
  */
1965
1998
  export interface RosForwardEntryProps {
1966
1999
  /**
@@ -1968,7 +2001,7 @@ export interface RosForwardEntryProps {
1968
2001
  */
1969
2002
  readonly externalIp: string | ros.IResolvable;
1970
2003
  /**
1971
- * @Property externalPort: Source port, now support [1-65535]|Any|x/y
2004
+ * @Property externalPort: Source port, now support [1-65535]|Any|x\/y
1972
2005
  */
1973
2006
  readonly externalPort: string | ros.IResolvable;
1974
2007
  /**
@@ -1980,7 +2013,7 @@ export interface RosForwardEntryProps {
1980
2013
  */
1981
2014
  readonly internalIp: string | ros.IResolvable;
1982
2015
  /**
1983
- * @Property internalPort: Destination port, now support [1-65535]|Any|x/y
2016
+ * @Property internalPort: Destination port, now support [1-65535]|Any|x\/y
1984
2017
  */
1985
2018
  readonly internalPort: string | ros.IResolvable;
1986
2019
  /**
@@ -1988,7 +2021,7 @@ export interface RosForwardEntryProps {
1988
2021
  */
1989
2022
  readonly ipProtocol: string | ros.IResolvable;
1990
2023
  /**
1991
- * @Property forwardEntryName: the name of the DNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP:// or https://.
2024
+ * @Property forwardEntryName: the name of the DNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP:\/\/ or https:\/\/.
1992
2025
  */
1993
2026
  readonly forwardEntryName?: string | ros.IResolvable;
1994
2027
  /**
@@ -1997,17 +2030,15 @@ export interface RosForwardEntryProps {
1997
2030
  readonly portBreak?: boolean | ros.IResolvable;
1998
2031
  }
1999
2032
  /**
2000
- * A ROS template type: `ALIYUN::ECS::ForwardEntry`
2033
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::ForwardEntry`, which is used to configure the Destination Network Address Translation (DNAT) table of a Network Address Translation (NAT) gateway.
2034
+ * @Note This class does not contain additional functions, so it is recommended to use the `ForwardEntry` class instead of this class for a more convenient development experience.
2035
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-forwardentry
2001
2036
  */
2002
2037
  export declare class RosForwardEntry extends ros.RosResource {
2003
2038
  /**
2004
2039
  * The resource type name for this resource class.
2005
2040
  */
2006
2041
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::ForwardEntry";
2007
- /**
2008
- * A factory method that creates a new instance of this class from an object
2009
- * containing the properties of this ROS resource.
2010
- */
2011
2042
  /**
2012
2043
  * @Attribute ForwardEntryId: The id of created forward entry.
2013
2044
  */
@@ -2018,7 +2049,7 @@ export declare class RosForwardEntry extends ros.RosResource {
2018
2049
  */
2019
2050
  externalIp: string | ros.IResolvable;
2020
2051
  /**
2021
- * @Property externalPort: Source port, now support [1-65535]|Any|x/y
2052
+ * @Property externalPort: Source port, now support [1-65535]|Any|x\/y
2022
2053
  */
2023
2054
  externalPort: string | ros.IResolvable;
2024
2055
  /**
@@ -2030,7 +2061,7 @@ export declare class RosForwardEntry extends ros.RosResource {
2030
2061
  */
2031
2062
  internalIp: string | ros.IResolvable;
2032
2063
  /**
2033
- * @Property internalPort: Destination port, now support [1-65535]|Any|x/y
2064
+ * @Property internalPort: Destination port, now support [1-65535]|Any|x\/y
2034
2065
  */
2035
2066
  internalPort: string | ros.IResolvable;
2036
2067
  /**
@@ -2038,7 +2069,7 @@ export declare class RosForwardEntry extends ros.RosResource {
2038
2069
  */
2039
2070
  ipProtocol: string | ros.IResolvable;
2040
2071
  /**
2041
- * @Property forwardEntryName: the name of the DNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP:// or https://.
2072
+ * @Property forwardEntryName: the name of the DNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP:\/\/ or https:\/\/.
2042
2073
  */
2043
2074
  forwardEntryName: string | ros.IResolvable | undefined;
2044
2075
  /**
@@ -2046,8 +2077,6 @@ export declare class RosForwardEntry extends ros.RosResource {
2046
2077
  */
2047
2078
  portBreak: boolean | ros.IResolvable | undefined;
2048
2079
  /**
2049
- * Create a new `ALIYUN::ECS::ForwardEntry`.
2050
- *
2051
2080
  * @param scope - scope in which this resource is defined
2052
2081
  * @param id - scoped id of the resource
2053
2082
  * @param props - resource properties
@@ -2063,33 +2092,32 @@ export declare class RosForwardEntry extends ros.RosResource {
2063
2092
  };
2064
2093
  }
2065
2094
  /**
2066
- * Properties for defining a `ALIYUN::ECS::HpcCluster`
2095
+ * Properties for defining a `RosHpcCluster`.
2096
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-hpccluster
2067
2097
  */
2068
2098
  export interface RosHpcClusterProps {
2069
2099
  /**
2070
2100
  * @Property name: The name of the HPC cluster. The name must be 2 to 128 characters in length. It must
2071
- * start with a letter but cannot start with http:// or https://. It can contain letters,
2101
+ * start with a letter but cannot start with http:\/\/ or https:\/\/. It can contain letters,
2072
2102
  * digits, colons (:), underscores (_), and hyphens (-).
2073
2103
  */
2074
2104
  readonly name: string | ros.IResolvable;
2075
2105
  /**
2076
2106
  * @Property description: The description of the HPC cluster. The description must be 2 to 256 characters in
2077
- * length. It cannot start with http:// or https://. Default value: empty string.
2107
+ * length. It cannot start with http:\/\/ or https:\/\/. Default value: empty string.
2078
2108
  */
2079
2109
  readonly description?: string | ros.IResolvable;
2080
2110
  }
2081
2111
  /**
2082
- * A ROS template type: `ALIYUN::ECS::HpcCluster`
2112
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::HpcCluster`, which is used to create a High Performance Computing (HPC) cluster.
2113
+ * @Note This class does not contain additional functions, so it is recommended to use the `HpcCluster` class instead of this class for a more convenient development experience.
2114
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-hpccluster
2083
2115
  */
2084
2116
  export declare class RosHpcCluster extends ros.RosResource {
2085
2117
  /**
2086
2118
  * The resource type name for this resource class.
2087
2119
  */
2088
2120
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::HpcCluster";
2089
- /**
2090
- * A factory method that creates a new instance of this class from an object
2091
- * containing the properties of this ROS resource.
2092
- */
2093
2121
  /**
2094
2122
  * @Attribute HpcClusterId: The ID of the HPC cluster.
2095
2123
  */
@@ -2101,18 +2129,16 @@ export declare class RosHpcCluster extends ros.RosResource {
2101
2129
  enableResourcePropertyConstraint: boolean;
2102
2130
  /**
2103
2131
  * @Property name: The name of the HPC cluster. The name must be 2 to 128 characters in length. It must
2104
- * start with a letter but cannot start with http:// or https://. It can contain letters,
2132
+ * start with a letter but cannot start with http:\/\/ or https:\/\/. It can contain letters,
2105
2133
  * digits, colons (:), underscores (_), and hyphens (-).
2106
2134
  */
2107
2135
  name: string | ros.IResolvable;
2108
2136
  /**
2109
2137
  * @Property description: The description of the HPC cluster. The description must be 2 to 256 characters in
2110
- * length. It cannot start with http:// or https://. Default value: empty string.
2138
+ * length. It cannot start with http:\/\/ or https:\/\/. Default value: empty string.
2111
2139
  */
2112
2140
  description: string | ros.IResolvable | undefined;
2113
2141
  /**
2114
- * Create a new `ALIYUN::ECS::HpcCluster`.
2115
- *
2116
2142
  * @param scope - scope in which this resource is defined
2117
2143
  * @param id - scoped id of the resource
2118
2144
  * @param props - resource properties
@@ -2128,17 +2154,91 @@ export declare class RosHpcCluster extends ros.RosResource {
2128
2154
  };
2129
2155
  }
2130
2156
  /**
2131
- * Properties for defining a `ALIYUN::ECS::Instance`
2157
+ * Properties for defining a `RosImageSharePermission`.
2158
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-imagesharepermission
2132
2159
  */
2133
- export interface RosInstanceProps {
2160
+ export interface RosImageSharePermissionProps {
2134
2161
  /**
2135
- * @Property imageId: Image ID to create ecs instance.
2162
+ * @Property imageId: The shared custom image ID.
2136
2163
  */
2137
2164
  readonly imageId: string | ros.IResolvable;
2165
+ /**
2166
+ * @Property accounts: Alibaba Cloud account IDs authorized to share the image.
2167
+ */
2168
+ readonly accounts?: Array<string | ros.IResolvable> | ros.IResolvable;
2169
+ /**
2170
+ * @Property isPublic: Whether to publish or remove community mirrors.
2171
+ * If this property is not set, no changes will be made to the community image
2172
+ */
2173
+ readonly isPublic?: boolean | ros.IResolvable;
2174
+ /**
2175
+ * @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.
2176
+ */
2177
+ readonly keepPermission?: boolean | ros.IResolvable;
2178
+ }
2179
+ /**
2180
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::ImageSharePermission`DATASOURCE::ECS::AutoSnapshotPolicies is used to query automatic snapshot policies.
2181
+ * @Note This class does not contain additional functions, so it is recommended to use the `ImageSharePermission` class instead of this class for a more convenient development experience.
2182
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-imagesharepermission
2183
+ */
2184
+ export declare class RosImageSharePermission extends ros.RosResource {
2185
+ /**
2186
+ * The resource type name for this resource class.
2187
+ */
2188
+ static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::ImageSharePermission";
2189
+ /**
2190
+ * @Attribute ImageId: The shared custom image ID.
2191
+ */
2192
+ readonly attrImageId: ros.IResolvable;
2193
+ enableResourcePropertyConstraint: boolean;
2194
+ /**
2195
+ * @Property imageId: The shared custom image ID.
2196
+ */
2197
+ imageId: string | ros.IResolvable;
2198
+ /**
2199
+ * @Property accounts: Alibaba Cloud account IDs authorized to share the image.
2200
+ */
2201
+ accounts: Array<string | ros.IResolvable> | ros.IResolvable | undefined;
2202
+ /**
2203
+ * @Property isPublic: Whether to publish or remove community mirrors.
2204
+ * If this property is not set, no changes will be made to the community image
2205
+ */
2206
+ isPublic: boolean | ros.IResolvable | undefined;
2207
+ /**
2208
+ * @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.
2209
+ */
2210
+ keepPermission: boolean | ros.IResolvable | undefined;
2211
+ /**
2212
+ * @param scope - scope in which this resource is defined
2213
+ * @param id - scoped id of the resource
2214
+ * @param props - resource properties
2215
+ */
2216
+ constructor(scope: ros.Construct, id: string, props: RosImageSharePermissionProps, enableResourcePropertyConstraint: boolean);
2217
+ protected get rosProperties(): {
2218
+ [key: string]: any;
2219
+ };
2220
+ protected renderProperties(props: {
2221
+ [key: string]: any;
2222
+ }): {
2223
+ [key: string]: any;
2224
+ };
2225
+ }
2226
+ /**
2227
+ * Properties for defining a `RosInstance`.
2228
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-instance
2229
+ */
2230
+ export interface RosInstanceProps {
2138
2231
  /**
2139
2232
  * @Property instanceType: Ecs instance supported instance type, make sure it should be correct.
2140
2233
  */
2141
2234
  readonly instanceType: string | ros.IResolvable;
2235
+ /**
2236
+ * @Property affinity: Specifies whether to associate the instance on a dedicated host with the dedicated host. Valid values:
2237
+ * - **default**: does not associate the ECS instance with the dedicated host. When you start an instance that was stopped in economical mode, the instance is automatically deployed to another dedicated host in the automatic deployment resource pool if the available resources of the original dedicated host are insufficient.
2238
+ * - **host**: associates the ECS instance with the dedicated host. When you start an instance that was stopped in economical mode, the instance remains on the original dedicated host. If the available resources of the original dedicated host are insufficient, the instance cannot start.
2239
+ * Default value: **default**.
2240
+ */
2241
+ readonly affinity?: string | ros.IResolvable;
2142
2242
  /**
2143
2243
  * @Property allocatePublicIp: The public ip for ecs instance, if properties is true, will allocate public ip. If property InternetMaxBandwidthOut set to 0, it will not assign public ip.
2144
2244
  */
@@ -2151,6 +2251,12 @@ export interface RosInstanceProps {
2151
2251
  * @Property autoRenewPeriod: The time period of auto renew. When the parameter InstanceChargeType is PrePaid, it will take effect.It could be 1, 2, 3, 6, 12, 24, 36, 48, 60. Default value is 1.
2152
2252
  */
2153
2253
  readonly autoRenewPeriod?: number | ros.IResolvable;
2254
+ /**
2255
+ * @Property creditSpecification: The performance mode of the burstable instance. Valid values:
2256
+ * - **Standard**: the standard mode.
2257
+ * - **Unlimited**: the unlimited mode.
2258
+ */
2259
+ readonly creditSpecification?: string | ros.IResolvable;
2154
2260
  /**
2155
2261
  * @Property dedicatedHostId: which dedicated host will be deployed
2156
2262
  */
@@ -2159,6 +2265,10 @@ export interface RosInstanceProps {
2159
2265
  * @Property deletionProtection: Whether an instance can be released manually through the console or API, deletion protection only support postPaid instance
2160
2266
  */
2161
2267
  readonly deletionProtection?: boolean | ros.IResolvable;
2268
+ /**
2269
+ * @Property deploymentSetGroupNo: The number of the deployment set group to which to deploy the instance. If the deployment set specified by **DeploymentSetId** uses the high availability group strategy (AvailabilityGroup), you can use **DeploymentSetGroupNo** to specify a deployment set group in the deployment set. Valid values: 1 to 7.
2270
+ */
2271
+ readonly deploymentSetGroupNo?: number | ros.IResolvable;
2162
2272
  /**
2163
2273
  * @Property deploymentSetId: Deployment set ID.
2164
2274
  */
@@ -2180,6 +2290,30 @@ export interface RosInstanceProps {
2180
2290
  * @Property hpcClusterId: The HPC cluster ID to which the instance belongs.
2181
2291
  */
2182
2292
  readonly hpcClusterId?: string | ros.IResolvable;
2293
+ /**
2294
+ * @Property httpEndpoint: Specifies whether the access channel is enabled for instance metadata. Valid values:
2295
+ * - **enabled**
2296
+ * - **disabled**
2297
+ * Default value: **enabled**.
2298
+ */
2299
+ readonly httpEndpoint?: string | ros.IResolvable;
2300
+ /**
2301
+ * @Property httpTokens: Specifies whether the security hardening mode (IMDSv2) is forcefully used to access instance metadata. Valid values:
2302
+ * - **optional**: does not forcefully use the security-enhanced mode (IMDSv2).
2303
+ * - **required**: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
2304
+ * Default value: **optional**.
2305
+ */
2306
+ readonly httpTokens?: string | ros.IResolvable;
2307
+ /**
2308
+ * @Property imageFamily: The name of the image family. You can set this parameter to obtain the latest available custom image from the specified image family to create the instance.
2309
+ * - **ImageFamily** must be empty if **ImageId** is specified.
2310
+ * - **ImageFamily** can be specified if **ImageId** is not specified.
2311
+ */
2312
+ readonly imageFamily?: string | ros.IResolvable;
2313
+ /**
2314
+ * @Property imageId: Image ID to create ecs instance.
2315
+ */
2316
+ readonly imageId?: string | ros.IResolvable;
2183
2317
  /**
2184
2318
  * @Property instanceChargeType: Instance Charge type, allowed value: Prepaid and Postpaid. If specified Prepaid, please ensure you have sufficient balance in your account. Or instance creation will be failure. Default value is Postpaid.
2185
2319
  */
@@ -2217,13 +2351,17 @@ export interface RosInstanceProps {
2217
2351
  */
2218
2352
  readonly period?: number | ros.IResolvable;
2219
2353
  /**
2220
- * @Property periodUnit: Unit of prepaid time period, it could be Week/Month/Year. Default value is Month.
2354
+ * @Property periodUnit: Unit of prepaid time period, it could be Week\/Month\/Year. Default value is Month.
2221
2355
  */
2222
2356
  readonly periodUnit?: string | ros.IResolvable;
2223
2357
  /**
2224
2358
  * @Property privateIpAddress: Private IP for the instance created. Only works for VPC instance and cannot duplicated with existing instance.
2225
2359
  */
2226
2360
  readonly privateIpAddress?: string | ros.IResolvable;
2361
+ /**
2362
+ * @Property privatePoolOptions: The options of the private pool.
2363
+ */
2364
+ readonly privatePoolOptions?: RosInstance.PrivatePoolOptionsProperty | ros.IResolvable;
2227
2365
  /**
2228
2366
  * @Property ramRoleName: Instance RAM role name. The name is provided and maintained by Resource Access Management (RAM) and can be queried using ListRoles. For more information, see RAM API CreateRole and ListRoles.
2229
2367
  */
@@ -2263,6 +2401,14 @@ export interface RosInstanceProps {
2263
2401
  * @Property spotStrategy: The spot strategy of a Pay-As-You-Go instance, and it takes effect only when parameter InstanceChargeType is PostPaid. Value range: "NoSpot: A regular Pay-As-You-Go instance", "SpotWithPriceLimit: A price threshold for a spot instance, ""SpotAsPriceGo: A price that is based on the highest Pay-As-You-Go instance. "Default value: NoSpot.
2264
2402
  */
2265
2403
  readonly spotStrategy?: string | ros.IResolvable;
2404
+ /**
2405
+ * @Property storageSetId: The storage set ID.
2406
+ */
2407
+ readonly storageSetId?: string | ros.IResolvable;
2408
+ /**
2409
+ * @Property storageSetPartitionNumber: The maximum number of partitions in the storage set. The value must be greater than or equal to 2.
2410
+ */
2411
+ readonly storageSetPartitionNumber?: number | ros.IResolvable;
2266
2412
  /**
2267
2413
  * @Property systemDiskCategory: Category of system disk. Default is cloud_efficiency. support cloud|cloud_efficiency|cloud_ssd|cloud_essd|ephemeral_ssd|cloud_auto|cloud_essd_entry
2268
2414
  */
@@ -2276,7 +2422,7 @@ export interface RosInstanceProps {
2276
2422
  */
2277
2423
  readonly systemDiskDiskName?: string | ros.IResolvable;
2278
2424
  /**
2279
- * @Property systemDiskPerformanceLevel: The performance level of the enhanced SSD used as the system disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read/write IOPS.
2425
+ * @Property systemDiskPerformanceLevel: The performance level of the enhanced SSD used as the system disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read\/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read\/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read\/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read\/write IOPS.
2280
2426
  */
2281
2427
  readonly systemDiskPerformanceLevel?: string | ros.IResolvable;
2282
2428
  /**
@@ -2287,6 +2433,17 @@ export interface RosInstanceProps {
2287
2433
  * @Property tags: Tags to attach to instance. Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.
2288
2434
  */
2289
2435
  readonly tags?: RosInstance.TagsProperty[];
2436
+ /**
2437
+ * @Property tenancy: Specifies whether to create the instance on a dedicated host. Valid values:
2438
+ * - **default**: creates the instance on a non-dedicated host.
2439
+ * - **host**: creates the instance on a dedicated host. If you do not specify **DedicatedHostId**, Alibaba Cloud selects a dedicated host for the instance.
2440
+ * Default value: **default**.
2441
+ */
2442
+ readonly tenancy?: string | ros.IResolvable;
2443
+ /**
2444
+ * @Property useAdditionalService: Specifies whether to use the system configurations for virtual machines provided by Alibaba Cloud. System configurations for Windows: NTP and KMS. System configurations for Linux: NTP and YUM.
2445
+ */
2446
+ readonly useAdditionalService?: boolean | ros.IResolvable;
2290
2447
  /**
2291
2448
  * @Property userData: User data to pass to instance. [1, 16KB] characters.User data should not be base64 encoded. If you want to pass base64 encoded string to the property, use function Fn::Base64Decode to decode the base64 string first.
2292
2449
  */
@@ -2311,17 +2468,15 @@ export interface RosInstanceProps {
2311
2468
  readonly zoneIds?: Array<string | ros.IResolvable> | ros.IResolvable;
2312
2469
  }
2313
2470
  /**
2314
- * A ROS template type: `ALIYUN::ECS::Instance`
2471
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::Instance`, which is used to create an Elastic Compute Service (ECS) instance.
2472
+ * @Note This class does not contain additional functions, so it is recommended to use the `Instance` class instead of this class for a more convenient development experience.
2473
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-instance
2315
2474
  */
2316
2475
  export declare class RosInstance extends ros.RosResource {
2317
2476
  /**
2318
2477
  * The resource type name for this resource class.
2319
2478
  */
2320
2479
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::Instance";
2321
- /**
2322
- * A factory method that creates a new instance of this class from an object
2323
- * containing the properties of this ROS resource.
2324
- */
2325
2480
  /**
2326
2481
  * @Attribute HostName: Host name of created instance.
2327
2482
  */
@@ -2355,14 +2510,17 @@ export declare class RosInstance extends ros.RosResource {
2355
2510
  */
2356
2511
  readonly attrZoneId: ros.IResolvable;
2357
2512
  enableResourcePropertyConstraint: boolean;
2358
- /**
2359
- * @Property imageId: Image ID to create ecs instance.
2360
- */
2361
- imageId: string | ros.IResolvable;
2362
2513
  /**
2363
2514
  * @Property instanceType: Ecs instance supported instance type, make sure it should be correct.
2364
2515
  */
2365
2516
  instanceType: string | ros.IResolvable;
2517
+ /**
2518
+ * @Property affinity: Specifies whether to associate the instance on a dedicated host with the dedicated host. Valid values:
2519
+ * - **default**: does not associate the ECS instance with the dedicated host. When you start an instance that was stopped in economical mode, the instance is automatically deployed to another dedicated host in the automatic deployment resource pool if the available resources of the original dedicated host are insufficient.
2520
+ * - **host**: associates the ECS instance with the dedicated host. When you start an instance that was stopped in economical mode, the instance remains on the original dedicated host. If the available resources of the original dedicated host are insufficient, the instance cannot start.
2521
+ * Default value: **default**.
2522
+ */
2523
+ affinity: string | ros.IResolvable | undefined;
2366
2524
  /**
2367
2525
  * @Property allocatePublicIp: The public ip for ecs instance, if properties is true, will allocate public ip. If property InternetMaxBandwidthOut set to 0, it will not assign public ip.
2368
2526
  */
@@ -2375,6 +2533,12 @@ export declare class RosInstance extends ros.RosResource {
2375
2533
  * @Property autoRenewPeriod: The time period of auto renew. When the parameter InstanceChargeType is PrePaid, it will take effect.It could be 1, 2, 3, 6, 12, 24, 36, 48, 60. Default value is 1.
2376
2534
  */
2377
2535
  autoRenewPeriod: number | ros.IResolvable | undefined;
2536
+ /**
2537
+ * @Property creditSpecification: The performance mode of the burstable instance. Valid values:
2538
+ * - **Standard**: the standard mode.
2539
+ * - **Unlimited**: the unlimited mode.
2540
+ */
2541
+ creditSpecification: string | ros.IResolvable | undefined;
2378
2542
  /**
2379
2543
  * @Property dedicatedHostId: which dedicated host will be deployed
2380
2544
  */
@@ -2383,6 +2547,10 @@ export declare class RosInstance extends ros.RosResource {
2383
2547
  * @Property deletionProtection: Whether an instance can be released manually through the console or API, deletion protection only support postPaid instance
2384
2548
  */
2385
2549
  deletionProtection: boolean | ros.IResolvable | undefined;
2550
+ /**
2551
+ * @Property deploymentSetGroupNo: The number of the deployment set group to which to deploy the instance. If the deployment set specified by **DeploymentSetId** uses the high availability group strategy (AvailabilityGroup), you can use **DeploymentSetGroupNo** to specify a deployment set group in the deployment set. Valid values: 1 to 7.
2552
+ */
2553
+ deploymentSetGroupNo: number | ros.IResolvable | undefined;
2386
2554
  /**
2387
2555
  * @Property deploymentSetId: Deployment set ID.
2388
2556
  */
@@ -2404,6 +2572,30 @@ export declare class RosInstance extends ros.RosResource {
2404
2572
  * @Property hpcClusterId: The HPC cluster ID to which the instance belongs.
2405
2573
  */
2406
2574
  hpcClusterId: string | ros.IResolvable | undefined;
2575
+ /**
2576
+ * @Property httpEndpoint: Specifies whether the access channel is enabled for instance metadata. Valid values:
2577
+ * - **enabled**
2578
+ * - **disabled**
2579
+ * Default value: **enabled**.
2580
+ */
2581
+ httpEndpoint: string | ros.IResolvable | undefined;
2582
+ /**
2583
+ * @Property httpTokens: Specifies whether the security hardening mode (IMDSv2) is forcefully used to access instance metadata. Valid values:
2584
+ * - **optional**: does not forcefully use the security-enhanced mode (IMDSv2).
2585
+ * - **required**: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
2586
+ * Default value: **optional**.
2587
+ */
2588
+ httpTokens: string | ros.IResolvable | undefined;
2589
+ /**
2590
+ * @Property imageFamily: The name of the image family. You can set this parameter to obtain the latest available custom image from the specified image family to create the instance.
2591
+ * - **ImageFamily** must be empty if **ImageId** is specified.
2592
+ * - **ImageFamily** can be specified if **ImageId** is not specified.
2593
+ */
2594
+ imageFamily: string | ros.IResolvable | undefined;
2595
+ /**
2596
+ * @Property imageId: Image ID to create ecs instance.
2597
+ */
2598
+ imageId: string | ros.IResolvable | undefined;
2407
2599
  /**
2408
2600
  * @Property instanceChargeType: Instance Charge type, allowed value: Prepaid and Postpaid. If specified Prepaid, please ensure you have sufficient balance in your account. Or instance creation will be failure. Default value is Postpaid.
2409
2601
  */
@@ -2441,13 +2633,17 @@ export declare class RosInstance extends ros.RosResource {
2441
2633
  */
2442
2634
  period: number | ros.IResolvable | undefined;
2443
2635
  /**
2444
- * @Property periodUnit: Unit of prepaid time period, it could be Week/Month/Year. Default value is Month.
2636
+ * @Property periodUnit: Unit of prepaid time period, it could be Week\/Month\/Year. Default value is Month.
2445
2637
  */
2446
2638
  periodUnit: string | ros.IResolvable | undefined;
2447
2639
  /**
2448
2640
  * @Property privateIpAddress: Private IP for the instance created. Only works for VPC instance and cannot duplicated with existing instance.
2449
2641
  */
2450
2642
  privateIpAddress: string | ros.IResolvable | undefined;
2643
+ /**
2644
+ * @Property privatePoolOptions: The options of the private pool.
2645
+ */
2646
+ privatePoolOptions: RosInstance.PrivatePoolOptionsProperty | ros.IResolvable | undefined;
2451
2647
  /**
2452
2648
  * @Property ramRoleName: Instance RAM role name. The name is provided and maintained by Resource Access Management (RAM) and can be queried using ListRoles. For more information, see RAM API CreateRole and ListRoles.
2453
2649
  */
@@ -2487,6 +2683,14 @@ export declare class RosInstance extends ros.RosResource {
2487
2683
  * @Property spotStrategy: The spot strategy of a Pay-As-You-Go instance, and it takes effect only when parameter InstanceChargeType is PostPaid. Value range: "NoSpot: A regular Pay-As-You-Go instance", "SpotWithPriceLimit: A price threshold for a spot instance, ""SpotAsPriceGo: A price that is based on the highest Pay-As-You-Go instance. "Default value: NoSpot.
2488
2684
  */
2489
2685
  spotStrategy: string | ros.IResolvable | undefined;
2686
+ /**
2687
+ * @Property storageSetId: The storage set ID.
2688
+ */
2689
+ storageSetId: string | ros.IResolvable | undefined;
2690
+ /**
2691
+ * @Property storageSetPartitionNumber: The maximum number of partitions in the storage set. The value must be greater than or equal to 2.
2692
+ */
2693
+ storageSetPartitionNumber: number | ros.IResolvable | undefined;
2490
2694
  /**
2491
2695
  * @Property systemDiskCategory: Category of system disk. Default is cloud_efficiency. support cloud|cloud_efficiency|cloud_ssd|cloud_essd|ephemeral_ssd|cloud_auto|cloud_essd_entry
2492
2696
  */
@@ -2500,7 +2704,7 @@ export declare class RosInstance extends ros.RosResource {
2500
2704
  */
2501
2705
  systemDiskDiskName: string | ros.IResolvable | undefined;
2502
2706
  /**
2503
- * @Property systemDiskPerformanceLevel: The performance level of the enhanced SSD used as the system disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read/write IOPS.
2707
+ * @Property systemDiskPerformanceLevel: The performance level of the enhanced SSD used as the system disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read\/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read\/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read\/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read\/write IOPS.
2504
2708
  */
2505
2709
  systemDiskPerformanceLevel: string | ros.IResolvable | undefined;
2506
2710
  /**
@@ -2511,6 +2715,17 @@ export declare class RosInstance extends ros.RosResource {
2511
2715
  * @Property tags: Tags to attach to instance. Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.
2512
2716
  */
2513
2717
  tags: RosInstance.TagsProperty[] | undefined;
2718
+ /**
2719
+ * @Property tenancy: Specifies whether to create the instance on a dedicated host. Valid values:
2720
+ * - **default**: creates the instance on a non-dedicated host.
2721
+ * - **host**: creates the instance on a dedicated host. If you do not specify **DedicatedHostId**, Alibaba Cloud selects a dedicated host for the instance.
2722
+ * Default value: **default**.
2723
+ */
2724
+ tenancy: string | ros.IResolvable | undefined;
2725
+ /**
2726
+ * @Property useAdditionalService: Specifies whether to use the system configurations for virtual machines provided by Alibaba Cloud. System configurations for Windows: NTP and KMS. System configurations for Linux: NTP and YUM.
2727
+ */
2728
+ useAdditionalService: boolean | ros.IResolvable | undefined;
2514
2729
  /**
2515
2730
  * @Property userData: User data to pass to instance. [1, 16KB] characters.User data should not be base64 encoded. If you want to pass base64 encoded string to the property, use function Fn::Base64Decode to decode the base64 string first.
2516
2731
  */
@@ -2534,8 +2749,6 @@ export declare class RosInstance extends ros.RosResource {
2534
2749
  */
2535
2750
  zoneIds: Array<string | ros.IResolvable> | ros.IResolvable | undefined;
2536
2751
  /**
2537
- * Create a new `ALIYUN::ECS::Instance`.
2538
- *
2539
2752
  * @param scope - scope in which this resource is defined
2540
2753
  * @param id - scoped id of the resource
2541
2754
  * @param props - resource properties
@@ -2568,11 +2781,11 @@ export declare namespace RosInstance {
2568
2781
  */
2569
2782
  readonly description?: string | ros.IResolvable;
2570
2783
  /**
2571
- * @Property device: The device where the volume is exposed on the instance. could be /dev/xvd[a-z]. If not specification, will use default value.
2784
+ * @Property device: The device where the volume is exposed on the instance. could be \/dev\/xvd[a-z]. If not specification, will use default value.
2572
2785
  */
2573
2786
  readonly device?: string | ros.IResolvable;
2574
2787
  /**
2575
- * @Property performanceLevel: The performance level of the enhanced SSD used as the Nth data disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read/write IOPS.
2788
+ * @Property performanceLevel: The performance level of the enhanced SSD used as the Nth data disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read\/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read\/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read\/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read\/write IOPS.
2576
2789
  */
2577
2790
  readonly performanceLevel?: string | ros.IResolvable;
2578
2791
  /**
@@ -2585,6 +2798,29 @@ export declare namespace RosInstance {
2585
2798
  readonly diskName?: string | ros.IResolvable;
2586
2799
  }
2587
2800
  }
2801
+ export declare namespace RosInstance {
2802
+ /**
2803
+ * @stability external
2804
+ */
2805
+ interface PrivatePoolOptionsProperty {
2806
+ /**
2807
+ * @Property matchCriteria: The type of the private pool to use to create the instance. A private pool is generated when an elasticity assurance or a capacity reservation takes effect. You can select a private pool when you create an instance. Valid values:
2808
+ * - **Open**: open private pool. The system selects a matching open private pool to create the instance. If no matching private pools are found, resources in the public pool are used. When you set this parameter to Open, you can leave PrivatePoolOptions.Id empty.
2809
+ * - **Target**: specified private pool. The system uses the capacity in a specified private pool to create the instance. If the specified private pool is unavailable, the instance cannot be created. If you set this parameter to Target, you must specify PrivatePoolOptions.Id.
2810
+ * - **None**: no private pool. The capacity in private pools is not used.
2811
+ * Default value: **None**.
2812
+ * In the following scenarios, PrivatePoolOptions.MatchCriteria can be set only to **None** or left empty:
2813
+ * - Create a preemptible instance.
2814
+ * - Create an instance in the classic network.
2815
+ * - Create an instance on a dedicated host.
2816
+ */
2817
+ readonly matchCriteria?: string | ros.IResolvable;
2818
+ /**
2819
+ * @Property id: The private pool ID. The ID of a private pool is the same as that of the elasticity assurance or capacity reservation for which the private pool is generated.
2820
+ */
2821
+ readonly id?: string | ros.IResolvable;
2822
+ }
2823
+ }
2588
2824
  export declare namespace RosInstance {
2589
2825
  /**
2590
2826
  * @stability external
@@ -2601,7 +2837,8 @@ export declare namespace RosInstance {
2601
2837
  }
2602
2838
  }
2603
2839
  /**
2604
- * Properties for defining a `ALIYUN::ECS::InstanceClone`
2840
+ * Properties for defining a `RosInstanceClone`.
2841
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-instanceclone
2605
2842
  */
2606
2843
  export interface RosInstanceCloneProps {
2607
2844
  /**
@@ -2689,17 +2926,15 @@ export interface RosInstanceCloneProps {
2689
2926
  readonly zoneId?: string | ros.IResolvable;
2690
2927
  }
2691
2928
  /**
2692
- * A ROS template type: `ALIYUN::ECS::InstanceClone`
2929
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::InstanceClone`, which is used to clone an Elastic Compute Service (ECS) instance.
2930
+ * @Note This class does not contain additional functions, so it is recommended to use the `InstanceClone` class instead of this class for a more convenient development experience.
2931
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-instanceclone
2693
2932
  */
2694
2933
  export declare class RosInstanceClone extends ros.RosResource {
2695
2934
  /**
2696
2935
  * The resource type name for this resource class.
2697
2936
  */
2698
2937
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::InstanceClone";
2699
- /**
2700
- * A factory method that creates a new instance of this class from an object
2701
- * containing the properties of this ROS resource.
2702
- */
2703
2938
  /**
2704
2939
  * @Attribute HostName: Host name of created instance.
2705
2940
  */
@@ -2817,8 +3052,6 @@ export declare class RosInstanceClone extends ros.RosResource {
2817
3052
  */
2818
3053
  zoneId: string | ros.IResolvable | undefined;
2819
3054
  /**
2820
- * Create a new `ALIYUN::ECS::InstanceClone`.
2821
- *
2822
3055
  * @param scope - scope in which this resource is defined
2823
3056
  * @param id - scoped id of the resource
2824
3057
  * @param props - resource properties
@@ -2851,11 +3084,11 @@ export declare namespace RosInstanceClone {
2851
3084
  */
2852
3085
  readonly description?: string | ros.IResolvable;
2853
3086
  /**
2854
- * @Property device: The device where the volume is exposed on the instance. could be /dev/xvd[a-z]. If not specification, will use default value.
3087
+ * @Property device: The device where the volume is exposed on the instance. could be \/dev\/xvd[a-z]. If not specification, will use default value.
2855
3088
  */
2856
3089
  readonly device?: string | ros.IResolvable;
2857
3090
  /**
2858
- * @Property performanceLevel: The performance level of the enhanced SSD used as the Nth data disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read/write IOPS.
3091
+ * @Property performanceLevel: The performance level of the enhanced SSD used as the Nth data disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read\/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read\/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read\/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read\/write IOPS.
2859
3092
  */
2860
3093
  readonly performanceLevel?: string | ros.IResolvable;
2861
3094
  /**
@@ -2884,13 +3117,10 @@ export declare namespace RosInstanceClone {
2884
3117
  }
2885
3118
  }
2886
3119
  /**
2887
- * Properties for defining a `ALIYUN::ECS::InstanceGroup`
3120
+ * Properties for defining a `RosInstanceGroup`.
3121
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-instancegroup
2888
3122
  */
2889
3123
  export interface RosInstanceGroupProps {
2890
- /**
2891
- * @Property imageId: Image ID to create ecs instance.
2892
- */
2893
- readonly imageId: string | ros.IResolvable;
2894
3124
  /**
2895
3125
  * @Property instanceType: Ecs instance supported instance type, make sure it should be correct.
2896
3126
  */
@@ -2899,6 +3129,13 @@ export interface RosInstanceGroupProps {
2899
3129
  * @Property maxAmount: Max number of instances to create, should be bigger than 'MinAmount' and smaller than 1000.
2900
3130
  */
2901
3131
  readonly maxAmount: number | ros.IResolvable;
3132
+ /**
3133
+ * @Property affinity: Specifies whether to associate the instance on a dedicated host with the dedicated host. Valid values:
3134
+ * - **default**: does not associate the ECS instance with the dedicated host. When you start an instance that was stopped in economical mode, the instance is automatically deployed to another dedicated host in the automatic deployment resource pool if the available resources of the original dedicated host are insufficient.
3135
+ * - **host**: associates the ECS instance with the dedicated host. When you start an instance that was stopped in economical mode, the instance remains on the original dedicated host. If the available resources of the original dedicated host are insufficient, the instance cannot start.
3136
+ * Default value: **default**.
3137
+ */
3138
+ readonly affinity?: string | ros.IResolvable;
2902
3139
  /**
2903
3140
  * @Property allocatePublicIp: The public ip for ecs instance, if properties is true, will allocate public ip. If property InternetMaxBandwidthOut set to 0, it will not assign public ip.
2904
3141
  */
@@ -2915,6 +3152,12 @@ export interface RosInstanceGroupProps {
2915
3152
  * @Property autoRenewPeriod: The time period of auto renew. When the parameter InstanceChargeType is PrePaid, it will take effect.It could be 1, 2, 3, 6, 12, 24, 36, 48, 60. Default value is 1.Old instances will not be changed.
2916
3153
  */
2917
3154
  readonly autoRenewPeriod?: number | ros.IResolvable;
3155
+ /**
3156
+ * @Property creditSpecification: The performance mode of the burstable instance. Valid values:
3157
+ * - **Standard**: the standard mode.
3158
+ * - **Unlimited**: the unlimited mode.
3159
+ */
3160
+ readonly creditSpecification?: string | ros.IResolvable;
2918
3161
  /**
2919
3162
  * @Property dedicatedHostId: which dedicated host will be deployed
2920
3163
  */
@@ -2923,6 +3166,10 @@ export interface RosInstanceGroupProps {
2923
3166
  * @Property deletionProtection: Whether an instance can be released manually through the console or API, deletion protection only support postPaid instance
2924
3167
  */
2925
3168
  readonly deletionProtection?: boolean | ros.IResolvable;
3169
+ /**
3170
+ * @Property deploymentSetGroupNo: The number of the deployment set group to which to deploy the instance. If the deployment set specified by **DeploymentSetId** uses the high availability group strategy (AvailabilityGroup), you can use **DeploymentSetGroupNo** to specify a deployment set group in the deployment set. Valid values: 1 to 7.
3171
+ */
3172
+ readonly deploymentSetGroupNo?: number | ros.IResolvable;
2926
3173
  /**
2927
3174
  * @Property deploymentSetId: Deployment set ID. The change of the property does not affect existing instances.
2928
3175
  */
@@ -2958,6 +3205,30 @@ export interface RosInstanceGroupProps {
2958
3205
  * @Property hpcClusterId: The HPC cluster ID to which the instance belongs.The change of the property does not affect existing instances.
2959
3206
  */
2960
3207
  readonly hpcClusterId?: string | ros.IResolvable;
3208
+ /**
3209
+ * @Property httpEndpoint: Specifies whether the access channel is enabled for instance metadata. Valid values:
3210
+ * - **enabled**
3211
+ * - **disabled**
3212
+ * Default value: **enabled**.
3213
+ */
3214
+ readonly httpEndpoint?: string | ros.IResolvable;
3215
+ /**
3216
+ * @Property httpTokens: Specifies whether the security hardening mode (IMDSv2) is forcefully used to access instance metadata. Valid values:
3217
+ * - **optional**: does not forcefully use the security-enhanced mode (IMDSv2).
3218
+ * - **required**: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
3219
+ * Default value: **optional**.
3220
+ */
3221
+ readonly httpTokens?: string | ros.IResolvable;
3222
+ /**
3223
+ * @Property imageFamily: The name of the image family. You can set this parameter to obtain the latest available custom image from the specified image family to create the instance.
3224
+ * - **ImageFamily** must be empty if **ImageId** is specified.
3225
+ * - **ImageFamily** can be specified if **ImageId** is not specified.
3226
+ */
3227
+ readonly imageFamily?: string | ros.IResolvable;
3228
+ /**
3229
+ * @Property imageId: Image ID to create ecs instance.
3230
+ */
3231
+ readonly imageId?: string | ros.IResolvable;
2961
3232
  /**
2962
3233
  * @Property instanceChargeType: Instance Charge type, allowed value: Prepaid and Postpaid. If specified Prepaid, please ensure you have sufficient balance in your account. Or instance creation will be failure. Default value is Postpaid.Old instances will not be changed.
2963
3234
  */
@@ -3033,13 +3304,17 @@ export interface RosInstanceGroupProps {
3033
3304
  */
3034
3305
  readonly period?: number | ros.IResolvable;
3035
3306
  /**
3036
- * @Property periodUnit: Unit of prepaid time period, it could be Week/Month/Year. Default value is Month.Old instances will not be changed.
3307
+ * @Property periodUnit: Unit of prepaid time period, it could be Week\/Month\/Year. Default value is Month.Old instances will not be changed.
3037
3308
  */
3038
3309
  readonly periodUnit?: string | ros.IResolvable;
3039
3310
  /**
3040
3311
  * @Property privateIpAddress: Private IP for the instance created. Only works for VPC instance and cannot duplicated with existing instance.
3041
3312
  */
3042
3313
  readonly privateIpAddress?: string | ros.IResolvable;
3314
+ /**
3315
+ * @Property privatePoolOptions: The options of the private pool.
3316
+ */
3317
+ readonly privatePoolOptions?: RosInstanceGroup.PrivatePoolOptionsProperty | ros.IResolvable;
3043
3318
  /**
3044
3319
  * @Property ramRoleName: Instance RAM role name. The name is provided and maintained by Resource Access Management (RAM) and can be queried using ListRoles. For more information, see RAM API CreateRole and ListRoles.
3045
3320
  */
@@ -3059,7 +3334,7 @@ export interface RosInstanceGroupProps {
3059
3334
  /**
3060
3335
  * @Property securityGroupIds: The IDs of security groups N to which the instance belongs. The valid values of N are based on the maximum number of security groups to which an instance can belong. For more information, see Security group limits.Note: You cannot specify both SecurityGroupId and SecurityGroupIds at the same time.
3061
3336
  */
3062
- readonly securityGroupIds?: Array<any | ros.IResolvable> | ros.IResolvable;
3337
+ readonly securityGroupIds?: Array<string | ros.IResolvable> | ros.IResolvable;
3063
3338
  /**
3064
3339
  * @Property spotDuration: The protection period of the preemptible instance. Unit: hours. Valid values: 0, 1, 2, 3, 4, 5, and 6.
3065
3340
  * Protection periods of 2, 3, 4, 5, and 6 hours are in invitational preview. If you want to set this parameter to one of these values, submit a ticket.
@@ -3079,6 +3354,14 @@ export interface RosInstanceGroupProps {
3079
3354
  * @Property spotStrategy: The spot strategy of a Pay-As-You-Go instance, and it takes effect only when parameter InstanceChargeType is PostPaid. Value range: "NoSpot: A regular Pay-As-You-Go instance", "SpotWithPriceLimit: A price threshold for a spot instance, ""SpotAsPriceGo: A price that is based on the highest Pay-As-You-Go instance. "Default value: NoSpot.
3080
3355
  */
3081
3356
  readonly spotStrategy?: string | ros.IResolvable;
3357
+ /**
3358
+ * @Property storageSetId: The storage set ID.
3359
+ */
3360
+ readonly storageSetId?: string | ros.IResolvable;
3361
+ /**
3362
+ * @Property storageSetPartitionNumber: The maximum number of partitions in the storage set. The value must be greater than or equal to 2.
3363
+ */
3364
+ readonly storageSetPartitionNumber?: number | ros.IResolvable;
3082
3365
  /**
3083
3366
  * @Property systemDiskAutoSnapshotPolicyId: Auto snapshot policy ID.
3084
3367
  */
@@ -3118,7 +3401,7 @@ export interface RosInstanceGroupProps {
3118
3401
  */
3119
3402
  readonly systemDiskKmsKeyId?: string | ros.IResolvable;
3120
3403
  /**
3121
- * @Property systemDiskPerformanceLevel: The performance level of the enhanced SSD used as the system disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read/write IOPS.
3404
+ * @Property systemDiskPerformanceLevel: The performance level of the enhanced SSD used as the system disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read\/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read\/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read\/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read\/write IOPS.
3122
3405
  */
3123
3406
  readonly systemDiskPerformanceLevel?: string | ros.IResolvable;
3124
3407
  /**
@@ -3137,6 +3420,13 @@ export interface RosInstanceGroupProps {
3137
3420
  * @Property tags: Tags to attach to instance. Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.
3138
3421
  */
3139
3422
  readonly tags?: RosInstanceGroup.TagsProperty[];
3423
+ /**
3424
+ * @Property tenancy: Specifies whether to create the instance on a dedicated host. Valid values:
3425
+ * - **default**: creates the instance on a non-dedicated host.
3426
+ * - **host**: creates the instance on a dedicated host. If you do not specify **DedicatedHostId**, Alibaba Cloud selects a dedicated host for the instance.
3427
+ * Default value: **default**.
3428
+ */
3429
+ readonly tenancy?: string | ros.IResolvable;
3140
3430
  /**
3141
3431
  * @Property updatePolicy: Specify the policy at update.
3142
3432
  * The value can be 'ForNewInstances' or 'ForAllInstances'.
@@ -3144,6 +3434,10 @@ export interface RosInstanceGroupProps {
3144
3434
  * The default is 'ForNewInstances'
3145
3435
  */
3146
3436
  readonly updatePolicy?: string | ros.IResolvable;
3437
+ /**
3438
+ * @Property useAdditionalService: Specifies whether to use the system configurations for virtual machines provided by Alibaba Cloud. System configurations for Windows: NTP and KMS. System configurations for Linux: NTP and YUM.
3439
+ */
3440
+ readonly useAdditionalService?: boolean | ros.IResolvable;
3147
3441
  /**
3148
3442
  * @Property userData: User data to pass to instance. [1, 16KB] characters.User data should not be base64 encoded. If you want to pass base64 encoded string to the property, use function Fn::Base64Decode to decode the base64 string first.
3149
3443
  */
@@ -3168,17 +3462,15 @@ export interface RosInstanceGroupProps {
3168
3462
  readonly zoneIds?: Array<string | ros.IResolvable> | ros.IResolvable;
3169
3463
  }
3170
3464
  /**
3171
- * A ROS template type: `ALIYUN::ECS::InstanceGroup`
3465
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::InstanceGroup`, which is used to create a group of Elastic Compute Service (ECS) instances that have the same configurations.
3466
+ * @Note This class does not contain additional functions, so it is recommended to use the `InstanceGroup` class instead of this class for a more convenient development experience.
3467
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-instancegroup
3172
3468
  */
3173
3469
  export declare class RosInstanceGroup extends ros.RosResource {
3174
3470
  /**
3175
3471
  * The resource type name for this resource class.
3176
3472
  */
3177
3473
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::InstanceGroup";
3178
- /**
3179
- * A factory method that creates a new instance of this class from an object
3180
- * containing the properties of this ROS resource.
3181
- */
3182
3474
  /**
3183
3475
  * @Attribute HostNames: Host names of created instances.
3184
3476
  */
@@ -3216,10 +3508,6 @@ export declare class RosInstanceGroup extends ros.RosResource {
3216
3508
  */
3217
3509
  readonly attrZoneIds: ros.IResolvable;
3218
3510
  enableResourcePropertyConstraint: boolean;
3219
- /**
3220
- * @Property imageId: Image ID to create ecs instance.
3221
- */
3222
- imageId: string | ros.IResolvable;
3223
3511
  /**
3224
3512
  * @Property instanceType: Ecs instance supported instance type, make sure it should be correct.
3225
3513
  */
@@ -3228,6 +3516,13 @@ export declare class RosInstanceGroup extends ros.RosResource {
3228
3516
  * @Property maxAmount: Max number of instances to create, should be bigger than 'MinAmount' and smaller than 1000.
3229
3517
  */
3230
3518
  maxAmount: number | ros.IResolvable;
3519
+ /**
3520
+ * @Property affinity: Specifies whether to associate the instance on a dedicated host with the dedicated host. Valid values:
3521
+ * - **default**: does not associate the ECS instance with the dedicated host. When you start an instance that was stopped in economical mode, the instance is automatically deployed to another dedicated host in the automatic deployment resource pool if the available resources of the original dedicated host are insufficient.
3522
+ * - **host**: associates the ECS instance with the dedicated host. When you start an instance that was stopped in economical mode, the instance remains on the original dedicated host. If the available resources of the original dedicated host are insufficient, the instance cannot start.
3523
+ * Default value: **default**.
3524
+ */
3525
+ affinity: string | ros.IResolvable | undefined;
3231
3526
  /**
3232
3527
  * @Property allocatePublicIp: The public ip for ecs instance, if properties is true, will allocate public ip. If property InternetMaxBandwidthOut set to 0, it will not assign public ip.
3233
3528
  */
@@ -3244,6 +3539,12 @@ export declare class RosInstanceGroup extends ros.RosResource {
3244
3539
  * @Property autoRenewPeriod: The time period of auto renew. When the parameter InstanceChargeType is PrePaid, it will take effect.It could be 1, 2, 3, 6, 12, 24, 36, 48, 60. Default value is 1.Old instances will not be changed.
3245
3540
  */
3246
3541
  autoRenewPeriod: number | ros.IResolvable | undefined;
3542
+ /**
3543
+ * @Property creditSpecification: The performance mode of the burstable instance. Valid values:
3544
+ * - **Standard**: the standard mode.
3545
+ * - **Unlimited**: the unlimited mode.
3546
+ */
3547
+ creditSpecification: string | ros.IResolvable | undefined;
3247
3548
  /**
3248
3549
  * @Property dedicatedHostId: which dedicated host will be deployed
3249
3550
  */
@@ -3252,6 +3553,10 @@ export declare class RosInstanceGroup extends ros.RosResource {
3252
3553
  * @Property deletionProtection: Whether an instance can be released manually through the console or API, deletion protection only support postPaid instance
3253
3554
  */
3254
3555
  deletionProtection: boolean | ros.IResolvable | undefined;
3556
+ /**
3557
+ * @Property deploymentSetGroupNo: The number of the deployment set group to which to deploy the instance. If the deployment set specified by **DeploymentSetId** uses the high availability group strategy (AvailabilityGroup), you can use **DeploymentSetGroupNo** to specify a deployment set group in the deployment set. Valid values: 1 to 7.
3558
+ */
3559
+ deploymentSetGroupNo: number | ros.IResolvable | undefined;
3255
3560
  /**
3256
3561
  * @Property deploymentSetId: Deployment set ID. The change of the property does not affect existing instances.
3257
3562
  */
@@ -3287,6 +3592,30 @@ export declare class RosInstanceGroup extends ros.RosResource {
3287
3592
  * @Property hpcClusterId: The HPC cluster ID to which the instance belongs.The change of the property does not affect existing instances.
3288
3593
  */
3289
3594
  hpcClusterId: string | ros.IResolvable | undefined;
3595
+ /**
3596
+ * @Property httpEndpoint: Specifies whether the access channel is enabled for instance metadata. Valid values:
3597
+ * - **enabled**
3598
+ * - **disabled**
3599
+ * Default value: **enabled**.
3600
+ */
3601
+ httpEndpoint: string | ros.IResolvable | undefined;
3602
+ /**
3603
+ * @Property httpTokens: Specifies whether the security hardening mode (IMDSv2) is forcefully used to access instance metadata. Valid values:
3604
+ * - **optional**: does not forcefully use the security-enhanced mode (IMDSv2).
3605
+ * - **required**: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
3606
+ * Default value: **optional**.
3607
+ */
3608
+ httpTokens: string | ros.IResolvable | undefined;
3609
+ /**
3610
+ * @Property imageFamily: The name of the image family. You can set this parameter to obtain the latest available custom image from the specified image family to create the instance.
3611
+ * - **ImageFamily** must be empty if **ImageId** is specified.
3612
+ * - **ImageFamily** can be specified if **ImageId** is not specified.
3613
+ */
3614
+ imageFamily: string | ros.IResolvable | undefined;
3615
+ /**
3616
+ * @Property imageId: Image ID to create ecs instance.
3617
+ */
3618
+ imageId: string | ros.IResolvable | undefined;
3290
3619
  /**
3291
3620
  * @Property instanceChargeType: Instance Charge type, allowed value: Prepaid and Postpaid. If specified Prepaid, please ensure you have sufficient balance in your account. Or instance creation will be failure. Default value is Postpaid.Old instances will not be changed.
3292
3621
  */
@@ -3362,13 +3691,17 @@ export declare class RosInstanceGroup extends ros.RosResource {
3362
3691
  */
3363
3692
  period: number | ros.IResolvable | undefined;
3364
3693
  /**
3365
- * @Property periodUnit: Unit of prepaid time period, it could be Week/Month/Year. Default value is Month.Old instances will not be changed.
3694
+ * @Property periodUnit: Unit of prepaid time period, it could be Week\/Month\/Year. Default value is Month.Old instances will not be changed.
3366
3695
  */
3367
3696
  periodUnit: string | ros.IResolvable | undefined;
3368
3697
  /**
3369
3698
  * @Property privateIpAddress: Private IP for the instance created. Only works for VPC instance and cannot duplicated with existing instance.
3370
3699
  */
3371
3700
  privateIpAddress: string | ros.IResolvable | undefined;
3701
+ /**
3702
+ * @Property privatePoolOptions: The options of the private pool.
3703
+ */
3704
+ privatePoolOptions: RosInstanceGroup.PrivatePoolOptionsProperty | ros.IResolvable | undefined;
3372
3705
  /**
3373
3706
  * @Property ramRoleName: Instance RAM role name. The name is provided and maintained by Resource Access Management (RAM) and can be queried using ListRoles. For more information, see RAM API CreateRole and ListRoles.
3374
3707
  */
@@ -3388,7 +3721,7 @@ export declare class RosInstanceGroup extends ros.RosResource {
3388
3721
  /**
3389
3722
  * @Property securityGroupIds: The IDs of security groups N to which the instance belongs. The valid values of N are based on the maximum number of security groups to which an instance can belong. For more information, see Security group limits.Note: You cannot specify both SecurityGroupId and SecurityGroupIds at the same time.
3390
3723
  */
3391
- securityGroupIds: Array<any | ros.IResolvable> | ros.IResolvable | undefined;
3724
+ securityGroupIds: Array<string | ros.IResolvable> | ros.IResolvable | undefined;
3392
3725
  /**
3393
3726
  * @Property spotDuration: The protection period of the preemptible instance. Unit: hours. Valid values: 0, 1, 2, 3, 4, 5, and 6.
3394
3727
  * Protection periods of 2, 3, 4, 5, and 6 hours are in invitational preview. If you want to set this parameter to one of these values, submit a ticket.
@@ -3408,6 +3741,14 @@ export declare class RosInstanceGroup extends ros.RosResource {
3408
3741
  * @Property spotStrategy: The spot strategy of a Pay-As-You-Go instance, and it takes effect only when parameter InstanceChargeType is PostPaid. Value range: "NoSpot: A regular Pay-As-You-Go instance", "SpotWithPriceLimit: A price threshold for a spot instance, ""SpotAsPriceGo: A price that is based on the highest Pay-As-You-Go instance. "Default value: NoSpot.
3409
3742
  */
3410
3743
  spotStrategy: string | ros.IResolvable | undefined;
3744
+ /**
3745
+ * @Property storageSetId: The storage set ID.
3746
+ */
3747
+ storageSetId: string | ros.IResolvable | undefined;
3748
+ /**
3749
+ * @Property storageSetPartitionNumber: The maximum number of partitions in the storage set. The value must be greater than or equal to 2.
3750
+ */
3751
+ storageSetPartitionNumber: number | ros.IResolvable | undefined;
3411
3752
  /**
3412
3753
  * @Property systemDiskAutoSnapshotPolicyId: Auto snapshot policy ID.
3413
3754
  */
@@ -3447,7 +3788,7 @@ export declare class RosInstanceGroup extends ros.RosResource {
3447
3788
  */
3448
3789
  systemDiskKmsKeyId: string | ros.IResolvable | undefined;
3449
3790
  /**
3450
- * @Property systemDiskPerformanceLevel: The performance level of the enhanced SSD used as the system disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read/write IOPS.
3791
+ * @Property systemDiskPerformanceLevel: The performance level of the enhanced SSD used as the system disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read\/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read\/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read\/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read\/write IOPS.
3451
3792
  */
3452
3793
  systemDiskPerformanceLevel: string | ros.IResolvable | undefined;
3453
3794
  /**
@@ -3466,6 +3807,13 @@ export declare class RosInstanceGroup extends ros.RosResource {
3466
3807
  * @Property tags: Tags to attach to instance. Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.
3467
3808
  */
3468
3809
  tags: RosInstanceGroup.TagsProperty[] | undefined;
3810
+ /**
3811
+ * @Property tenancy: Specifies whether to create the instance on a dedicated host. Valid values:
3812
+ * - **default**: creates the instance on a non-dedicated host.
3813
+ * - **host**: creates the instance on a dedicated host. If you do not specify **DedicatedHostId**, Alibaba Cloud selects a dedicated host for the instance.
3814
+ * Default value: **default**.
3815
+ */
3816
+ tenancy: string | ros.IResolvable | undefined;
3469
3817
  /**
3470
3818
  * @Property updatePolicy: Specify the policy at update.
3471
3819
  * The value can be 'ForNewInstances' or 'ForAllInstances'.
@@ -3473,6 +3821,10 @@ export declare class RosInstanceGroup extends ros.RosResource {
3473
3821
  * The default is 'ForNewInstances'
3474
3822
  */
3475
3823
  updatePolicy: string | ros.IResolvable | undefined;
3824
+ /**
3825
+ * @Property useAdditionalService: Specifies whether to use the system configurations for virtual machines provided by Alibaba Cloud. System configurations for Windows: NTP and KMS. System configurations for Linux: NTP and YUM.
3826
+ */
3827
+ useAdditionalService: boolean | ros.IResolvable | undefined;
3476
3828
  /**
3477
3829
  * @Property userData: User data to pass to instance. [1, 16KB] characters.User data should not be base64 encoded. If you want to pass base64 encoded string to the property, use function Fn::Base64Decode to decode the base64 string first.
3478
3830
  */
@@ -3496,8 +3848,6 @@ export declare class RosInstanceGroup extends ros.RosResource {
3496
3848
  */
3497
3849
  zoneIds: Array<string | ros.IResolvable> | ros.IResolvable | undefined;
3498
3850
  /**
3499
- * Create a new `ALIYUN::ECS::InstanceGroup`.
3500
- *
3501
3851
  * @param scope - scope in which this resource is defined
3502
3852
  * @param id - scoped id of the resource
3503
3853
  * @param props - resource properties
@@ -3545,11 +3895,11 @@ export declare namespace RosInstanceGroup {
3545
3895
  */
3546
3896
  readonly encrypted?: string | ros.IResolvable;
3547
3897
  /**
3548
- * @Property device: The device where the volume is exposed on the instance. could be /dev/xvd[a-z]. If not specification, will use default value.
3898
+ * @Property device: The device where the volume is exposed on the instance. could be \/dev\/xvd[a-z]. If not specification, will use default value.
3549
3899
  */
3550
3900
  readonly device?: string | ros.IResolvable;
3551
3901
  /**
3552
- * @Property performanceLevel: The performance level of the enhanced SSD used as the Nth data disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read/write IOPS.
3902
+ * @Property performanceLevel: The performance level of the enhanced SSD used as the Nth data disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read\/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read\/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read\/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read\/write IOPS.
3553
3903
  */
3554
3904
  readonly performanceLevel?: string | ros.IResolvable;
3555
3905
  /**
@@ -3626,6 +3976,29 @@ export declare namespace RosInstanceGroup {
3626
3976
  readonly securityGroupIds?: Array<any | ros.IResolvable> | ros.IResolvable;
3627
3977
  }
3628
3978
  }
3979
+ export declare namespace RosInstanceGroup {
3980
+ /**
3981
+ * @stability external
3982
+ */
3983
+ interface PrivatePoolOptionsProperty {
3984
+ /**
3985
+ * @Property matchCriteria: The type of the private pool to use to create the instance. A private pool is generated when an elasticity assurance or a capacity reservation takes effect. You can select a private pool when you create an instance. Valid values:
3986
+ * - **Open**: open private pool. The system selects a matching open private pool to create the instance. If no matching private pools are found, resources in the public pool are used. When you set this parameter to Open, you can leave PrivatePoolOptions.Id empty.
3987
+ * - **Target**: specified private pool. The system uses the capacity in a specified private pool to create the instance. If the specified private pool is unavailable, the instance cannot be created. If you set this parameter to Target, you must specify PrivatePoolOptions.Id.
3988
+ * - **None**: no private pool. The capacity in private pools is not used.
3989
+ * Default value: **None**.
3990
+ * In the following scenarios, PrivatePoolOptions.MatchCriteria can be set only to **None** or left empty:
3991
+ * - Create a preemptible instance.
3992
+ * - Create an instance in the classic network.
3993
+ * - Create an instance on a dedicated host.
3994
+ */
3995
+ readonly matchCriteria?: string | ros.IResolvable;
3996
+ /**
3997
+ * @Property id: The private pool ID. The ID of a private pool is the same as that of the elasticity assurance or capacity reservation for which the private pool is generated.
3998
+ */
3999
+ readonly id?: string | ros.IResolvable;
4000
+ }
4001
+ }
3629
4002
  export declare namespace RosInstanceGroup {
3630
4003
  /**
3631
4004
  * @stability external
@@ -3642,7 +4015,8 @@ export declare namespace RosInstanceGroup {
3642
4015
  }
3643
4016
  }
3644
4017
  /**
3645
- * Properties for defining a `ALIYUN::ECS::InstanceGroupClone`
4018
+ * Properties for defining a `RosInstanceGroupClone`.
4019
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-instancegroupclone
3646
4020
  */
3647
4021
  export interface RosInstanceGroupCloneProps {
3648
4022
  /**
@@ -3765,7 +4139,7 @@ export interface RosInstanceGroupCloneProps {
3765
4139
  */
3766
4140
  readonly period?: number | ros.IResolvable;
3767
4141
  /**
3768
- * @Property periodUnit: Unit of prepaid time period, it could be Week/Month/Year. Default value is Month.Old instances will not be changed.
4142
+ * @Property periodUnit: Unit of prepaid time period, it could be Week\/Month\/Year. Default value is Month.Old instances will not be changed.
3769
4143
  */
3770
4144
  readonly periodUnit?: string | ros.IResolvable;
3771
4145
  /**
@@ -3783,7 +4157,7 @@ export interface RosInstanceGroupCloneProps {
3783
4157
  /**
3784
4158
  * @Property securityGroupIds: The IDs of security groups N to which the instance belongs. The valid values of N are based on the maximum number of security groups to which an instance can belong. For more information, see Security group limits.Note: You cannot specify both SecurityGroupId and SecurityGroupIds at the same time.
3785
4159
  */
3786
- readonly securityGroupIds?: Array<any | ros.IResolvable> | ros.IResolvable;
4160
+ readonly securityGroupIds?: Array<string | ros.IResolvable> | ros.IResolvable;
3787
4161
  /**
3788
4162
  * @Property spotPriceLimit: The hourly price threshold of a instance, and it takes effect only when parameter InstanceChargeType is PostPaid. Three decimals is allowed at most.
3789
4163
  */
@@ -3857,17 +4231,15 @@ export interface RosInstanceGroupCloneProps {
3857
4231
  readonly zoneId?: string | ros.IResolvable;
3858
4232
  }
3859
4233
  /**
3860
- * A ROS template type: `ALIYUN::ECS::InstanceGroupClone`
4234
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::InstanceGroupClone`, which is used to create clones of an Elastic Compute Service (ECS) instance.
4235
+ * @Note This class does not contain additional functions, so it is recommended to use the `InstanceGroupClone` class instead of this class for a more convenient development experience.
4236
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-instancegroupclone
3861
4237
  */
3862
4238
  export declare class RosInstanceGroupClone extends ros.RosResource {
3863
4239
  /**
3864
4240
  * The resource type name for this resource class.
3865
4241
  */
3866
4242
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::InstanceGroupClone";
3867
- /**
3868
- * A factory method that creates a new instance of this class from an object
3869
- * containing the properties of this ROS resource.
3870
- */
3871
4243
  /**
3872
4244
  * @Attribute HostNames: Host names of created instances.
3873
4245
  */
@@ -4025,7 +4397,7 @@ export declare class RosInstanceGroupClone extends ros.RosResource {
4025
4397
  */
4026
4398
  period: number | ros.IResolvable | undefined;
4027
4399
  /**
4028
- * @Property periodUnit: Unit of prepaid time period, it could be Week/Month/Year. Default value is Month.Old instances will not be changed.
4400
+ * @Property periodUnit: Unit of prepaid time period, it could be Week\/Month\/Year. Default value is Month.Old instances will not be changed.
4029
4401
  */
4030
4402
  periodUnit: string | ros.IResolvable | undefined;
4031
4403
  /**
@@ -4043,7 +4415,7 @@ export declare class RosInstanceGroupClone extends ros.RosResource {
4043
4415
  /**
4044
4416
  * @Property securityGroupIds: The IDs of security groups N to which the instance belongs. The valid values of N are based on the maximum number of security groups to which an instance can belong. For more information, see Security group limits.Note: You cannot specify both SecurityGroupId and SecurityGroupIds at the same time.
4045
4417
  */
4046
- securityGroupIds: Array<any | ros.IResolvable> | ros.IResolvable | undefined;
4418
+ securityGroupIds: Array<string | ros.IResolvable> | ros.IResolvable | undefined;
4047
4419
  /**
4048
4420
  * @Property spotPriceLimit: The hourly price threshold of a instance, and it takes effect only when parameter InstanceChargeType is PostPaid. Three decimals is allowed at most.
4049
4421
  */
@@ -4116,8 +4488,6 @@ export declare class RosInstanceGroupClone extends ros.RosResource {
4116
4488
  */
4117
4489
  zoneId: string | ros.IResolvable | undefined;
4118
4490
  /**
4119
- * Create a new `ALIYUN::ECS::InstanceGroupClone`.
4120
- *
4121
4491
  * @param scope - scope in which this resource is defined
4122
4492
  * @param id - scoped id of the resource
4123
4493
  * @param props - resource properties
@@ -4165,11 +4535,11 @@ export declare namespace RosInstanceGroupClone {
4165
4535
  */
4166
4536
  readonly encrypted?: string | ros.IResolvable;
4167
4537
  /**
4168
- * @Property device: The device where the volume is exposed on the instance. could be /dev/xvd[a-z]. If not specification, will use default value.
4538
+ * @Property device: The device where the volume is exposed on the instance. could be \/dev\/xvd[a-z]. If not specification, will use default value.
4169
4539
  */
4170
4540
  readonly device?: string | ros.IResolvable;
4171
4541
  /**
4172
- * @Property performanceLevel: The performance level of the enhanced SSD used as the Nth data disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read/write IOPS.
4542
+ * @Property performanceLevel: The performance level of the enhanced SSD used as the Nth data disk.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read\/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read\/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read\/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read\/write IOPS.
4173
4543
  */
4174
4544
  readonly performanceLevel?: string | ros.IResolvable;
4175
4545
  /**
@@ -4262,7 +4632,8 @@ export declare namespace RosInstanceGroupClone {
4262
4632
  }
4263
4633
  }
4264
4634
  /**
4265
- * Properties for defining a `ALIYUN::ECS::Invocation`
4635
+ * Properties for defining a `RosInvocation`.
4636
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-invocation
4266
4637
  */
4267
4638
  export interface RosInvocationProps {
4268
4639
  /**
@@ -4277,6 +4648,23 @@ export interface RosInvocationProps {
4277
4648
  * @Property commandName: The name of command. Only system commands whose provide is AlibabaCloud are supported
4278
4649
  */
4279
4650
  readonly commandName?: string | ros.IResolvable;
4651
+ /**
4652
+ * @Property containerId: The ID of the container. Only 64-bit hexadecimal strings are supported. You can use container IDs that are prefixed with docker:\/\/, containerd:\/\/, or cri-o:\/\/ to specify container runtimes.
4653
+ * Take note of the following items:
4654
+ * - If you specify this parameter, Cloud Assistant runs scripts in the specified container of the instance.
4655
+ * - If you specify this parameter, make sure that the version of Cloud Assistant Agent installed on Linux instances is 2.2.3.344 or later.- If you specify this parameter, Username that is specified in a request to call this operation and WorkingDir that is specified in a request to call the CreateCommand operation do not take effect. You can run the command only in the default working directory of the container by using the default user of the container.
4656
+ * - If you specify this parameter, only shell scripts can be run in Linux containers. You cannot add a command in the format similar to #!\/usr\/bin\/python at the beginning of a script to specify a script interpreter.
4657
+ */
4658
+ readonly containerId?: string | ros.IResolvable;
4659
+ /**
4660
+ * @Property containerName: The name of the container.
4661
+ * Take note of the following items:
4662
+ * - If you specify this parameter, Cloud Assistant runs scripts in the specified container of the instance.
4663
+ * - If you specify this parameter, make sure that the version of Cloud Assistant Agent installed on Linux instances is 2.2.3.344 or later.
4664
+ * - If you specify this parameter, Username that is specified in a request to call this operation and WorkingDir that is specified in a request to call the CreateCommand operation do not take effect. You can run the command only in the default working directory of the container by using the default user of the container.
4665
+ * - If you specify this parameter, only shell scripts can be run in Linux containers. You cannot add a command in the format similar to #!\/usr\/bin\/python at the beginning of a script to specify a script interpreter.
4666
+ */
4667
+ readonly containerName?: string | ros.IResolvable;
4280
4668
  /**
4281
4669
  * @Property frequency: The frequency of timing execution (the shortest frequency is performed every 1 minute). It iss mandatory when Timing is True.The value rule follows the rules of the cron expression.
4282
4670
  */
@@ -4293,27 +4681,60 @@ export interface RosInvocationProps {
4293
4681
  readonly parameters?: {
4294
4682
  [key: string]: (any | ros.IResolvable);
4295
4683
  } | ros.IResolvable;
4684
+ /**
4685
+ * @Property repeatMode: Specifies how to run the command. Valid values:
4686
+ * - **Once**: immediately runs the command.
4687
+ * - **Period**: runs the command on a schedule. If you set this parameter to Period, you must specify **Frequency**.
4688
+ * - **NextRebootOnly**: runs the command the next time the instance is started.
4689
+ * - **EveryReboot*: runs the command every time the instance is started.
4690
+ * Default value:
4691
+ * - If you do not specify Frequency, the default value is Once.
4692
+ * - If you specify **Frequency**, **Period** is used as the value of RepeatMode regardless of whether RepeatMode is set to Period.
4693
+ */
4694
+ readonly repeatMode?: string | ros.IResolvable;
4695
+ /**
4696
+ * @Property resourceGroupId: The ID of the resource group to which to assign the command executions. The instances specified by InstanceIds must belong to the specified resource group.
4697
+ */
4698
+ readonly resourceGroupId?: string | ros.IResolvable;
4296
4699
  /**
4297
4700
  * @Property sync: Whether to invoke synchronously.
4298
4701
  */
4299
4702
  readonly sync?: boolean | ros.IResolvable;
4300
4703
  /**
4301
- * @Property timed: Whether it is timed execution. Default is False.
4704
+ * @Property tags: Tags to attach to invocation. Max support 20 tags to add during create invocation. Each tag with two properties Key and Value, and Key is required.
4705
+ */
4706
+ readonly tags?: RosInvocation.TagsProperty[];
4707
+ /**
4708
+ * @Property timeout: The timeout period for the command execution. Unit: seconds.
4709
+ * - The timeout period cannot be less than 10 seconds.
4710
+ * - A timeout error occurs if the command cannot be run because the process slows down or because a specific module or Cloud Assistant Agent does not exist. When the specified timeout period ends, the command process is forcefully terminated.
4711
+ * - If you do not specify this parameter, the timeout period that is specified when the command is created is used.
4712
+ * - This timeout period is applicable only to this execution. The timeout period of the command is not modified.
4302
4713
  */
4303
- readonly timed?: boolean | ros.IResolvable;
4714
+ readonly timeout?: number | ros.IResolvable;
4715
+ /**
4716
+ * @Property username: The username to use to run the command on instances. The username can be up to 255 characters in length.
4717
+ * - For Linux instances, the root username is used by default.
4718
+ * - For Windows instances, the System username is used by default.
4719
+ * You can also specify other usernames that already exist in the instances to run the command. For security purposes, we recommend that you run Cloud Assistant commands as a regular user.
4720
+ */
4721
+ readonly username?: string | ros.IResolvable;
4722
+ /**
4723
+ * @Property windowsPasswordName: The name of the password to use to run the command on Windows instances. The name can be up to 255 characters in length.
4724
+ * If you do not want to use the default System user to run the command on Windows instances, specify both **WindowsPasswordName** and **Username**. To mitigate the risk of password leaks, the password is stored in plaintext in Operation Orchestration Service (OOS) Parameter Store, and only the name of the password is passed in by using WindowsPasswordName.
4725
+ */
4726
+ readonly windowsPasswordName?: string | ros.IResolvable;
4304
4727
  }
4305
4728
  /**
4306
- * A ROS template type: `ALIYUN::ECS::Invocation`
4729
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::Invocation`, which is used to run a Cloud Assistant command on Elastic Compute Service (ECS) instances.
4730
+ * @Note This class does not contain additional functions, so it is recommended to use the `Invocation` class instead of this class for a more convenient development experience.
4731
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-invocation
4307
4732
  */
4308
4733
  export declare class RosInvocation extends ros.RosResource {
4309
4734
  /**
4310
4735
  * The resource type name for this resource class.
4311
4736
  */
4312
4737
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::Invocation";
4313
- /**
4314
- * A factory method that creates a new instance of this class from an object
4315
- * containing the properties of this ROS resource.
4316
- */
4317
4738
  /**
4318
4739
  * @Attribute InvokeId: The id of command execution.
4319
4740
  */
@@ -4339,6 +4760,23 @@ export declare class RosInvocation extends ros.RosResource {
4339
4760
  * @Property commandName: The name of command. Only system commands whose provide is AlibabaCloud are supported
4340
4761
  */
4341
4762
  commandName: string | ros.IResolvable | undefined;
4763
+ /**
4764
+ * @Property containerId: The ID of the container. Only 64-bit hexadecimal strings are supported. You can use container IDs that are prefixed with docker:\/\/, containerd:\/\/, or cri-o:\/\/ to specify container runtimes.
4765
+ * Take note of the following items:
4766
+ * - If you specify this parameter, Cloud Assistant runs scripts in the specified container of the instance.
4767
+ * - If you specify this parameter, make sure that the version of Cloud Assistant Agent installed on Linux instances is 2.2.3.344 or later.- If you specify this parameter, Username that is specified in a request to call this operation and WorkingDir that is specified in a request to call the CreateCommand operation do not take effect. You can run the command only in the default working directory of the container by using the default user of the container.
4768
+ * - If you specify this parameter, only shell scripts can be run in Linux containers. You cannot add a command in the format similar to #!\/usr\/bin\/python at the beginning of a script to specify a script interpreter.
4769
+ */
4770
+ containerId: string | ros.IResolvable | undefined;
4771
+ /**
4772
+ * @Property containerName: The name of the container.
4773
+ * Take note of the following items:
4774
+ * - If you specify this parameter, Cloud Assistant runs scripts in the specified container of the instance.
4775
+ * - If you specify this parameter, make sure that the version of Cloud Assistant Agent installed on Linux instances is 2.2.3.344 or later.
4776
+ * - If you specify this parameter, Username that is specified in a request to call this operation and WorkingDir that is specified in a request to call the CreateCommand operation do not take effect. You can run the command only in the default working directory of the container by using the default user of the container.
4777
+ * - If you specify this parameter, only shell scripts can be run in Linux containers. You cannot add a command in the format similar to #!\/usr\/bin\/python at the beginning of a script to specify a script interpreter.
4778
+ */
4779
+ containerName: string | ros.IResolvable | undefined;
4342
4780
  /**
4343
4781
  * @Property frequency: The frequency of timing execution (the shortest frequency is performed every 1 minute). It iss mandatory when Timing is True.The value rule follows the rules of the cron expression.
4344
4782
  */
@@ -4355,17 +4793,50 @@ export declare class RosInvocation extends ros.RosResource {
4355
4793
  parameters: {
4356
4794
  [key: string]: (any | ros.IResolvable);
4357
4795
  } | ros.IResolvable | undefined;
4796
+ /**
4797
+ * @Property repeatMode: Specifies how to run the command. Valid values:
4798
+ * - **Once**: immediately runs the command.
4799
+ * - **Period**: runs the command on a schedule. If you set this parameter to Period, you must specify **Frequency**.
4800
+ * - **NextRebootOnly**: runs the command the next time the instance is started.
4801
+ * - **EveryReboot*: runs the command every time the instance is started.
4802
+ * Default value:
4803
+ * - If you do not specify Frequency, the default value is Once.
4804
+ * - If you specify **Frequency**, **Period** is used as the value of RepeatMode regardless of whether RepeatMode is set to Period.
4805
+ */
4806
+ repeatMode: string | ros.IResolvable | undefined;
4807
+ /**
4808
+ * @Property resourceGroupId: The ID of the resource group to which to assign the command executions. The instances specified by InstanceIds must belong to the specified resource group.
4809
+ */
4810
+ resourceGroupId: string | ros.IResolvable | undefined;
4358
4811
  /**
4359
4812
  * @Property sync: Whether to invoke synchronously.
4360
4813
  */
4361
4814
  sync: boolean | ros.IResolvable | undefined;
4362
4815
  /**
4363
- * @Property timed: Whether it is timed execution. Default is False.
4816
+ * @Property tags: Tags to attach to invocation. Max support 20 tags to add during create invocation. Each tag with two properties Key and Value, and Key is required.
4364
4817
  */
4365
- timed: boolean | ros.IResolvable | undefined;
4818
+ tags: RosInvocation.TagsProperty[] | undefined;
4819
+ /**
4820
+ * @Property timeout: The timeout period for the command execution. Unit: seconds.
4821
+ * - The timeout period cannot be less than 10 seconds.
4822
+ * - A timeout error occurs if the command cannot be run because the process slows down or because a specific module or Cloud Assistant Agent does not exist. When the specified timeout period ends, the command process is forcefully terminated.
4823
+ * - If you do not specify this parameter, the timeout period that is specified when the command is created is used.
4824
+ * - This timeout period is applicable only to this execution. The timeout period of the command is not modified.
4825
+ */
4826
+ timeout: number | ros.IResolvable | undefined;
4827
+ /**
4828
+ * @Property username: The username to use to run the command on instances. The username can be up to 255 characters in length.
4829
+ * - For Linux instances, the root username is used by default.
4830
+ * - For Windows instances, the System username is used by default.
4831
+ * You can also specify other usernames that already exist in the instances to run the command. For security purposes, we recommend that you run Cloud Assistant commands as a regular user.
4832
+ */
4833
+ username: string | ros.IResolvable | undefined;
4834
+ /**
4835
+ * @Property windowsPasswordName: The name of the password to use to run the command on Windows instances. The name can be up to 255 characters in length.
4836
+ * If you do not want to use the default System user to run the command on Windows instances, specify both **WindowsPasswordName** and **Username**. To mitigate the risk of password leaks, the password is stored in plaintext in Operation Orchestration Service (OOS) Parameter Store, and only the name of the password is passed in by using WindowsPasswordName.
4837
+ */
4838
+ windowsPasswordName: string | ros.IResolvable | undefined;
4366
4839
  /**
4367
- * Create a new `ALIYUN::ECS::Invocation`.
4368
- *
4369
4840
  * @param scope - scope in which this resource is defined
4370
4841
  * @param id - scoped id of the resource
4371
4842
  * @param props - resource properties
@@ -4380,8 +4851,24 @@ export declare class RosInvocation extends ros.RosResource {
4380
4851
  [key: string]: any;
4381
4852
  };
4382
4853
  }
4854
+ export declare namespace RosInvocation {
4855
+ /**
4856
+ * @stability external
4857
+ */
4858
+ interface TagsProperty {
4859
+ /**
4860
+ * @Property value: undefined
4861
+ */
4862
+ readonly value?: string | ros.IResolvable;
4863
+ /**
4864
+ * @Property key: undefined
4865
+ */
4866
+ readonly key: string | ros.IResolvable;
4867
+ }
4868
+ }
4383
4869
  /**
4384
- * Properties for defining a `ALIYUN::ECS::JoinSecurityGroup`
4870
+ * Properties for defining a `RosJoinSecurityGroup`.
4871
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-joinsecuritygroup
4385
4872
  */
4386
4873
  export interface RosJoinSecurityGroupProps {
4387
4874
  /**
@@ -4402,17 +4889,15 @@ export interface RosJoinSecurityGroupProps {
4402
4889
  readonly networkInterfaceList?: Array<any | ros.IResolvable> | ros.IResolvable;
4403
4890
  }
4404
4891
  /**
4405
- * A ROS template type: `ALIYUN::ECS::JoinSecurityGroup`
4892
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::JoinSecurityGroup`, which is used to add one or more ECS instances to a specified security group.
4893
+ * @Note This class does not contain additional functions, so it is recommended to use the `JoinSecurityGroup` class instead of this class for a more convenient development experience.
4894
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-joinsecuritygroup
4406
4895
  */
4407
4896
  export declare class RosJoinSecurityGroup extends ros.RosResource {
4408
4897
  /**
4409
4898
  * The resource type name for this resource class.
4410
4899
  */
4411
4900
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::JoinSecurityGroup";
4412
- /**
4413
- * A factory method that creates a new instance of this class from an object
4414
- * containing the properties of this ROS resource.
4415
- */
4416
4901
  enableResourcePropertyConstraint: boolean;
4417
4902
  /**
4418
4903
  * @Property securityGroupId: Security group id to join.
@@ -4431,8 +4916,6 @@ export declare class RosJoinSecurityGroup extends ros.RosResource {
4431
4916
  */
4432
4917
  networkInterfaceList: Array<any | ros.IResolvable> | ros.IResolvable | undefined;
4433
4918
  /**
4434
- * Create a new `ALIYUN::ECS::JoinSecurityGroup`.
4435
- *
4436
4919
  * @param scope - scope in which this resource is defined
4437
4920
  * @param id - scoped id of the resource
4438
4921
  * @param props - resource properties
@@ -4448,7 +4931,8 @@ export declare class RosJoinSecurityGroup extends ros.RosResource {
4448
4931
  };
4449
4932
  }
4450
4933
  /**
4451
- * Properties for defining a `ALIYUN::ECS::LaunchTemplate`
4934
+ * Properties for defining a `RosLaunchTemplate`.
4935
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-launchtemplate
4452
4936
  */
4453
4937
  export interface RosLaunchTemplateProps {
4454
4938
  /**
@@ -4601,10 +5085,10 @@ export interface RosLaunchTemplateProps {
4601
5085
  readonly systemDiskDiskName?: string | ros.IResolvable;
4602
5086
  /**
4603
5087
  * @Property systemDiskPerformanceLevel: The performance level of the ESSD that is used as the system disk. Valid values:
4604
- * PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
4605
- * PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
4606
- * PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
4607
- * PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
5088
+ * PL0: A single ESSD can deliver up to 10,000 random read\/write IOPS.
5089
+ * PL1: A single ESSD can deliver up to 50,000 random read\/write IOPS.
5090
+ * PL2: A single ESSD can deliver up to 100,000 random read\/write IOPS.
5091
+ * PL3: A single ESSD can deliver up to 1,000,000 random read\/write IOPS.
4608
5092
  */
4609
5093
  readonly systemDiskPerformanceLevel?: string | ros.IResolvable;
4610
5094
  /**
@@ -4641,17 +5125,15 @@ export interface RosLaunchTemplateProps {
4641
5125
  readonly zoneId?: string | ros.IResolvable;
4642
5126
  }
4643
5127
  /**
4644
- * A ROS template type: `ALIYUN::ECS::LaunchTemplate`
5128
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::LaunchTemplate`, which is used to create a launch template. You can use a launch template to create an Elastic Compute Service (ECS) instance.
5129
+ * @Note This class does not contain additional functions, so it is recommended to use the `LaunchTemplate` class instead of this class for a more convenient development experience.
5130
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-launchtemplate
4645
5131
  */
4646
5132
  export declare class RosLaunchTemplate extends ros.RosResource {
4647
5133
  /**
4648
5134
  * The resource type name for this resource class.
4649
5135
  */
4650
5136
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::LaunchTemplate";
4651
- /**
4652
- * A factory method that creates a new instance of this class from an object
4653
- * containing the properties of this ROS resource.
4654
- */
4655
5137
  /**
4656
5138
  * @Attribute DefaultVersionNumber: The default version number of launch template.
4657
5139
  */
@@ -4819,10 +5301,10 @@ export declare class RosLaunchTemplate extends ros.RosResource {
4819
5301
  systemDiskDiskName: string | ros.IResolvable | undefined;
4820
5302
  /**
4821
5303
  * @Property systemDiskPerformanceLevel: The performance level of the ESSD that is used as the system disk. Valid values:
4822
- * PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
4823
- * PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
4824
- * PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
4825
- * PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
5304
+ * PL0: A single ESSD can deliver up to 10,000 random read\/write IOPS.
5305
+ * PL1: A single ESSD can deliver up to 50,000 random read\/write IOPS.
5306
+ * PL2: A single ESSD can deliver up to 100,000 random read\/write IOPS.
5307
+ * PL3: A single ESSD can deliver up to 1,000,000 random read\/write IOPS.
4826
5308
  */
4827
5309
  systemDiskPerformanceLevel: string | ros.IResolvable | undefined;
4828
5310
  /**
@@ -4858,8 +5340,6 @@ export declare class RosLaunchTemplate extends ros.RosResource {
4858
5340
  */
4859
5341
  zoneId: string | ros.IResolvable | undefined;
4860
5342
  /**
4861
- * Create a new `ALIYUN::ECS::LaunchTemplate`.
4862
- *
4863
5343
  * @param scope - scope in which this resource is defined
4864
5344
  * @param id - scoped id of the resource
4865
5345
  * @param props - resource properties
@@ -4897,10 +5377,10 @@ export declare namespace RosLaunchTemplate {
4897
5377
  readonly encrypted?: boolean | ros.IResolvable;
4898
5378
  /**
4899
5379
  * @Property performanceLevel: The performance level of the ESSD used as data disk. The value of Valid values:
4900
- * PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
4901
- * PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
4902
- * PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
4903
- * PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
5380
+ * PL0: A single ESSD can deliver up to 10,000 random read\/write IOPS.
5381
+ * PL1: A single ESSD can deliver up to 50,000 random read\/write IOPS.
5382
+ * PL2: A single ESSD can deliver up to 100,000 random read\/write IOPS.
5383
+ * PL3: A single ESSD can deliver up to 1,000,000 random read\/write IOPS.
4904
5384
  */
4905
5385
  readonly performanceLevel?: string | ros.IResolvable;
4906
5386
  /**
@@ -4975,7 +5455,8 @@ export declare namespace RosLaunchTemplate {
4975
5455
  }
4976
5456
  }
4977
5457
  /**
4978
- * Properties for defining a `ALIYUN::ECS::NetworkInterface`
5458
+ * Properties for defining a `RosNetworkInterface`.
5459
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-networkinterface
4979
5460
  */
4980
5461
  export interface RosNetworkInterfaceProps {
4981
5462
  /**
@@ -5040,17 +5521,15 @@ export interface RosNetworkInterfaceProps {
5040
5521
  readonly tags?: RosNetworkInterface.TagsProperty[];
5041
5522
  }
5042
5523
  /**
5043
- * A ROS template type: `ALIYUN::ECS::NetworkInterface`
5524
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::NetworkInterface`, which is used to create an elastic network interface (ENI).
5525
+ * @Note This class does not contain additional functions, so it is recommended to use the `NetworkInterface` class instead of this class for a more convenient development experience.
5526
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-networkinterface
5044
5527
  */
5045
5528
  export declare class RosNetworkInterface extends ros.RosResource {
5046
5529
  /**
5047
5530
  * The resource type name for this resource class.
5048
5531
  */
5049
5532
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::NetworkInterface";
5050
- /**
5051
- * A factory method that creates a new instance of this class from an object
5052
- * containing the properties of this ROS resource.
5053
- */
5054
5533
  /**
5055
5534
  * @Attribute MacAddress: The MAC address of your Network Interface.
5056
5535
  */
@@ -5129,8 +5608,6 @@ export declare class RosNetworkInterface extends ros.RosResource {
5129
5608
  */
5130
5609
  tags: RosNetworkInterface.TagsProperty[] | undefined;
5131
5610
  /**
5132
- * Create a new `ALIYUN::ECS::NetworkInterface`.
5133
- *
5134
5611
  * @param scope - scope in which this resource is defined
5135
5612
  * @param id - scoped id of the resource
5136
5613
  * @param props - resource properties
@@ -5161,7 +5638,8 @@ export declare namespace RosNetworkInterface {
5161
5638
  }
5162
5639
  }
5163
5640
  /**
5164
- * Properties for defining a `ALIYUN::ECS::NetworkInterfaceAttachment`
5641
+ * Properties for defining a `RosNetworkInterfaceAttachment`.
5642
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-networkinterfaceattachment
5165
5643
  */
5166
5644
  export interface RosNetworkInterfaceAttachmentProps {
5167
5645
  /**
@@ -5182,17 +5660,15 @@ export interface RosNetworkInterfaceAttachmentProps {
5182
5660
  readonly trunkNetworkInstanceId?: string | ros.IResolvable;
5183
5661
  }
5184
5662
  /**
5185
- * A ROS template type: `ALIYUN::ECS::NetworkInterfaceAttachment`
5663
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::NetworkInterfaceAttachment`, which is used to bind an elastic network interface (ENI) to an Elastic Compute Service (ECS) instance in a virtual private cloud (VPC).
5664
+ * @Note This class does not contain additional functions, so it is recommended to use the `NetworkInterfaceAttachment` class instead of this class for a more convenient development experience.
5665
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-networkinterfaceattachment
5186
5666
  */
5187
5667
  export declare class RosNetworkInterfaceAttachment extends ros.RosResource {
5188
5668
  /**
5189
5669
  * The resource type name for this resource class.
5190
5670
  */
5191
5671
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::NetworkInterfaceAttachment";
5192
- /**
5193
- * A factory method that creates a new instance of this class from an object
5194
- * containing the properties of this ROS resource.
5195
- */
5196
5672
  /**
5197
5673
  * @Attribute InstanceId: ID of ECS instance.
5198
5674
  */
@@ -5223,8 +5699,6 @@ export declare class RosNetworkInterfaceAttachment extends ros.RosResource {
5223
5699
  */
5224
5700
  trunkNetworkInstanceId: string | ros.IResolvable | undefined;
5225
5701
  /**
5226
- * Create a new `ALIYUN::ECS::NetworkInterfaceAttachment`.
5227
- *
5228
5702
  * @param scope - scope in which this resource is defined
5229
5703
  * @param id - scoped id of the resource
5230
5704
  * @param props - resource properties
@@ -5240,7 +5714,8 @@ export declare class RosNetworkInterfaceAttachment extends ros.RosResource {
5240
5714
  };
5241
5715
  }
5242
5716
  /**
5243
- * Properties for defining a `ALIYUN::ECS::NetworkInterfacePermission`
5717
+ * Properties for defining a `RosNetworkInterfacePermission`.
5718
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-networkinterfacepermission
5244
5719
  */
5245
5720
  export interface RosNetworkInterfacePermissionProps {
5246
5721
  /**
@@ -5257,17 +5732,15 @@ export interface RosNetworkInterfacePermissionProps {
5257
5732
  readonly permission: string | ros.IResolvable;
5258
5733
  }
5259
5734
  /**
5260
- * A ROS template type: `ALIYUN::ECS::NetworkInterfacePermission`
5735
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::NetworkInterfacePermission`, which is used to grant an account the permission to attach an elastic network interface (ENI) to an instance.
5736
+ * @Note This class does not contain additional functions, so it is recommended to use the `NetworkInterfacePermission` class instead of this class for a more convenient development experience.
5737
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-networkinterfacepermission
5261
5738
  */
5262
5739
  export declare class RosNetworkInterfacePermission extends ros.RosResource {
5263
5740
  /**
5264
5741
  * The resource type name for this resource class.
5265
5742
  */
5266
5743
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::NetworkInterfacePermission";
5267
- /**
5268
- * A factory method that creates a new instance of this class from an object
5269
- * containing the properties of this ROS resource.
5270
- */
5271
5744
  /**
5272
5745
  * @Attribute NetworkInterfacePermissionId: the network interface permission id
5273
5746
  */
@@ -5286,8 +5759,6 @@ export declare class RosNetworkInterfacePermission extends ros.RosResource {
5286
5759
  */
5287
5760
  permission: string | ros.IResolvable;
5288
5761
  /**
5289
- * Create a new `ALIYUN::ECS::NetworkInterfacePermission`.
5290
- *
5291
5762
  * @param scope - scope in which this resource is defined
5292
5763
  * @param id - scoped id of the resource
5293
5764
  * @param props - resource properties
@@ -5303,7 +5774,8 @@ export declare class RosNetworkInterfacePermission extends ros.RosResource {
5303
5774
  };
5304
5775
  }
5305
5776
  /**
5306
- * Properties for defining a `ALIYUN::ECS::PrefixList`
5777
+ * Properties for defining a `RosPrefixList`.
5778
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-prefixlist
5307
5779
  */
5308
5780
  export interface RosPrefixListProps {
5309
5781
  /**
@@ -5315,11 +5787,11 @@ export interface RosPrefixListProps {
5315
5787
  */
5316
5788
  readonly maxEntries: number | ros.IResolvable;
5317
5789
  /**
5318
- * @Property prefixListName: The name of the prefix. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http://, https://, com.aliyun, or com.alibabacloud. It can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
5790
+ * @Property prefixListName: The name of the prefix. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:\/\/, https:\/\/, com.aliyun, or com.alibabacloud. It can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
5319
5791
  */
5320
5792
  readonly prefixListName: string | ros.IResolvable;
5321
5793
  /**
5322
- * @Property description: The description of the prefix list. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
5794
+ * @Property description: The description of the prefix list. The description must be 2 to 256 characters in length and cannot start with http:\/\/ or https:\/\/.
5323
5795
  */
5324
5796
  readonly description?: string | ros.IResolvable;
5325
5797
  /**
@@ -5328,17 +5800,15 @@ export interface RosPrefixListProps {
5328
5800
  readonly entries?: Array<RosPrefixList.EntriesProperty | ros.IResolvable> | ros.IResolvable;
5329
5801
  }
5330
5802
  /**
5331
- * A ROS template type: `ALIYUN::ECS::PrefixList`
5803
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::PrefixList`, which is used to create a prefix list.
5804
+ * @Note This class does not contain additional functions, so it is recommended to use the `PrefixList` class instead of this class for a more convenient development experience.
5805
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-prefixlist
5332
5806
  */
5333
5807
  export declare class RosPrefixList extends ros.RosResource {
5334
5808
  /**
5335
5809
  * The resource type name for this resource class.
5336
5810
  */
5337
5811
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::PrefixList";
5338
- /**
5339
- * A factory method that creates a new instance of this class from an object
5340
- * containing the properties of this ROS resource.
5341
- */
5342
5812
  /**
5343
5813
  * @Attribute PrefixListId: The ID of the prefix list.
5344
5814
  */
@@ -5353,11 +5823,11 @@ export declare class RosPrefixList extends ros.RosResource {
5353
5823
  */
5354
5824
  maxEntries: number | ros.IResolvable;
5355
5825
  /**
5356
- * @Property prefixListName: The name of the prefix. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http://, https://, com.aliyun, or com.alibabacloud. It can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
5826
+ * @Property prefixListName: The name of the prefix. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:\/\/, https:\/\/, com.aliyun, or com.alibabacloud. It can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
5357
5827
  */
5358
5828
  prefixListName: string | ros.IResolvable;
5359
5829
  /**
5360
- * @Property description: The description of the prefix list. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
5830
+ * @Property description: The description of the prefix list. The description must be 2 to 256 characters in length and cannot start with http:\/\/ or https:\/\/.
5361
5831
  */
5362
5832
  description: string | ros.IResolvable | undefined;
5363
5833
  /**
@@ -5365,8 +5835,6 @@ export declare class RosPrefixList extends ros.RosResource {
5365
5835
  */
5366
5836
  entries: Array<RosPrefixList.EntriesProperty | ros.IResolvable> | ros.IResolvable | undefined;
5367
5837
  /**
5368
- * Create a new `ALIYUN::ECS::PrefixList`.
5369
- *
5370
5838
  * @param scope - scope in which this resource is defined
5371
5839
  * @param id - scoped id of the resource
5372
5840
  * @param props - resource properties
@@ -5387,23 +5855,24 @@ export declare namespace RosPrefixList {
5387
5855
  */
5388
5856
  interface EntriesProperty {
5389
5857
  /**
5390
- * @Property description: The description in entry. The description must be 2 to 32 characters in length and cannot start with http:// or https://.
5858
+ * @Property description: The description in entry. The description must be 2 to 32 characters in length and cannot start with http:\/\/ or https:\/\/.
5391
5859
  */
5392
5860
  readonly description?: string | ros.IResolvable;
5393
5861
  /**
5394
5862
  * @Property cidr: The CIDR block in entry. Take note of the following items:
5395
5863
  * The total number of entries must not exceed the MaxEntries value.
5396
5864
  * CIDR block types are determined by the IP address family. You cannot combine IPv4 and IPv6 CIDR blocks in a single prefix list.
5397
- * CIDR blocks must be unique across all entries in a prefix list. For example, you cannot specify 192.168.1.0/24 twice in the entries of the prefix list.
5865
+ * CIDR blocks must be unique across all entries in a prefix list. For example, you cannot specify 192.168.1.0\/24 twice in the entries of the prefix list.
5398
5866
  * IP addresses are supported.
5399
- * The system converts IP addresses into CIDR blocks. For example, if you specify 192.168.1.100, the system converts it into the 192.168.1.100/32 CIDR block.
5400
- * If an IPv6 CIDR block is used, the system converts it to the zero compression format and changes uppercase letters into lowercase ones. For example, if you specify 2001:0DB8:0000:0000:0000:0000:0000:0000/32,the system converts it into 2001:db8::/32.
5867
+ * The system converts IP addresses into CIDR blocks. For example, if you specify 192.168.1.100, the system converts it into the 192.168.1.100\/32 CIDR block.
5868
+ * If an IPv6 CIDR block is used, the system converts it to the zero compression format and changes uppercase letters into lowercase ones. For example, if you specify 2001:0DB8:0000:0000:0000:0000:0000:0000\/32,the system converts it into 2001:db8::\/32.
5401
5869
  */
5402
5870
  readonly cidr: string | ros.IResolvable;
5403
5871
  }
5404
5872
  }
5405
5873
  /**
5406
- * Properties for defining a `ALIYUN::ECS::RamRoleAttachment`
5874
+ * Properties for defining a `RosRamRoleAttachment`.
5875
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-ramroleattachment
5407
5876
  */
5408
5877
  export interface RosRamRoleAttachmentProps {
5409
5878
  /**
@@ -5421,17 +5890,15 @@ export interface RosRamRoleAttachmentProps {
5421
5890
  readonly policy?: string | ros.IResolvable;
5422
5891
  }
5423
5892
  /**
5424
- * A ROS template type: `ALIYUN::ECS::RamRoleAttachment`
5893
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::RamRoleAttachment`, which is used to attach an instance Resource Access Management (RAM) role to Elastic Compute Service (ECS) instances.
5894
+ * @Note This class does not contain additional functions, so it is recommended to use the `RamRoleAttachment` class instead of this class for a more convenient development experience.
5895
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-ramroleattachment
5425
5896
  */
5426
5897
  export declare class RosRamRoleAttachment extends ros.RosResource {
5427
5898
  /**
5428
5899
  * The resource type name for this resource class.
5429
5900
  */
5430
5901
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::RamRoleAttachment";
5431
- /**
5432
- * A factory method that creates a new instance of this class from an object
5433
- * containing the properties of this ROS resource.
5434
- */
5435
5902
  /**
5436
5903
  * @Attribute InstanceIds: The list of ecs instance id
5437
5904
  */
@@ -5455,8 +5922,6 @@ export declare class RosRamRoleAttachment extends ros.RosResource {
5455
5922
  */
5456
5923
  policy: string | ros.IResolvable | undefined;
5457
5924
  /**
5458
- * Create a new `ALIYUN::ECS::RamRoleAttachment`.
5459
- *
5460
5925
  * @param scope - scope in which this resource is defined
5461
5926
  * @param id - scoped id of the resource
5462
5927
  * @param props - resource properties
@@ -5472,7 +5937,8 @@ export declare class RosRamRoleAttachment extends ros.RosResource {
5472
5937
  };
5473
5938
  }
5474
5939
  /**
5475
- * Properties for defining a `ALIYUN::ECS::Route`
5940
+ * Properties for defining a `RosRoute`.
5941
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-route
5476
5942
  */
5477
5943
  export interface RosRouteProps {
5478
5944
  /**
@@ -5497,17 +5963,15 @@ export interface RosRouteProps {
5497
5963
  readonly nextHopType?: string | ros.IResolvable;
5498
5964
  }
5499
5965
  /**
5500
- * A ROS template type: `ALIYUN::ECS::Route`
5966
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::Route`, which is used to create a custom route entry.
5967
+ * @Note This class does not contain additional functions, so it is recommended to use the `Route` class instead of this class for a more convenient development experience.
5968
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-route
5501
5969
  */
5502
5970
  export declare class RosRoute extends ros.RosResource {
5503
5971
  /**
5504
5972
  * The resource type name for this resource class.
5505
5973
  */
5506
5974
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::Route";
5507
- /**
5508
- * A factory method that creates a new instance of this class from an object
5509
- * containing the properties of this ROS resource.
5510
- */
5511
5975
  /**
5512
5976
  * @Attribute RouteEntryId: The ID of the route entry.
5513
5977
  */
@@ -5534,8 +5998,6 @@ export declare class RosRoute extends ros.RosResource {
5534
5998
  */
5535
5999
  nextHopType: string | ros.IResolvable | undefined;
5536
6000
  /**
5537
- * Create a new `ALIYUN::ECS::Route`.
5538
- *
5539
6001
  * @param scope - scope in which this resource is defined
5540
6002
  * @param id - scoped id of the resource
5541
6003
  * @param props - resource properties
@@ -5566,7 +6028,8 @@ export declare namespace RosRoute {
5566
6028
  }
5567
6029
  }
5568
6030
  /**
5569
- * Properties for defining a `ALIYUN::ECS::RunCommand`
6031
+ * Properties for defining a `RosRunCommand`.
6032
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-runcommand
5570
6033
  */
5571
6034
  export interface RosRunCommandProps {
5572
6035
  /**
@@ -5589,6 +6052,23 @@ export interface RosRunCommandProps {
5589
6052
  * RunShellScript: shell scripts for Linux instances
5590
6053
  */
5591
6054
  readonly type: string | ros.IResolvable;
6055
+ /**
6056
+ * @Property containerId: The ID of the container. Only 64-bit hexadecimal strings are supported. You can use container IDs that are prefixed with docker:\/\/, containerd:\/\/, or cri-o:\/\/ to specify container runtimes.
6057
+ * Take note of the following items:
6058
+ * - If you specify this parameter, Cloud Assistant runs scripts in the specified container of the instance.
6059
+ * - If you specify this parameter, make sure that the version of Cloud Assistant Agent installed on Linux instances is 2.2.3.344 or later.- If you specify this parameter, Username that is specified in a request to call this operation and WorkingDir that is specified in a request to call the CreateCommand operation do not take effect. You can run the command only in the default working directory of the container by using the default user of the container.
6060
+ * - If you specify this parameter, only shell scripts can be run in Linux containers. You cannot add a command in the format similar to #!\/usr\/bin\/python at the beginning of a script to specify a script interpreter.
6061
+ */
6062
+ readonly containerId?: string | ros.IResolvable;
6063
+ /**
6064
+ * @Property containerName: The name of the container.
6065
+ * Take note of the following items:
6066
+ * - If you specify this parameter, Cloud Assistant runs scripts in the specified container of the instance.
6067
+ * - If you specify this parameter, make sure that the version of Cloud Assistant Agent installed on Linux instances is 2.2.3.344 or later.
6068
+ * - If you specify this parameter, Username that is specified in a request to call this operation and WorkingDir that is specified in a request to call the CreateCommand operation do not take effect. You can run the command only in the default working directory of the container by using the default user of the container.
6069
+ * - If you specify this parameter, only shell scripts can be run in Linux containers. You cannot add a command in the format similar to #!\/usr\/bin\/python at the beginning of a script to specify a script interpreter.
6070
+ */
6071
+ readonly containerName?: string | ros.IResolvable;
5592
6072
  /**
5593
6073
  * @Property contentEncoding: The encoding mode of script content (CommandContent). Valid values (case insensitive):
5594
6074
  * PlainText: The script content is not encoded, and transmitted in plaintext.
@@ -5633,6 +6113,21 @@ export interface RosRunCommandProps {
5633
6113
  readonly parameters?: {
5634
6114
  [key: string]: (any | ros.IResolvable);
5635
6115
  } | ros.IResolvable;
6116
+ /**
6117
+ * @Property repeatMode: Specifies how to run the command. Valid values:
6118
+ * - **Once**: immediately runs the command.
6119
+ * - **Period**: runs the command on a schedule. If you set this parameter to Period, you must specify **Frequency**.
6120
+ * - **NextRebootOnly**: runs the command the next time the instance is started.
6121
+ * - **EveryReboot*: runs the command every time the instance is started.
6122
+ * Default value:
6123
+ * - If you do not specify Frequency, the default value is Once.
6124
+ * - If you specify **Frequency**, **Period** is used as the value of RepeatMode regardless of whether RepeatMode is set to Period.
6125
+ */
6126
+ readonly repeatMode?: string | ros.IResolvable;
6127
+ /**
6128
+ * @Property resourceGroupId: The ID of the resource group to which to assign the command executions. The instances specified by InstanceIds must belong to the specified resource group.
6129
+ */
6130
+ readonly resourceGroupId?: string | ros.IResolvable;
5636
6131
  /**
5637
6132
  * @Property runAgainOn: The stage of executing the command again.
5638
6133
  */
@@ -5645,38 +6140,41 @@ export interface RosRunCommandProps {
5645
6140
  * @Property tags: Tags to attach to run_command. Max support 20 tags to add during create run_command. Each tag with two properties Key and Value, and Key is required.
5646
6141
  */
5647
6142
  readonly tags?: RosRunCommand.TagsProperty[];
5648
- /**
5649
- * @Property timed: Specifies whether to periodically run the script. Valid values:
5650
- * true: runs the script on a regular basis based on the value set for the Frequency parameter. The result of the previous execution task does not affect the next execution task.
5651
- * false: runs once only.
5652
- * Default value: false
5653
- */
5654
- readonly timed?: boolean | ros.IResolvable;
5655
6143
  /**
5656
6144
  * @Property timeout: The timeout period for script execution. Unit: seconds. A timeout error occurs when a script cannot be run because the process slows down, a specific module or the Cloud Assistant client does not exist. When the script times out, the script process is forcibly terminated.
5657
6145
  * Default value: 60.
5658
6146
  */
5659
6147
  readonly timeout?: number | ros.IResolvable;
6148
+ /**
6149
+ * @Property username: The username to use to run the command on instances. The username can be up to 255 characters in length.
6150
+ * - For Linux instances, the root username is used by default.
6151
+ * - For Windows instances, the System username is used by default.
6152
+ * You can also specify other usernames that already exist in the instances to run the command. For security purposes, we recommend that you run Cloud Assistant commands as a regular user.
6153
+ */
6154
+ readonly username?: string | ros.IResolvable;
6155
+ /**
6156
+ * @Property windowsPasswordName: The name of the password to use to run the command on Windows instances. The name can be up to 255 characters in length.
6157
+ * If you do not want to use the default System user to run the command on Windows instances, specify both **WindowsPasswordName** and **Username**. To mitigate the risk of password leaks, the password is stored in plaintext in Operation Orchestration Service (OOS) Parameter Store, and only the name of the password is passed in by using WindowsPasswordName.
6158
+ */
6159
+ readonly windowsPasswordName?: string | ros.IResolvable;
5660
6160
  /**
5661
6161
  * @Property workingDir: The running directory of the script in the ECS instance.
5662
6162
  * Default value:
5663
- * Linux instances: under the home directory of the administrator (root user): /root.
6163
+ * Linux instances: under the home directory of the administrator (root user): \/root.
5664
6164
  * Windows instances: under the directory where the process of the Cloud Assistant client is located, such as C:\ProgramData\aliyun\assist\$(version).
5665
6165
  */
5666
6166
  readonly workingDir?: string | ros.IResolvable;
5667
6167
  }
5668
6168
  /**
5669
- * A ROS template type: `ALIYUN::ECS::RunCommand`
6169
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::RunCommand`, which is used to run a shell, PowerShell, or batch command on Elastic Compute Service (ECS) instances.
6170
+ * @Note This class does not contain additional functions, so it is recommended to use the `RunCommand` class instead of this class for a more convenient development experience.
6171
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-runcommand
5670
6172
  */
5671
6173
  export declare class RosRunCommand extends ros.RosResource {
5672
6174
  /**
5673
6175
  * The resource type name for this resource class.
5674
6176
  */
5675
6177
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::RunCommand";
5676
- /**
5677
- * A factory method that creates a new instance of this class from an object
5678
- * containing the properties of this ROS resource.
5679
- */
5680
6178
  /**
5681
6179
  * @Attribute CommandId: The id of command created.
5682
6180
  */
@@ -5714,6 +6212,23 @@ export declare class RosRunCommand extends ros.RosResource {
5714
6212
  * RunShellScript: shell scripts for Linux instances
5715
6213
  */
5716
6214
  type: string | ros.IResolvable;
6215
+ /**
6216
+ * @Property containerId: The ID of the container. Only 64-bit hexadecimal strings are supported. You can use container IDs that are prefixed with docker:\/\/, containerd:\/\/, or cri-o:\/\/ to specify container runtimes.
6217
+ * Take note of the following items:
6218
+ * - If you specify this parameter, Cloud Assistant runs scripts in the specified container of the instance.
6219
+ * - If you specify this parameter, make sure that the version of Cloud Assistant Agent installed on Linux instances is 2.2.3.344 or later.- If you specify this parameter, Username that is specified in a request to call this operation and WorkingDir that is specified in a request to call the CreateCommand operation do not take effect. You can run the command only in the default working directory of the container by using the default user of the container.
6220
+ * - If you specify this parameter, only shell scripts can be run in Linux containers. You cannot add a command in the format similar to #!\/usr\/bin\/python at the beginning of a script to specify a script interpreter.
6221
+ */
6222
+ containerId: string | ros.IResolvable | undefined;
6223
+ /**
6224
+ * @Property containerName: The name of the container.
6225
+ * Take note of the following items:
6226
+ * - If you specify this parameter, Cloud Assistant runs scripts in the specified container of the instance.
6227
+ * - If you specify this parameter, make sure that the version of Cloud Assistant Agent installed on Linux instances is 2.2.3.344 or later.
6228
+ * - If you specify this parameter, Username that is specified in a request to call this operation and WorkingDir that is specified in a request to call the CreateCommand operation do not take effect. You can run the command only in the default working directory of the container by using the default user of the container.
6229
+ * - If you specify this parameter, only shell scripts can be run in Linux containers. You cannot add a command in the format similar to #!\/usr\/bin\/python at the beginning of a script to specify a script interpreter.
6230
+ */
6231
+ containerName: string | ros.IResolvable | undefined;
5717
6232
  /**
5718
6233
  * @Property contentEncoding: The encoding mode of script content (CommandContent). Valid values (case insensitive):
5719
6234
  * PlainText: The script content is not encoded, and transmitted in plaintext.
@@ -5758,6 +6273,21 @@ export declare class RosRunCommand extends ros.RosResource {
5758
6273
  parameters: {
5759
6274
  [key: string]: (any | ros.IResolvable);
5760
6275
  } | ros.IResolvable | undefined;
6276
+ /**
6277
+ * @Property repeatMode: Specifies how to run the command. Valid values:
6278
+ * - **Once**: immediately runs the command.
6279
+ * - **Period**: runs the command on a schedule. If you set this parameter to Period, you must specify **Frequency**.
6280
+ * - **NextRebootOnly**: runs the command the next time the instance is started.
6281
+ * - **EveryReboot*: runs the command every time the instance is started.
6282
+ * Default value:
6283
+ * - If you do not specify Frequency, the default value is Once.
6284
+ * - If you specify **Frequency**, **Period** is used as the value of RepeatMode regardless of whether RepeatMode is set to Period.
6285
+ */
6286
+ repeatMode: string | ros.IResolvable | undefined;
6287
+ /**
6288
+ * @Property resourceGroupId: The ID of the resource group to which to assign the command executions. The instances specified by InstanceIds must belong to the specified resource group.
6289
+ */
6290
+ resourceGroupId: string | ros.IResolvable | undefined;
5761
6291
  /**
5762
6292
  * @Property runAgainOn: The stage of executing the command again.
5763
6293
  */
@@ -5770,28 +6300,31 @@ export declare class RosRunCommand extends ros.RosResource {
5770
6300
  * @Property tags: Tags to attach to run_command. Max support 20 tags to add during create run_command. Each tag with two properties Key and Value, and Key is required.
5771
6301
  */
5772
6302
  tags: RosRunCommand.TagsProperty[] | undefined;
5773
- /**
5774
- * @Property timed: Specifies whether to periodically run the script. Valid values:
5775
- * true: runs the script on a regular basis based on the value set for the Frequency parameter. The result of the previous execution task does not affect the next execution task.
5776
- * false: runs once only.
5777
- * Default value: false
5778
- */
5779
- timed: boolean | ros.IResolvable | undefined;
5780
6303
  /**
5781
6304
  * @Property timeout: The timeout period for script execution. Unit: seconds. A timeout error occurs when a script cannot be run because the process slows down, a specific module or the Cloud Assistant client does not exist. When the script times out, the script process is forcibly terminated.
5782
6305
  * Default value: 60.
5783
6306
  */
5784
6307
  timeout: number | ros.IResolvable | undefined;
6308
+ /**
6309
+ * @Property username: The username to use to run the command on instances. The username can be up to 255 characters in length.
6310
+ * - For Linux instances, the root username is used by default.
6311
+ * - For Windows instances, the System username is used by default.
6312
+ * You can also specify other usernames that already exist in the instances to run the command. For security purposes, we recommend that you run Cloud Assistant commands as a regular user.
6313
+ */
6314
+ username: string | ros.IResolvable | undefined;
6315
+ /**
6316
+ * @Property windowsPasswordName: The name of the password to use to run the command on Windows instances. The name can be up to 255 characters in length.
6317
+ * If you do not want to use the default System user to run the command on Windows instances, specify both **WindowsPasswordName** and **Username**. To mitigate the risk of password leaks, the password is stored in plaintext in Operation Orchestration Service (OOS) Parameter Store, and only the name of the password is passed in by using WindowsPasswordName.
6318
+ */
6319
+ windowsPasswordName: string | ros.IResolvable | undefined;
5785
6320
  /**
5786
6321
  * @Property workingDir: The running directory of the script in the ECS instance.
5787
6322
  * Default value:
5788
- * Linux instances: under the home directory of the administrator (root user): /root.
6323
+ * Linux instances: under the home directory of the administrator (root user): \/root.
5789
6324
  * Windows instances: under the directory where the process of the Cloud Assistant client is located, such as C:\ProgramData\aliyun\assist\$(version).
5790
6325
  */
5791
6326
  workingDir: string | ros.IResolvable | undefined;
5792
6327
  /**
5793
- * Create a new `ALIYUN::ECS::RunCommand`.
5794
- *
5795
6328
  * @param scope - scope in which this resource is defined
5796
6329
  * @param id - scoped id of the resource
5797
6330
  * @param props - resource properties
@@ -5822,7 +6355,8 @@ export declare namespace RosRunCommand {
5822
6355
  }
5823
6356
  }
5824
6357
  /**
5825
- * Properties for defining a `ALIYUN::ECS::SNatEntry`
6358
+ * Properties for defining a `RosSNatEntry`.
6359
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-snatentry
5826
6360
  */
5827
6361
  export interface RosSNatEntryProps {
5828
6362
  /**
@@ -5834,11 +6368,11 @@ export interface RosSNatEntryProps {
5834
6368
  */
5835
6369
  readonly sNatTableId: string | ros.IResolvable;
5836
6370
  /**
5837
- * @Property snatEntryName: he name of the SNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP:// or https://.
6371
+ * @Property snatEntryName: he name of the SNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP:\/\/ or https:\/\/.
5838
6372
  */
5839
6373
  readonly snatEntryName?: string | ros.IResolvable;
5840
6374
  /**
5841
- * @Property sourceCidr: Specifies the network segment of the switch. For example, 10.0.0.1/24. This parameter and the SourceVSwtichId parameter are mutually exclusive and cannot appear at the same time.
6375
+ * @Property sourceCidr: Specifies the network segment of the switch. For example, 10.0.0.1\/24. This parameter and the SourceVSwtichId parameter are mutually exclusive and cannot appear at the same time.
5842
6376
  */
5843
6377
  readonly sourceCidr?: string | ros.IResolvable;
5844
6378
  /**
@@ -5847,17 +6381,15 @@ export interface RosSNatEntryProps {
5847
6381
  readonly sourceVSwitchId?: string | ros.IResolvable;
5848
6382
  }
5849
6383
  /**
5850
- * A ROS template type: `ALIYUN::ECS::SNatEntry`
6384
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::SNatEntry`, which is used to configure the Source Network Address Translation (SNAT) table of a NAT gateway.
6385
+ * @Note This class does not contain additional functions, so it is recommended to use the `SNatEntry` class instead of this class for a more convenient development experience.
6386
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-snatentry
5851
6387
  */
5852
6388
  export declare class RosSNatEntry extends ros.RosResource {
5853
6389
  /**
5854
6390
  * The resource type name for this resource class.
5855
6391
  */
5856
6392
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::SNatEntry";
5857
- /**
5858
- * A factory method that creates a new instance of this class from an object
5859
- * containing the properties of this ROS resource.
5860
- */
5861
6393
  /**
5862
6394
  * @Attribute SNatEntryId: The id of created SNAT entry.
5863
6395
  */
@@ -5872,11 +6404,11 @@ export declare class RosSNatEntry extends ros.RosResource {
5872
6404
  */
5873
6405
  sNatTableId: string | ros.IResolvable;
5874
6406
  /**
5875
- * @Property snatEntryName: he name of the SNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP:// or https://.
6407
+ * @Property snatEntryName: he name of the SNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP:\/\/ or https:\/\/.
5876
6408
  */
5877
6409
  snatEntryName: string | ros.IResolvable | undefined;
5878
6410
  /**
5879
- * @Property sourceCidr: Specifies the network segment of the switch. For example, 10.0.0.1/24. This parameter and the SourceVSwtichId parameter are mutually exclusive and cannot appear at the same time.
6411
+ * @Property sourceCidr: Specifies the network segment of the switch. For example, 10.0.0.1\/24. This parameter and the SourceVSwtichId parameter are mutually exclusive and cannot appear at the same time.
5880
6412
  */
5881
6413
  sourceCidr: string | ros.IResolvable | undefined;
5882
6414
  /**
@@ -5884,8 +6416,6 @@ export declare class RosSNatEntry extends ros.RosResource {
5884
6416
  */
5885
6417
  sourceVSwitchId: string | ros.IResolvable | undefined;
5886
6418
  /**
5887
- * Create a new `ALIYUN::ECS::SNatEntry`.
5888
- *
5889
6419
  * @param scope - scope in which this resource is defined
5890
6420
  * @param id - scoped id of the resource
5891
6421
  * @param props - resource properties
@@ -5901,11 +6431,12 @@ export declare class RosSNatEntry extends ros.RosResource {
5901
6431
  };
5902
6432
  }
5903
6433
  /**
5904
- * Properties for defining a `ALIYUN::ECS::SSHKeyPair`
6434
+ * Properties for defining a `RosSSHKeyPair`.
6435
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-sshkeypair
5905
6436
  */
5906
6437
  export interface RosSSHKeyPairProps {
5907
6438
  /**
5908
- * @Property keyPairName: SSH key pair name. It must be unique. [2, 128] characters. All character sets are supported. Do not start with a special character, digit, http://, or https://. It can contain digits, ".", "_", or "-".
6439
+ * @Property keyPairName: SSH key pair name. It must be unique. [2, 128] characters. All character sets are supported. Do not start with a special character, digit, http:\/\/, or https:\/\/. It can contain digits, ".", "_", or "-".
5909
6440
  */
5910
6441
  readonly keyPairName: string | ros.IResolvable;
5911
6442
  /**
@@ -5922,17 +6453,15 @@ export interface RosSSHKeyPairProps {
5922
6453
  readonly tags?: RosSSHKeyPair.TagsProperty[];
5923
6454
  }
5924
6455
  /**
5925
- * A ROS template type: `ALIYUN::ECS::SSHKeyPair`
6456
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::SSHKeyPair`, which is used to create an SSH key pair or import an existing SSH key pair to access an Elastic Compute Service (ECS) instance.
6457
+ * @Note This class does not contain additional functions, so it is recommended to use the `SSHKeyPair` class instead of this class for a more convenient development experience.
6458
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-sshkeypair
5926
6459
  */
5927
6460
  export declare class RosSSHKeyPair extends ros.RosResource {
5928
6461
  /**
5929
6462
  * The resource type name for this resource class.
5930
6463
  */
5931
6464
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::SSHKeyPair";
5932
- /**
5933
- * A factory method that creates a new instance of this class from an object
5934
- * containing the properties of this ROS resource.
5935
- */
5936
6465
  /**
5937
6466
  * @Attribute KeyPairFingerPrint: The fingerprint of the key pair. The public key fingerprint format defined in RFC4716: MD5 message digest algorithm. Refer to http://tools.ietf.org/html/rfc4716.
5938
6467
  */
@@ -5947,7 +6476,7 @@ export declare class RosSSHKeyPair extends ros.RosResource {
5947
6476
  readonly attrPrivateKeyBody: ros.IResolvable;
5948
6477
  enableResourcePropertyConstraint: boolean;
5949
6478
  /**
5950
- * @Property keyPairName: SSH key pair name. It must be unique. [2, 128] characters. All character sets are supported. Do not start with a special character, digit, http://, or https://. It can contain digits, ".", "_", or "-".
6479
+ * @Property keyPairName: SSH key pair name. It must be unique. [2, 128] characters. All character sets are supported. Do not start with a special character, digit, http:\/\/, or https:\/\/. It can contain digits, ".", "_", or "-".
5951
6480
  */
5952
6481
  keyPairName: string | ros.IResolvable;
5953
6482
  /**
@@ -5963,8 +6492,6 @@ export declare class RosSSHKeyPair extends ros.RosResource {
5963
6492
  */
5964
6493
  tags: RosSSHKeyPair.TagsProperty[] | undefined;
5965
6494
  /**
5966
- * Create a new `ALIYUN::ECS::SSHKeyPair`.
5967
- *
5968
6495
  * @param scope - scope in which this resource is defined
5969
6496
  * @param id - scoped id of the resource
5970
6497
  * @param props - resource properties
@@ -5995,7 +6522,8 @@ export declare namespace RosSSHKeyPair {
5995
6522
  }
5996
6523
  }
5997
6524
  /**
5998
- * Properties for defining a `ALIYUN::ECS::SSHKeyPairAttachment`
6525
+ * Properties for defining a `RosSSHKeyPairAttachment`.
6526
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-sshkeypairattachment
5999
6527
  */
6000
6528
  export interface RosSSHKeyPairAttachmentProps {
6001
6529
  /**
@@ -6013,17 +6541,15 @@ export interface RosSSHKeyPairAttachmentProps {
6013
6541
  readonly autoReboot?: boolean | ros.IResolvable;
6014
6542
  }
6015
6543
  /**
6016
- * A ROS template type: `ALIYUN::ECS::SSHKeyPairAttachment`
6544
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::SSHKeyPairAttachment`, which is used to attach an SSH key pair to Elastic Compute Service (ECS) instances.
6545
+ * @Note This class does not contain additional functions, so it is recommended to use the `SSHKeyPairAttachment` class instead of this class for a more convenient development experience.
6546
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-sshkeypairattachment
6017
6547
  */
6018
6548
  export declare class RosSSHKeyPairAttachment extends ros.RosResource {
6019
6549
  /**
6020
6550
  * The resource type name for this resource class.
6021
6551
  */
6022
6552
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::SSHKeyPairAttachment";
6023
- /**
6024
- * A factory method that creates a new instance of this class from an object
6025
- * containing the properties of this ROS resource.
6026
- */
6027
6553
  enableResourcePropertyConstraint: boolean;
6028
6554
  /**
6029
6555
  * @Property instanceIds: The comma delimited ECS instance id list. Only support Linux.
@@ -6039,8 +6565,6 @@ export declare class RosSSHKeyPairAttachment extends ros.RosResource {
6039
6565
  */
6040
6566
  autoReboot: boolean | ros.IResolvable | undefined;
6041
6567
  /**
6042
- * Create a new `ALIYUN::ECS::SSHKeyPairAttachment`.
6043
- *
6044
6568
  * @param scope - scope in which this resource is defined
6045
6569
  * @param id - scoped id of the resource
6046
6570
  * @param props - resource properties
@@ -6056,7 +6580,8 @@ export declare class RosSSHKeyPairAttachment extends ros.RosResource {
6056
6580
  };
6057
6581
  }
6058
6582
  /**
6059
- * Properties for defining a `ALIYUN::ECS::SecurityGroup`
6583
+ * Properties for defining a `RosSecurityGroup`.
6584
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-securitygroup
6060
6585
  */
6061
6586
  export interface RosSecurityGroupProps {
6062
6587
  /**
@@ -6095,17 +6620,15 @@ export interface RosSecurityGroupProps {
6095
6620
  readonly vpcId?: string | ros.IResolvable;
6096
6621
  }
6097
6622
  /**
6098
- * A ROS template type: `ALIYUN::ECS::SecurityGroup`
6623
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::SecurityGroup`, which is used to create a security group.
6624
+ * @Note This class does not contain additional functions, so it is recommended to use the `SecurityGroup` class instead of this class for a more convenient development experience.
6625
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-securitygroup
6099
6626
  */
6100
6627
  export declare class RosSecurityGroup extends ros.RosResource {
6101
6628
  /**
6102
6629
  * The resource type name for this resource class.
6103
6630
  */
6104
6631
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::SecurityGroup";
6105
- /**
6106
- * A factory method that creates a new instance of this class from an object
6107
- * containing the properties of this ROS resource.
6108
- */
6109
6632
  /**
6110
6633
  * @Attribute SecurityGroupId: generated security group id for security group.
6111
6634
  */
@@ -6150,8 +6673,6 @@ export declare class RosSecurityGroup extends ros.RosResource {
6150
6673
  */
6151
6674
  vpcId: string | ros.IResolvable | undefined;
6152
6675
  /**
6153
- * Create a new `ALIYUN::ECS::SecurityGroup`.
6154
- *
6155
6676
  * @param scope - scope in which this resource is defined
6156
6677
  * @param id - scoped id of the resource
6157
6678
  * @param props - resource properties
@@ -6176,7 +6697,7 @@ export declare namespace RosSecurityGroup {
6176
6697
  */
6177
6698
  readonly policy?: string | ros.IResolvable;
6178
6699
  /**
6179
- * @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1/200'For icmp|gre|all protocel, the port range should be '-1/-1'
6700
+ * @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1\/200'For icmp|gre|all protocel, the port range should be '-1\/-1'
6180
6701
  */
6181
6702
  readonly portRange: string | ros.IResolvable;
6182
6703
  /**
@@ -6242,7 +6763,7 @@ export declare namespace RosSecurityGroup {
6242
6763
  */
6243
6764
  readonly description?: string | ros.IResolvable;
6244
6765
  /**
6245
- * @Property sourcePortRange: The range of the ports enabled by the source security group for the transport layer protocol. Valid values: TCP/UDP: Value range: 1 to 65535. The start port and the end port are separated by a slash (/). Correct example: 1/200. Incorrect example: 200/1.ICMP: -1/-1.GRE: -1/-1.ALL: -1/-1.
6766
+ * @Property sourcePortRange: The range of the ports enabled by the source security group for the transport layer protocol. Valid values: TCP\/UDP: Value range: 1 to 65535. The start port and the end port are separated by a slash (\/). Correct example: 1\/200. Incorrect example: 200\/1.ICMP: -1\/-1.GRE: -1\/-1.ALL: -1\/-1.
6246
6767
  */
6247
6768
  readonly sourcePortRange?: string | ros.IResolvable;
6248
6769
  /**
@@ -6267,7 +6788,7 @@ export declare namespace RosSecurityGroup {
6267
6788
  */
6268
6789
  readonly nicType?: string | ros.IResolvable;
6269
6790
  /**
6270
- * @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1/200'For icmp|gre|all protocel, the port range should be '-1/-1'
6791
+ * @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1\/200'For icmp|gre|all protocel, the port range should be '-1\/-1'
6271
6792
  */
6272
6793
  readonly portRange: string | ros.IResolvable;
6273
6794
  /**
@@ -6302,7 +6823,8 @@ export declare namespace RosSecurityGroup {
6302
6823
  }
6303
6824
  }
6304
6825
  /**
6305
- * Properties for defining a `ALIYUN::ECS::SecurityGroupClone`
6826
+ * Properties for defining a `RosSecurityGroupClone`.
6827
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-securitygroupclone
6306
6828
  */
6307
6829
  export interface RosSecurityGroupCloneProps {
6308
6830
  /**
@@ -6341,17 +6863,15 @@ export interface RosSecurityGroupCloneProps {
6341
6863
  readonly vpcId?: string | ros.IResolvable;
6342
6864
  }
6343
6865
  /**
6344
- * A ROS template type: `ALIYUN::ECS::SecurityGroupClone`
6866
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::SecurityGroupClone`, which is used to clone a security group.
6867
+ * @Note This class does not contain additional functions, so it is recommended to use the `SecurityGroupClone` class instead of this class for a more convenient development experience.
6868
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-securitygroupclone
6345
6869
  */
6346
6870
  export declare class RosSecurityGroupClone extends ros.RosResource {
6347
6871
  /**
6348
6872
  * The resource type name for this resource class.
6349
6873
  */
6350
6874
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::SecurityGroupClone";
6351
- /**
6352
- * A factory method that creates a new instance of this class from an object
6353
- * containing the properties of this ROS resource.
6354
- */
6355
6875
  /**
6356
6876
  * @Attribute SecurityGroupId: Generated security group id of new security group.
6357
6877
  */
@@ -6392,8 +6912,6 @@ export declare class RosSecurityGroupClone extends ros.RosResource {
6392
6912
  */
6393
6913
  vpcId: string | ros.IResolvable | undefined;
6394
6914
  /**
6395
- * Create a new `ALIYUN::ECS::SecurityGroupClone`.
6396
- *
6397
6915
  * @param scope - scope in which this resource is defined
6398
6916
  * @param id - scoped id of the resource
6399
6917
  * @param props - resource properties
@@ -6409,7 +6927,8 @@ export declare class RosSecurityGroupClone extends ros.RosResource {
6409
6927
  };
6410
6928
  }
6411
6929
  /**
6412
- * Properties for defining a `ALIYUN::ECS::SecurityGroupEgress`
6930
+ * Properties for defining a `RosSecurityGroupEgress`.
6931
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-securitygroupegress
6413
6932
  */
6414
6933
  export interface RosSecurityGroupEgressProps {
6415
6934
  /**
@@ -6417,7 +6936,7 @@ export interface RosSecurityGroupEgressProps {
6417
6936
  */
6418
6937
  readonly ipProtocol: string | ros.IResolvable;
6419
6938
  /**
6420
- * @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1/200'For icmp|gre|all protocel, the port range should be '-1/-1'
6939
+ * @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1\/200'For icmp|gre|all protocel, the port range should be '-1\/-1'
6421
6940
  */
6422
6941
  readonly portRange: string | ros.IResolvable;
6423
6942
  /**
@@ -6465,24 +6984,22 @@ export interface RosSecurityGroupEgressProps {
6465
6984
  readonly securityGroupId?: string | ros.IResolvable;
6466
6985
  }
6467
6986
  /**
6468
- * A ROS template type: `ALIYUN::ECS::SecurityGroupEgress`
6987
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::SecurityGroupEgress`, which is used to create an outbound access rule for a security group.
6988
+ * @Note This class does not contain additional functions, so it is recommended to use the `SecurityGroupEgress` class instead of this class for a more convenient development experience.
6989
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-securitygroupegress
6469
6990
  */
6470
6991
  export declare class RosSecurityGroupEgress extends ros.RosResource {
6471
6992
  /**
6472
6993
  * The resource type name for this resource class.
6473
6994
  */
6474
6995
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::SecurityGroupEgress";
6475
- /**
6476
- * A factory method that creates a new instance of this class from an object
6477
- * containing the properties of this ROS resource.
6478
- */
6479
6996
  enableResourcePropertyConstraint: boolean;
6480
6997
  /**
6481
6998
  * @Property ipProtocol: Ip protocol for in rule.
6482
6999
  */
6483
7000
  ipProtocol: string | ros.IResolvable;
6484
7001
  /**
6485
- * @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1/200'For icmp|gre|all protocel, the port range should be '-1/-1'
7002
+ * @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1\/200'For icmp|gre|all protocel, the port range should be '-1\/-1'
6486
7003
  */
6487
7004
  portRange: string | ros.IResolvable;
6488
7005
  /**
@@ -6529,8 +7046,6 @@ export declare class RosSecurityGroupEgress extends ros.RosResource {
6529
7046
  */
6530
7047
  securityGroupId: string | ros.IResolvable | undefined;
6531
7048
  /**
6532
- * Create a new `ALIYUN::ECS::SecurityGroupEgress`.
6533
- *
6534
7049
  * @param scope - scope in which this resource is defined
6535
7050
  * @param id - scoped id of the resource
6536
7051
  * @param props - resource properties
@@ -6546,7 +7061,8 @@ export declare class RosSecurityGroupEgress extends ros.RosResource {
6546
7061
  };
6547
7062
  }
6548
7063
  /**
6549
- * Properties for defining a `ALIYUN::ECS::SecurityGroupIngress`
7064
+ * Properties for defining a `RosSecurityGroupIngress`.
7065
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-securitygroupingress
6550
7066
  */
6551
7067
  export interface RosSecurityGroupIngressProps {
6552
7068
  /**
@@ -6554,7 +7070,7 @@ export interface RosSecurityGroupIngressProps {
6554
7070
  */
6555
7071
  readonly ipProtocol: string | ros.IResolvable;
6556
7072
  /**
6557
- * @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1/200'For icmp|gre|all protocel, the port range should be '-1/-1'
7073
+ * @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1\/200'For icmp|gre|all protocel, the port range should be '-1\/-1'
6558
7074
  */
6559
7075
  readonly portRange: string | ros.IResolvable;
6560
7076
  /**
@@ -6595,7 +7111,7 @@ export interface RosSecurityGroupIngressProps {
6595
7111
  */
6596
7112
  readonly sourceGroupOwnerId?: string | ros.IResolvable;
6597
7113
  /**
6598
- * @Property sourcePortRange: The range of the ports enabled by the source security group for the transport layer protocol. Valid values: TCP/UDP: Value range: 1 to 65535. The start port and the end port are separated by a slash (/). Correct example: 1/200. Incorrect example: 200/1.ICMP: -1/-1.GRE: -1/-1.ALL: -1/-1.
7114
+ * @Property sourcePortRange: The range of the ports enabled by the source security group for the transport layer protocol. Valid values: TCP\/UDP: Value range: 1 to 65535. The start port and the end port are separated by a slash (\/). Correct example: 1\/200. Incorrect example: 200\/1.ICMP: -1\/-1.GRE: -1\/-1.ALL: -1\/-1.
6599
7115
  */
6600
7116
  readonly sourcePortRange?: string | ros.IResolvable;
6601
7117
  /**
@@ -6606,24 +7122,22 @@ export interface RosSecurityGroupIngressProps {
6606
7122
  readonly sourcePrefixListId?: string | ros.IResolvable;
6607
7123
  }
6608
7124
  /**
6609
- * A ROS template type: `ALIYUN::ECS::SecurityGroupIngress`
7125
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::SecurityGroupIngress`, which is used to create an inbound rule for a security group.
7126
+ * @Note This class does not contain additional functions, so it is recommended to use the `SecurityGroupIngress` class instead of this class for a more convenient development experience.
7127
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-securitygroupingress
6610
7128
  */
6611
7129
  export declare class RosSecurityGroupIngress extends ros.RosResource {
6612
7130
  /**
6613
7131
  * The resource type name for this resource class.
6614
7132
  */
6615
7133
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::SecurityGroupIngress";
6616
- /**
6617
- * A factory method that creates a new instance of this class from an object
6618
- * containing the properties of this ROS resource.
6619
- */
6620
7134
  enableResourcePropertyConstraint: boolean;
6621
7135
  /**
6622
7136
  * @Property ipProtocol: Ip protocol for in rule.
6623
7137
  */
6624
7138
  ipProtocol: string | ros.IResolvable;
6625
7139
  /**
6626
- * @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1/200'For icmp|gre|all protocel, the port range should be '-1/-1'
7140
+ * @Property portRange: Ip protocol relative port range. For tcp and udp, the port rang is [1,65535], using format '1\/200'For icmp|gre|all protocel, the port range should be '-1\/-1'
6627
7141
  */
6628
7142
  portRange: string | ros.IResolvable;
6629
7143
  /**
@@ -6664,7 +7178,7 @@ export declare class RosSecurityGroupIngress extends ros.RosResource {
6664
7178
  */
6665
7179
  sourceGroupOwnerId: string | ros.IResolvable | undefined;
6666
7180
  /**
6667
- * @Property sourcePortRange: The range of the ports enabled by the source security group for the transport layer protocol. Valid values: TCP/UDP: Value range: 1 to 65535. The start port and the end port are separated by a slash (/). Correct example: 1/200. Incorrect example: 200/1.ICMP: -1/-1.GRE: -1/-1.ALL: -1/-1.
7181
+ * @Property sourcePortRange: The range of the ports enabled by the source security group for the transport layer protocol. Valid values: TCP\/UDP: Value range: 1 to 65535. The start port and the end port are separated by a slash (\/). Correct example: 1\/200. Incorrect example: 200\/1.ICMP: -1\/-1.GRE: -1\/-1.ALL: -1\/-1.
6668
7182
  */
6669
7183
  sourcePortRange: string | ros.IResolvable | undefined;
6670
7184
  /**
@@ -6674,8 +7188,6 @@ export declare class RosSecurityGroupIngress extends ros.RosResource {
6674
7188
  */
6675
7189
  sourcePrefixListId: string | ros.IResolvable | undefined;
6676
7190
  /**
6677
- * Create a new `ALIYUN::ECS::SecurityGroupIngress`.
6678
- *
6679
7191
  * @param scope - scope in which this resource is defined
6680
7192
  * @param id - scoped id of the resource
6681
7193
  * @param props - resource properties
@@ -6691,7 +7203,8 @@ export declare class RosSecurityGroupIngress extends ros.RosResource {
6691
7203
  };
6692
7204
  }
6693
7205
  /**
6694
- * Properties for defining a `ALIYUN::ECS::Snapshot`
7206
+ * Properties for defining a `RosSnapshot`.
7207
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-snapshot
6695
7208
  */
6696
7209
  export interface RosSnapshotProps {
6697
7210
  /**
@@ -6699,7 +7212,7 @@ export interface RosSnapshotProps {
6699
7212
  */
6700
7213
  readonly diskId: string | ros.IResolvable;
6701
7214
  /**
6702
- * @Property description: The description of a snapshot can be 2 to 256 characters in length and cannot begin with http:// or https://. The description will appear on the console. By default, the value is zero.
7215
+ * @Property description: The description of a snapshot can be 2 to 256 characters in length and cannot begin with http:\/\/ or https:\/\/. The description will appear on the console. By default, the value is zero.
6703
7216
  */
6704
7217
  readonly description?: string | ros.IResolvable;
6705
7218
  /**
@@ -6729,7 +7242,7 @@ export interface RosSnapshotProps {
6729
7242
  */
6730
7243
  readonly retentionDays?: number | ros.IResolvable;
6731
7244
  /**
6732
- * @Property snapshotName: The name of the snapshot, [2, 128] English or Chinese characters. It must begin with an uppercase/lowercase letter or a Chinese character, and may contain numbers, '_' or '-'. It cannot begin with http:// or https://.
7245
+ * @Property snapshotName: The name of the snapshot, [2, 128] English or Chinese characters. It must begin with an uppercase\/lowercase letter or a Chinese character, and may contain numbers, '_' or '-'. It cannot begin with http:\/\/ or https:\/\/.
6733
7246
  */
6734
7247
  readonly snapshotName?: string | ros.IResolvable;
6735
7248
  /**
@@ -6742,17 +7255,15 @@ export interface RosSnapshotProps {
6742
7255
  readonly timeout?: number | ros.IResolvable;
6743
7256
  }
6744
7257
  /**
6745
- * A ROS template type: `ALIYUN::ECS::Snapshot`
7258
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::Snapshot`, which is used to create a snapshot for a disk.
7259
+ * @Note This class does not contain additional functions, so it is recommended to use the `Snapshot` class instead of this class for a more convenient development experience.
7260
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-snapshot
6746
7261
  */
6747
7262
  export declare class RosSnapshot extends ros.RosResource {
6748
7263
  /**
6749
7264
  * The resource type name for this resource class.
6750
7265
  */
6751
7266
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::Snapshot";
6752
- /**
6753
- * A factory method that creates a new instance of this class from an object
6754
- * containing the properties of this ROS resource.
6755
- */
6756
7267
  /**
6757
7268
  * @Attribute SnapshotId: The snapshot ID.
6758
7269
  */
@@ -6763,7 +7274,7 @@ export declare class RosSnapshot extends ros.RosResource {
6763
7274
  */
6764
7275
  diskId: string | ros.IResolvable;
6765
7276
  /**
6766
- * @Property description: The description of a snapshot can be 2 to 256 characters in length and cannot begin with http:// or https://. The description will appear on the console. By default, the value is zero.
7277
+ * @Property description: The description of a snapshot can be 2 to 256 characters in length and cannot begin with http:\/\/ or https:\/\/. The description will appear on the console. By default, the value is zero.
6767
7278
  */
6768
7279
  description: string | ros.IResolvable | undefined;
6769
7280
  /**
@@ -6793,7 +7304,7 @@ export declare class RosSnapshot extends ros.RosResource {
6793
7304
  */
6794
7305
  retentionDays: number | ros.IResolvable | undefined;
6795
7306
  /**
6796
- * @Property snapshotName: The name of the snapshot, [2, 128] English or Chinese characters. It must begin with an uppercase/lowercase letter or a Chinese character, and may contain numbers, '_' or '-'. It cannot begin with http:// or https://.
7307
+ * @Property snapshotName: The name of the snapshot, [2, 128] English or Chinese characters. It must begin with an uppercase\/lowercase letter or a Chinese character, and may contain numbers, '_' or '-'. It cannot begin with http:\/\/ or https:\/\/.
6797
7308
  */
6798
7309
  snapshotName: string | ros.IResolvable | undefined;
6799
7310
  /**
@@ -6805,8 +7316,6 @@ export declare class RosSnapshot extends ros.RosResource {
6805
7316
  */
6806
7317
  timeout: number | ros.IResolvable | undefined;
6807
7318
  /**
6808
- * Create a new `ALIYUN::ECS::Snapshot`.
6809
- *
6810
7319
  * @param scope - scope in which this resource is defined
6811
7320
  * @param id - scoped id of the resource
6812
7321
  * @param props - resource properties
@@ -6837,14 +7346,15 @@ export declare namespace RosSnapshot {
6837
7346
  }
6838
7347
  }
6839
7348
  /**
6840
- * Properties for defining a `ALIYUN::ECS::VPC`
7349
+ * Properties for defining a `RosVPC`.
7350
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-vpc
6841
7351
  */
6842
7352
  export interface RosVPCProps {
6843
7353
  /**
6844
7354
  * @Property cidrBlock: The IP address range of the VPC in the CIDR block form. You can use the following IP address ranges and their subnets:
6845
- * 10.0.0.0/8
6846
- * 172.16.0.0/12 (Default)
6847
- * 192.168.0.0/16
7355
+ * 10.0.0.0\/8
7356
+ * 172.16.0.0\/12 (Default)
7357
+ * 192.168.0.0\/16
6848
7358
  */
6849
7359
  readonly cidrBlock?: string | ros.IResolvable;
6850
7360
  /**
@@ -6891,17 +7401,15 @@ export interface RosVPCProps {
6891
7401
  readonly vpcName?: string | ros.IResolvable;
6892
7402
  }
6893
7403
  /**
6894
- * A ROS template type: `ALIYUN::ECS::VPC`
7404
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::VPC`, which is used to create a virtual private cloud (VPC).
7405
+ * @Note This class does not contain additional functions, so it is recommended to use the `VPC` class instead of this class for a more convenient development experience.
7406
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-vpc
6895
7407
  */
6896
7408
  export declare class RosVPC extends ros.RosResource {
6897
7409
  /**
6898
7410
  * The resource type name for this resource class.
6899
7411
  */
6900
7412
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::VPC";
6901
- /**
6902
- * A factory method that creates a new instance of this class from an object
6903
- * containing the properties of this ROS resource.
6904
- */
6905
7413
  /**
6906
7414
  * @Attribute RouteTableId: The router table id of created VPC.
6907
7415
  */
@@ -6917,9 +7425,9 @@ export declare class RosVPC extends ros.RosResource {
6917
7425
  enableResourcePropertyConstraint: boolean;
6918
7426
  /**
6919
7427
  * @Property cidrBlock: The IP address range of the VPC in the CIDR block form. You can use the following IP address ranges and their subnets:
6920
- * 10.0.0.0/8
6921
- * 172.16.0.0/12 (Default)
6922
- * 192.168.0.0/16
7428
+ * 10.0.0.0\/8
7429
+ * 172.16.0.0\/12 (Default)
7430
+ * 192.168.0.0\/16
6923
7431
  */
6924
7432
  cidrBlock: string | ros.IResolvable | undefined;
6925
7433
  /**
@@ -6965,8 +7473,6 @@ export declare class RosVPC extends ros.RosResource {
6965
7473
  */
6966
7474
  vpcName: string | ros.IResolvable | undefined;
6967
7475
  /**
6968
- * Create a new `ALIYUN::ECS::VPC`.
6969
- *
6970
7476
  * @param scope - scope in which this resource is defined
6971
7477
  * @param id - scoped id of the resource
6972
7478
  * @param props - resource properties
@@ -6997,7 +7503,8 @@ export declare namespace RosVPC {
6997
7503
  }
6998
7504
  }
6999
7505
  /**
7000
- * Properties for defining a `ALIYUN::ECS::VSwitch`
7506
+ * Properties for defining a `RosVSwitch`.
7507
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-vswitch
7001
7508
  */
7002
7509
  export interface RosVSwitchProps {
7003
7510
  /**
@@ -7041,17 +7548,15 @@ export interface RosVSwitchProps {
7041
7548
  readonly zoneType?: string | ros.IResolvable;
7042
7549
  }
7043
7550
  /**
7044
- * A ROS template type: `ALIYUN::ECS::VSwitch`
7551
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::ECS::VSwitch`, which is used to create a vSwitch.
7552
+ * @Note This class does not contain additional functions, so it is recommended to use the `VSwitch` class instead of this class for a more convenient development experience.
7553
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-vswitch
7045
7554
  */
7046
7555
  export declare class RosVSwitch extends ros.RosResource {
7047
7556
  /**
7048
7557
  * The resource type name for this resource class.
7049
7558
  */
7050
7559
  static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::ECS::VSwitch";
7051
- /**
7052
- * A factory method that creates a new instance of this class from an object
7053
- * containing the properties of this ROS resource.
7054
- */
7055
7560
  /**
7056
7561
  * @Attribute CidrBlock: CIDR Block of created VSwitch
7057
7562
  */
@@ -7105,8 +7610,6 @@ export declare class RosVSwitch extends ros.RosResource {
7105
7610
  */
7106
7611
  zoneType: string | ros.IResolvable | undefined;
7107
7612
  /**
7108
- * Create a new `ALIYUN::ECS::VSwitch`.
7109
- *
7110
7613
  * @param scope - scope in which this resource is defined
7111
7614
  * @param id - scoped id of the resource
7112
7615
  * @param props - resource properties