Instance
This class encapsulates and extends the ROS resource type DATASOURCE::ECS::Instance, which is used to query the information about an Elastic Compute Service (ECS) instance.
Initializers
from ros_cdk_ecs import datasource
datasource.Instance(
  scope: Construct,
  id: str,
  instance_id: typing.Union[str, IResolvable],
  refresh_options: typing.Union[str, IResolvable] = None,
  enable_resource_property_constraint: bool = None
)
| Name | Type | Description | 
|---|---|---|
scope | 
ros_cdk_core.Construct | 
No description. | 
id | 
str | 
No description. | 
instance_id | 
typing.Union[str, ros_cdk_core.IResolvable] | 
Property instanceId: Instance ID. | 
refresh_options | 
typing.Union[str, ros_cdk_core.IResolvable] | 
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. | 
enable_resource_property_constraint | 
bool | 
No description. | 
scopeRequired 
- Type: ros_cdk_core.Construct
 
idRequired 
- Type: str
 
instance_idRequired 
- Type: typing.Union[str, ros_cdk_core.IResolvable]
 
Property instanceId: Instance ID.
refresh_optionsOptional 
- Type: typing.Union[str, ros_cdk_core.IResolvable]
 
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
 - Always: Always refresh the datasource resource when the stack is updated. Default is Never.
 
enable_resource_property_constraintOptional 
- Type: bool
 
Methods
| Name | Description | 
|---|---|
to_string | 
Returns a string representation of this construct. | 
synthesize | 
Allows this construct to emit artifacts into the cloud assembly during synthesis. | 
add_condition | 
No description. | 
add_count | 
No description. | 
add_dependency | 
No description. | 
add_resource_desc | 
No description. | 
apply_removal_policy | 
No description. | 
get_att | 
No description. | 
set_metadata | 
No description. | 
to_string 
def to_string() -> str
Returns a string representation of this construct.
synthesize 
def synthesize(
  session: ISynthesisSession
) -> None
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack and Asset
as they participate in synthesizing the cloud assembly.
- Type: ros_cdk_core.ISynthesisSession
 
The synthesis session.
add_condition 
def add_condition(
  condition: RosCondition
) -> None
- Type: ros_cdk_core.RosCondition
 
add_count 
def add_count(
  count: typing.Union[typing.Union[int, float], IResolvable]
) -> None
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
 
add_dependency 
def add_dependency(
  resource: Resource
) -> None
- Type: ros_cdk_core.Resource
 
add_resource_desc 
def add_resource_desc(
  desc: str
) -> None
- Type: str
 
apply_removal_policy 
def apply_removal_policy(
  policy: RemovalPolicy
) -> None
- Type: ros_cdk_core.RemovalPolicy
 
get_att 
def get_att(
  name: str
) -> IResolvable
- Type: str
 
set_metadata 
def set_metadata(
  key: str,
  value: typing.Any
) -> None
- Type: str
 
- Type: typing.Any
 
Static Functions
| Name | Description | 
|---|---|
is_construct | 
Return whether the given object is a Construct. | 
is_construct 
from ros_cdk_ecs import datasource
datasource.Instance.is_construct(
  x: typing.Any
)
Return whether the given object is a Construct.
- Type: typing.Any
 
Properties
| Name | Type | Description | 
|---|---|---|
node | 
ros_cdk_core.ConstructNode | 
The construct tree node associated with this construct. | 
ref | 
str | 
No description. | 
stack | 
ros_cdk_core.Stack | 
The stack in which this resource is defined. | 
resource | 
ros_cdk_core.RosResource | 
No description. | 
attr_action_on_maintenance | 
ros_cdk_core.IResolvable | 
Attribute ActionOnMaintenance: The O&M action attribute of the instance. | 
attr_auto_reboot_time | 
ros_cdk_core.IResolvable | 
Attribute AutoRebootTime: Automatic reboot time after instance configuration change. | 
attr_auto_release_time | 
ros_cdk_core.IResolvable | 
Attribute AutoReleaseTime: The time when to automatically release the pay-as-you-go instance. | 
attr_auto_renew_enabled | 
ros_cdk_core.IResolvable | 
Attribute AutoRenewEnabled: Whether automatic renewal has been set. | 
attr_cluster_id | 
ros_cdk_core.IResolvable | 
Attribute ClusterId: The ID of the cluster to which the instance belongs. | 
attr_cpu | 
ros_cdk_core.IResolvable | 
Attribute Cpu: The number of vCPUs. | 
attr_cpu_options | 
ros_cdk_core.IResolvable | 
Attribute CpuOptions: Details about the CPU options. | 
attr_create_time | 
ros_cdk_core.IResolvable | 
Attribute CreateTime: The create time. | 
attr_credit_specification | 
ros_cdk_core.IResolvable | 
Attribute CreditSpecification: The performance mode of the burstable instance. | 
attr_dedicated_host_attribute | 
ros_cdk_core.IResolvable | 
Attribute DedicatedHostAttribute: Details about the dedicated host. | 
attr_dedicated_instance_attribute | 
ros_cdk_core.IResolvable | 
Attribute DedicatedInstanceAttribute: The attributes of the instance on the dedicated host. | 
attr_deletion_protection | 
ros_cdk_core.IResolvable | 
Attribute DeletionProtection: The release protection attribute of the instance. | 
attr_deployment_set_group_no | 
ros_cdk_core.IResolvable | 
Attribute DeploymentSetGroupNo: The number of the deployment set group to which the instance belongs in a deployment set. | 
attr_deployment_set_id | 
ros_cdk_core.IResolvable | 
Attribute DeploymentSetId: The ID of the deployment set in which the instance is deployed. | 
attr_description | 
ros_cdk_core.IResolvable | 
Attribute Description: The description of the instance. | 
attr_device_available | 
ros_cdk_core.IResolvable | 
Attribute DeviceAvailable: Indicates whether data disks can be attached to the instance. | 
attr_duration | 
ros_cdk_core.IResolvable | 
Attribute Duration: The duration of automatic renewal. | 
attr_ecs_capacity_reservation_attr | 
ros_cdk_core.IResolvable | 
Attribute EcsCapacityReservationAttr: Details about the capacity reservation related to the instance. | 
attr_eip_address | 
ros_cdk_core.IResolvable | 
Attribute EipAddress: Details about the EIP associated with the instance. | 
attr_expired_time | 
ros_cdk_core.IResolvable | 
Attribute ExpiredTime: The time when the instance expires. | 
attr_gpu_amount | 
ros_cdk_core.IResolvable | 
Attribute GpuAmount: The number of GPUs for the instance type. | 
attr_gpu_spec | 
ros_cdk_core.IResolvable | 
Attribute GpuSpec: The category of GPUs for the instance type. | 
attr_host_name | 
ros_cdk_core.IResolvable | 
Attribute HostName: The hostname of the instance. | 
attr_hpc_cluster_id | 
ros_cdk_core.IResolvable | 
Attribute HpcClusterId: ID of the HPC cluster to which the instance belongs. | 
attr_image_id | 
ros_cdk_core.IResolvable | 
Attribute ImageId: The ID of the image. | 
attr_instance_id | 
ros_cdk_core.IResolvable | 
Attribute InstanceId: The ID of the instance. | 
attr_instance_name | 
ros_cdk_core.IResolvable | 
Attribute InstanceName: The name of the instance. | 
attr_instance_network_type | 
ros_cdk_core.IResolvable | 
Attribute InstanceNetworkType: The network type of the instance. | 
attr_instance_type | 
ros_cdk_core.IResolvable | 
Attribute InstanceType: The instance type of the instance. | 
attr_instance_type_family | 
ros_cdk_core.IResolvable | 
Attribute InstanceTypeFamily: The instance family of the instance. | 
attr_internet_charge_type | 
ros_cdk_core.IResolvable | 
Attribute InternetChargeType: The billing method for network usage. | 
attr_internet_max_bandwidth_in | 
ros_cdk_core.IResolvable | 
Attribute InternetMaxBandwidthIn: The maximum inbound public bandwidth. | 
attr_internet_max_bandwidth_out | 
ros_cdk_core.IResolvable | 
Attribute InternetMaxBandwidthOut: The maximum outbound public bandwidth. | 
attr_io_optimized | 
ros_cdk_core.IResolvable | 
Attribute IoOptimized: Specifies whether the instance is I/O optimized. | 
attr_key_pair_name | 
ros_cdk_core.IResolvable | 
Attribute KeyPairName: The name of the SSH key pair bound to the instance. | 
attr_local_storage_amount | 
ros_cdk_core.IResolvable | 
Attribute LocalStorageAmount: The number of local disks attached to the instance. | 
attr_local_storage_capacity | 
ros_cdk_core.IResolvable | 
Attribute LocalStorageCapacity: The capacity of local disks attached to the instance. | 
attr_maintenance_windows | 
ros_cdk_core.IResolvable | 
Attribute MaintenanceWindows: The list of operations window instances. | 
attr_memory | 
ros_cdk_core.IResolvable | 
Attribute Memory: The memory size of the instance. | 
attr_metadata_options | 
ros_cdk_core.IResolvable | 
Attribute MetadataOptions: Details about the metadata options. | 
attr_network_interfaces | 
ros_cdk_core.IResolvable | 
Attribute NetworkInterfaces: Details about the ENIs bound to the instance. | 
attr_notify_on_maintenance | 
ros_cdk_core.IResolvable | 
Attribute NotifyOnMaintenance: Whether to send an event notification before the instance goes down. | 
attr_operation_locks | 
ros_cdk_core.IResolvable | 
Attribute OperationLocks: The reasons why the instance was locked. | 
attr_os_name | 
ros_cdk_core.IResolvable | 
Attribute OsName: The name of the operating system of the instance. | 
attr_os_name_en | 
ros_cdk_core.IResolvable | 
Attribute OsNameEn: The English name of the operating system of the instance. | 
attr_os_type | 
ros_cdk_core.IResolvable | 
Attribute OsType: The type of the operating system of the instance. | 
attr_payment_type | 
ros_cdk_core.IResolvable | 
Attribute PaymentType: The billing method of the instance. | 
attr_period_unit | 
ros_cdk_core.IResolvable | 
Attribute PeriodUnit: Renewal unit. | 
attr_private_pool_options_id | 
ros_cdk_core.IResolvable | 
Attribute PrivatePoolOptionsId: Private pool ID. | 
attr_private_pool_options_match_criteria | 
ros_cdk_core.IResolvable | 
Attribute PrivatePoolOptionsMatchCriteria: The private pool matching pattern of the instance. | 
attr_public_ip_address | 
ros_cdk_core.IResolvable | 
Attribute PublicIpAddress: The public IP addresses of the instance. | 
attr_rdma_ip_address | 
ros_cdk_core.IResolvable | 
Attribute RdmaIpAddress: The RDMA network IP of the HPC instance. | 
attr_recyclable | 
ros_cdk_core.IResolvable | 
Attribute Recyclable: Indicates whether the instance can be recycled. | 
attr_renewal_status | 
ros_cdk_core.IResolvable | 
Attribute RenewalStatus: The automatic renewal status of the instance. | 
attr_resource_group_id | 
ros_cdk_core.IResolvable | 
Attribute ResourceGroupId: The ID of the resource group to which the instance belongs. | 
attr_sale_cycle | 
ros_cdk_core.IResolvable | 
Attribute SaleCycle: Instance billing cycles. | 
attr_security_group_ids | 
ros_cdk_core.IResolvable | 
Attribute SecurityGroupIds: The IDs of the security groups to which the instance belongs. | 
attr_serial_number | 
ros_cdk_core.IResolvable | 
Attribute SerialNumber: The serial number of the instance. | 
attr_spot_duration | 
ros_cdk_core.IResolvable | 
Attribute SpotDuration: The protection period of the preemptible instance. | 
attr_spot_price_limit | 
ros_cdk_core.IResolvable | 
Attribute SpotPriceLimit: The maximum hourly price of the instance. | 
attr_spot_strategy | 
ros_cdk_core.IResolvable | 
Attribute SpotStrategy: The bidding policy for the pay-as-you-go instance. | 
attr_start_time | 
ros_cdk_core.IResolvable | 
Attribute StartTime: The time when the instance was last started. | 
attr_stopped_mode | 
ros_cdk_core.IResolvable | 
Attribute StoppedMode: Indicates whether the instance continues to be billed after it is stopped. | 
attr_tags | 
ros_cdk_core.IResolvable | 
Attribute Tags: The tags of the instance. | 
attr_user_data | 
ros_cdk_core.IResolvable | 
Attribute UserData: The custom data of the instance. | 
attr_vpc_attributes | 
ros_cdk_core.IResolvable | 
Attribute VpcAttributes: The VPC attributes of the instance. | 
attr_zone_id | 
ros_cdk_core.IResolvable | 
Attribute ZoneId: The zone ID of the instance. | 
nodeRequired 
node: ConstructNode
- Type: ros_cdk_core.ConstructNode
 
The construct tree node associated with this construct.
refRequired 
ref: str
- Type: str
 
stackRequired 
stack: Stack
- Type: ros_cdk_core.Stack
 
The stack in which this resource is defined.
resourceOptional 
resource: RosResource
- Type: ros_cdk_core.RosResource
 
attr_action_on_maintenanceRequired 
attr_action_on_maintenance: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute ActionOnMaintenance: The O&M action attribute of the instance.
attr_auto_reboot_timeRequired 
attr_auto_reboot_time: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute AutoRebootTime: Automatic reboot time after instance configuration change.
attr_auto_release_timeRequired 
attr_auto_release_time: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute AutoReleaseTime: The time when to automatically release the pay-as-you-go instance.
attr_auto_renew_enabledRequired 
attr_auto_renew_enabled: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute AutoRenewEnabled: Whether automatic renewal has been set.
attr_cluster_idRequired 
attr_cluster_id: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute ClusterId: The ID of the cluster to which the instance belongs.
attr_cpuRequired 
attr_cpu: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute Cpu: The number of vCPUs.
attr_cpu_optionsRequired 
attr_cpu_options: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute CpuOptions: Details about the CPU options.
attr_create_timeRequired 
attr_create_time: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute CreateTime: The create time.
attr_credit_specificationRequired 
attr_credit_specification: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute CreditSpecification: The performance mode of the burstable instance.
attr_dedicated_host_attributeRequired 
attr_dedicated_host_attribute: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute DedicatedHostAttribute: Details about the dedicated host.
It is an array that consists of the DedicatedHostClusterId, DedicatedHostId, and DedicatedHostName parameters.
attr_dedicated_instance_attributeRequired 
attr_dedicated_instance_attribute: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute DedicatedInstanceAttribute: The attributes of the instance on the dedicated host.
attr_deletion_protectionRequired 
attr_deletion_protection: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute DeletionProtection: The release protection attribute of the instance.
This parameter indicates whether you can use the ECS console or call the DeleteInstance operation to release the instance.
attr_deployment_set_group_noRequired 
attr_deployment_set_group_no: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute DeploymentSetGroupNo: The number of the deployment set group to which the instance belongs in a deployment set.
attr_deployment_set_idRequired 
attr_deployment_set_id: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute DeploymentSetId: The ID of the deployment set in which the instance is deployed.
attr_descriptionRequired 
attr_description: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute Description: The description of the instance.
attr_device_availableRequired 
attr_device_available: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute DeviceAvailable: Indicates whether data disks can be attached to the instance.
attr_durationRequired 
attr_duration: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute Duration: The duration of automatic renewal.
attr_ecs_capacity_reservation_attrRequired 
attr_ecs_capacity_reservation_attr: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute EcsCapacityReservationAttr: Details about the capacity reservation related to the instance.
attr_eip_addressRequired 
attr_eip_address: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute EipAddress: Details about the EIP associated with the instance.
attr_expired_timeRequired 
attr_expired_time: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute ExpiredTime: The time when the instance expires.
The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
attr_gpu_amountRequired 
attr_gpu_amount: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute GpuAmount: The number of GPUs for the instance type.
attr_gpu_specRequired 
attr_gpu_spec: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute GpuSpec: The category of GPUs for the instance type.
attr_host_nameRequired 
attr_host_name: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute HostName: The hostname of the instance.
attr_hpc_cluster_idRequired 
attr_hpc_cluster_id: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute HpcClusterId: ID of the HPC cluster to which the instance belongs.
attr_image_idRequired 
attr_image_id: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute ImageId: The ID of the image.
attr_instance_idRequired 
attr_instance_id: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute InstanceId: The ID of the instance.
attr_instance_nameRequired 
attr_instance_name: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute InstanceName: The name of the instance.
Fuzzy search with the asterisk (*) wildcard characters is supported.
attr_instance_network_typeRequired 
attr_instance_network_type: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute InstanceNetworkType: The network type of the instance.
attr_instance_typeRequired 
attr_instance_type: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute InstanceType: The instance type of the instance.
attr_instance_type_familyRequired 
attr_instance_type_family: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute InstanceTypeFamily: The instance family of the instance.
attr_internet_charge_typeRequired 
attr_internet_charge_type: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute InternetChargeType: The billing method for network usage.
attr_internet_max_bandwidth_inRequired 
attr_internet_max_bandwidth_in: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute InternetMaxBandwidthIn: The maximum inbound public bandwidth.
Unit: Mbit/s.
attr_internet_max_bandwidth_outRequired 
attr_internet_max_bandwidth_out: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute InternetMaxBandwidthOut: The maximum outbound public bandwidth.
Unit: Mbit/s.
attr_io_optimizedRequired 
attr_io_optimized: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute IoOptimized: Specifies whether the instance is I/O optimized.
attr_key_pair_nameRequired 
attr_key_pair_name: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute KeyPairName: The name of the SSH key pair bound to the instance.
attr_local_storage_amountRequired 
attr_local_storage_amount: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute LocalStorageAmount: The number of local disks attached to the instance.
attr_local_storage_capacityRequired 
attr_local_storage_capacity: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute LocalStorageCapacity: The capacity of local disks attached to the instance.
attr_maintenance_windowsRequired 
attr_maintenance_windows: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute MaintenanceWindows: The list of operations window instances.
attr_memoryRequired 
attr_memory: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute Memory: The memory size of the instance.
Unit: MiB.
attr_metadata_optionsRequired 
attr_metadata_options: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute MetadataOptions: Details about the metadata options.
attr_network_interfacesRequired 
attr_network_interfaces: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute NetworkInterfaces: Details about the ENIs bound to the instance.
attr_notify_on_maintenanceRequired 
attr_notify_on_maintenance: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute NotifyOnMaintenance: Whether to send an event notification before the instance goes down.
attr_operation_locksRequired 
attr_operation_locks: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute OperationLocks: The reasons why the instance was locked.
attr_os_nameRequired 
attr_os_name: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute OsName: The name of the operating system of the instance.
attr_os_name_enRequired 
attr_os_name_en: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute OsNameEn: The English name of the operating system of the instance.
attr_os_typeRequired 
attr_os_type: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute OsType: The type of the operating system of the instance.
attr_payment_typeRequired 
attr_payment_type: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute PaymentType: The billing method of the instance.
attr_period_unitRequired 
attr_period_unit: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute PeriodUnit: Renewal unit.
attr_private_pool_options_idRequired 
attr_private_pool_options_id: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute PrivatePoolOptionsId: Private pool ID.
When the return value is open, the private pool ID is the private pool ID assigned when the system automatically matches.
attr_private_pool_options_match_criteriaRequired 
attr_private_pool_options_match_criteria: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute PrivatePoolOptionsMatchCriteria: The private pool matching pattern of the instance.
attr_public_ip_addressRequired 
attr_public_ip_address: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute PublicIpAddress: The public IP addresses of the instance.
attr_rdma_ip_addressRequired 
attr_rdma_ip_address: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute RdmaIpAddress: The RDMA network IP of the HPC instance.
attr_recyclableRequired 
attr_recyclable: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute Recyclable: Indicates whether the instance can be recycled.
attr_renewal_statusRequired 
attr_renewal_status: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute RenewalStatus: The automatic renewal status of the instance.
attr_resource_group_idRequired 
attr_resource_group_id: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute ResourceGroupId: The ID of the resource group to which the instance belongs.
If this parameter is specified to query resources, up to 1,000 resources that belong to the specified resource group can be displayed in the response.
attr_sale_cycleRequired 
attr_sale_cycle: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute SaleCycle: Instance billing cycles.
attr_security_group_idsRequired 
attr_security_group_ids: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute SecurityGroupIds: The IDs of the security groups to which the instance belongs.
attr_serial_numberRequired 
attr_serial_number: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute SerialNumber: The serial number of the instance.
attr_spot_durationRequired 
attr_spot_duration: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute SpotDuration: The protection period of the preemptible instance.
Unit: hours.
attr_spot_price_limitRequired 
attr_spot_price_limit: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute SpotPriceLimit: The maximum hourly price of the instance.
It can be accurate to three decimal places. This parameter is valid only when the SpotStrategy parameter is set to SpotWithPriceLimit.
attr_spot_strategyRequired 
attr_spot_strategy: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute SpotStrategy: The bidding policy for the pay-as-you-go instance.
attr_start_timeRequired 
attr_start_time: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute StartTime: The time when the instance was last started.
The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
attr_stopped_modeRequired 
attr_stopped_mode: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute StoppedMode: Indicates whether the instance continues to be billed after it is stopped.
attr_tagsRequired 
attr_tags: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute Tags: The tags of the instance.
attr_user_dataRequired 
attr_user_data: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute UserData: The custom data of the instance.
attr_vpc_attributesRequired 
attr_vpc_attributes: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute VpcAttributes: The VPC attributes of the instance.
attr_zone_idRequired 
attr_zone_id: IResolvable
- Type: ros_cdk_core.IResolvable
 
Attribute ZoneId: The zone ID of the instance.