Skip to content

Instance

This class encapsulates and extends the ROS resource type DATASOURCE::ECS::Instance.

Initializers

import { datasource } from '@alicloud/ros-cdk-ecs'
new datasource.Instance(scope: Construct, id: string, props: InstanceProps, enableResourcePropertyConstraint?: boolean)
Name Type Description
scope @alicloud/ros-cdk-core.Construct No description.
id string No description.
props InstanceProps No description.
enableResourcePropertyConstraint boolean No description.

scopeRequired

  • Type: @alicloud/ros-cdk-core.Construct

idRequired

  • Type: string

propsRequired


enableResourcePropertyConstraintOptional

  • Type: boolean

Methods

Name Description
toString Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
addCondition No description.
addCount No description.
addDependency No description.
addResourceDesc No description.
applyRemovalPolicy No description.
getAtt No description.
setMetadata No description.

toString

public toString(): string

Returns a string representation of this construct.

synthesize

public synthesize(session: ISynthesisSession): void

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.

sessionRequired

  • Type: @alicloud/ros-cdk-core.ISynthesisSession

The synthesis session.


addCondition

public addCondition(condition: RosCondition): void

conditionRequired

  • Type: @alicloud/ros-cdk-core.RosCondition

addCount

public addCount(count: number | IResolvable): void

countRequired

  • Type: number | @alicloud/ros-cdk-core.IResolvable

addDependency

public addDependency(resource: Resource): void

resourceRequired

  • Type: @alicloud/ros-cdk-core.Resource

addResourceDesc

public addResourceDesc(desc: string): void

descRequired

  • Type: string

applyRemovalPolicy

public applyRemovalPolicy(policy: RemovalPolicy): void

policyRequired

  • Type: @alicloud/ros-cdk-core.RemovalPolicy

getAtt

public getAtt(name: string): IResolvable

nameRequired

  • Type: string

setMetadata

public setMetadata(key: string, value: any): void

keyRequired

  • Type: string

valueRequired

  • Type: any

Static Functions

Name Description
isConstruct Return whether the given object is a Construct.

isConstruct

import { datasource } from '@alicloud/ros-cdk-ecs'
datasource.Instance.isConstruct(x: any)

Return whether the given object is a Construct.

xRequired

  • Type: any

Properties

Name Type Description
node @alicloud/ros-cdk-core.ConstructNode The construct tree node associated with this construct.
ref string No description.
stack @alicloud/ros-cdk-core.Stack The stack in which this resource is defined.
resource @alicloud/ros-cdk-core.RosResource No description.
attrActionOnMaintenance @alicloud/ros-cdk-core.IResolvable Attribute ActionOnMaintenance: The O&M action attribute of the instance.
attrAutoRebootTime @alicloud/ros-cdk-core.IResolvable Attribute AutoRebootTime: Automatic reboot time after instance configuration change.
attrAutoReleaseTime @alicloud/ros-cdk-core.IResolvable Attribute AutoReleaseTime: The time when to automatically release the pay-as-you-go instance.
attrAutoRenewEnabled @alicloud/ros-cdk-core.IResolvable Attribute AutoRenewEnabled: Whether automatic renewal has been set.
attrClusterId @alicloud/ros-cdk-core.IResolvable Attribute ClusterId: The ID of the cluster to which the instance belongs.
attrCpu @alicloud/ros-cdk-core.IResolvable Attribute Cpu: The number of vCPUs.
attrCpuOptions @alicloud/ros-cdk-core.IResolvable Attribute CpuOptions: Details about the CPU options.
attrCreateTime @alicloud/ros-cdk-core.IResolvable Attribute CreateTime: The create time.
attrCreditSpecification @alicloud/ros-cdk-core.IResolvable Attribute CreditSpecification: The performance mode of the burstable instance.
attrDedicatedHostAttribute @alicloud/ros-cdk-core.IResolvable Attribute DedicatedHostAttribute: Details about the dedicated host.
attrDedicatedInstanceAttribute @alicloud/ros-cdk-core.IResolvable Attribute DedicatedInstanceAttribute: The attributes of the instance on the dedicated host.
attrDeletionProtection @alicloud/ros-cdk-core.IResolvable Attribute DeletionProtection: The release protection attribute of the instance.
attrDeploymentSetGroupNo @alicloud/ros-cdk-core.IResolvable Attribute DeploymentSetGroupNo: The number of the deployment set group to which the instance belongs in a deployment set.
attrDeploymentSetId @alicloud/ros-cdk-core.IResolvable Attribute DeploymentSetId: The ID of the deployment set in which the instance is deployed.
attrDescription @alicloud/ros-cdk-core.IResolvable Attribute Description: The description of the instance.
attrDeviceAvailable @alicloud/ros-cdk-core.IResolvable Attribute DeviceAvailable: Indicates whether data disks can be attached to the instance.
attrDuration @alicloud/ros-cdk-core.IResolvable Attribute Duration: The duration of automatic renewal.
attrEcsCapacityReservationAttr @alicloud/ros-cdk-core.IResolvable Attribute EcsCapacityReservationAttr: Details about the capacity reservation related to the instance.
attrEipAddress @alicloud/ros-cdk-core.IResolvable Attribute EipAddress: Details about the EIP associated with the instance.
attrExpiredTime @alicloud/ros-cdk-core.IResolvable Attribute ExpiredTime: The time when the instance expires.
attrGpuAmount @alicloud/ros-cdk-core.IResolvable Attribute GpuAmount: The number of GPUs for the instance type.
attrGpuSpec @alicloud/ros-cdk-core.IResolvable Attribute GpuSpec: The category of GPUs for the instance type.
attrHostName @alicloud/ros-cdk-core.IResolvable Attribute HostName: The hostname of the instance.
attrHpcClusterId @alicloud/ros-cdk-core.IResolvable Attribute HpcClusterId: ID of the HPC cluster to which the instance belongs.
attrImageId @alicloud/ros-cdk-core.IResolvable Attribute ImageId: The ID of the image.
attrInstanceId @alicloud/ros-cdk-core.IResolvable Attribute InstanceId: The ID of the instance.
attrInstanceName @alicloud/ros-cdk-core.IResolvable Attribute InstanceName: The name of the instance.
attrInstanceNetworkType @alicloud/ros-cdk-core.IResolvable Attribute InstanceNetworkType: The network type of the instance.
attrInstanceType @alicloud/ros-cdk-core.IResolvable Attribute InstanceType: The instance type of the instance.
attrInstanceTypeFamily @alicloud/ros-cdk-core.IResolvable Attribute InstanceTypeFamily: The instance family of the instance.
attrInternetChargeType @alicloud/ros-cdk-core.IResolvable Attribute InternetChargeType: The billing method for network usage.
attrInternetMaxBandwidthIn @alicloud/ros-cdk-core.IResolvable Attribute InternetMaxBandwidthIn: The maximum inbound public bandwidth.
attrInternetMaxBandwidthOut @alicloud/ros-cdk-core.IResolvable Attribute InternetMaxBandwidthOut: The maximum outbound public bandwidth.
attrIoOptimized @alicloud/ros-cdk-core.IResolvable Attribute IoOptimized: Specifies whether the instance is I/O optimized.
attrKeyPairName @alicloud/ros-cdk-core.IResolvable Attribute KeyPairName: The name of the SSH key pair bound to the instance.
attrLocalStorageAmount @alicloud/ros-cdk-core.IResolvable Attribute LocalStorageAmount: The number of local disks attached to the instance.
attrLocalStorageCapacity @alicloud/ros-cdk-core.IResolvable Attribute LocalStorageCapacity: The capacity of local disks attached to the instance.
attrMaintenanceWindows @alicloud/ros-cdk-core.IResolvable Attribute MaintenanceWindows: The list of operations window instances.
attrMemory @alicloud/ros-cdk-core.IResolvable Attribute Memory: The memory size of the instance.
attrMetadataOptions @alicloud/ros-cdk-core.IResolvable Attribute MetadataOptions: Details about the metadata options.
attrNetworkInterfaces @alicloud/ros-cdk-core.IResolvable Attribute NetworkInterfaces: Details about the ENIs bound to the instance.
attrNotifyOnMaintenance @alicloud/ros-cdk-core.IResolvable Attribute NotifyOnMaintenance: Whether to send an event notification before the instance goes down.
attrOperationLocks @alicloud/ros-cdk-core.IResolvable Attribute OperationLocks: The reasons why the instance was locked.
attrOsName @alicloud/ros-cdk-core.IResolvable Attribute OsName: The name of the operating system of the instance.
attrOsNameEn @alicloud/ros-cdk-core.IResolvable Attribute OsNameEn: The English name of the operating system of the instance.
attrOsType @alicloud/ros-cdk-core.IResolvable Attribute OsType: The type of the operating system of the instance.
attrPaymentType @alicloud/ros-cdk-core.IResolvable Attribute PaymentType: The billing method of the instance.
attrPeriodUnit @alicloud/ros-cdk-core.IResolvable Attribute PeriodUnit: Renewal unit.
attrPrivatePoolOptionsId @alicloud/ros-cdk-core.IResolvable Attribute PrivatePoolOptionsId: Private pool ID.
attrPrivatePoolOptionsMatchCriteria @alicloud/ros-cdk-core.IResolvable Attribute PrivatePoolOptionsMatchCriteria: The private pool matching pattern of the instance.
attrPublicIpAddress @alicloud/ros-cdk-core.IResolvable Attribute PublicIpAddress: The public IP addresses of the instance.
attrRdmaIpAddress @alicloud/ros-cdk-core.IResolvable Attribute RdmaIpAddress: The RDMA network IP of the HPC instance.
attrRecyclable @alicloud/ros-cdk-core.IResolvable Attribute Recyclable: Indicates whether the instance can be recycled.
attrRenewalStatus @alicloud/ros-cdk-core.IResolvable Attribute RenewalStatus: The automatic renewal status of the instance.
attrResourceGroupId @alicloud/ros-cdk-core.IResolvable Attribute ResourceGroupId: The ID of the resource group to which the instance belongs.
attrSaleCycle @alicloud/ros-cdk-core.IResolvable Attribute SaleCycle: Instance billing cycles.
attrSecurityGroupIds @alicloud/ros-cdk-core.IResolvable Attribute SecurityGroupIds: The IDs of the security groups to which the instance belongs.
attrSerialNumber @alicloud/ros-cdk-core.IResolvable Attribute SerialNumber: The serial number of the instance.
attrSpotDuration @alicloud/ros-cdk-core.IResolvable Attribute SpotDuration: The protection period of the preemptible instance.
attrSpotPriceLimit @alicloud/ros-cdk-core.IResolvable Attribute SpotPriceLimit: The maximum hourly price of the instance.
attrSpotStrategy @alicloud/ros-cdk-core.IResolvable Attribute SpotStrategy: The bidding policy for the pay-as-you-go instance.
attrStartTime @alicloud/ros-cdk-core.IResolvable Attribute StartTime: The time when the instance was last started.
attrStoppedMode @alicloud/ros-cdk-core.IResolvable Attribute StoppedMode: Indicates whether the instance continues to be billed after it is stopped.
attrTags @alicloud/ros-cdk-core.IResolvable Attribute Tags: The tags of the instance.
attrUserData @alicloud/ros-cdk-core.IResolvable Attribute UserData: The custom data of the instance.
attrVpcAttributes @alicloud/ros-cdk-core.IResolvable Attribute VpcAttributes: The VPC attributes of the instance.
attrZoneId @alicloud/ros-cdk-core.IResolvable Attribute ZoneId: The zone ID of the instance.

nodeRequired

public readonly node: ConstructNode;
  • Type: @alicloud/ros-cdk-core.ConstructNode

The construct tree node associated with this construct.


refRequired

public readonly ref: string;
  • Type: string

stackRequired

public readonly stack: Stack;
  • Type: @alicloud/ros-cdk-core.Stack

The stack in which this resource is defined.


resourceOptional

public readonly resource: RosResource;
  • Type: @alicloud/ros-cdk-core.RosResource

attrActionOnMaintenanceRequired

public readonly attrActionOnMaintenance: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute ActionOnMaintenance: The O&M action attribute of the instance.


attrAutoRebootTimeRequired

public readonly attrAutoRebootTime: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute AutoRebootTime: Automatic reboot time after instance configuration change.


attrAutoReleaseTimeRequired

public readonly attrAutoReleaseTime: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute AutoReleaseTime: The time when to automatically release the pay-as-you-go instance.


attrAutoRenewEnabledRequired

public readonly attrAutoRenewEnabled: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute AutoRenewEnabled: Whether automatic renewal has been set.


attrClusterIdRequired

public readonly attrClusterId: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute ClusterId: The ID of the cluster to which the instance belongs.


attrCpuRequired

public readonly attrCpu: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute Cpu: The number of vCPUs.


attrCpuOptionsRequired

public readonly attrCpuOptions: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute CpuOptions: Details about the CPU options.


attrCreateTimeRequired

public readonly attrCreateTime: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute CreateTime: The create time.


attrCreditSpecificationRequired

public readonly attrCreditSpecification: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute CreditSpecification: The performance mode of the burstable instance.


attrDedicatedHostAttributeRequired

public readonly attrDedicatedHostAttribute: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute DedicatedHostAttribute: Details about the dedicated host.

It is an array that consists of the DedicatedHostClusterId, DedicatedHostId, and DedicatedHostName parameters.


attrDedicatedInstanceAttributeRequired

public readonly attrDedicatedInstanceAttribute: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute DedicatedInstanceAttribute: The attributes of the instance on the dedicated host.


attrDeletionProtectionRequired

public readonly attrDeletionProtection: IResolvable;
  • Type: @alicloud/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.


attrDeploymentSetGroupNoRequired

public readonly attrDeploymentSetGroupNo: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute DeploymentSetGroupNo: The number of the deployment set group to which the instance belongs in a deployment set.


attrDeploymentSetIdRequired

public readonly attrDeploymentSetId: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute DeploymentSetId: The ID of the deployment set in which the instance is deployed.


attrDescriptionRequired

public readonly attrDescription: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute Description: The description of the instance.


attrDeviceAvailableRequired

public readonly attrDeviceAvailable: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute DeviceAvailable: Indicates whether data disks can be attached to the instance.


attrDurationRequired

public readonly attrDuration: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute Duration: The duration of automatic renewal.


attrEcsCapacityReservationAttrRequired

public readonly attrEcsCapacityReservationAttr: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute EcsCapacityReservationAttr: Details about the capacity reservation related to the instance.


attrEipAddressRequired

public readonly attrEipAddress: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute EipAddress: Details about the EIP associated with the instance.


attrExpiredTimeRequired

public readonly attrExpiredTime: IResolvable;
  • Type: @alicloud/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.


attrGpuAmountRequired

public readonly attrGpuAmount: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute GpuAmount: The number of GPUs for the instance type.


attrGpuSpecRequired

public readonly attrGpuSpec: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute GpuSpec: The category of GPUs for the instance type.


attrHostNameRequired

public readonly attrHostName: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute HostName: The hostname of the instance.


attrHpcClusterIdRequired

public readonly attrHpcClusterId: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute HpcClusterId: ID of the HPC cluster to which the instance belongs.


attrImageIdRequired

public readonly attrImageId: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute ImageId: The ID of the image.


attrInstanceIdRequired

public readonly attrInstanceId: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute InstanceId: The ID of the instance.


attrInstanceNameRequired

public readonly attrInstanceName: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute InstanceName: The name of the instance.

Fuzzy search with the asterisk (*) wildcard characters is supported.


attrInstanceNetworkTypeRequired

public readonly attrInstanceNetworkType: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute InstanceNetworkType: The network type of the instance.


attrInstanceTypeRequired

public readonly attrInstanceType: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute InstanceType: The instance type of the instance.


attrInstanceTypeFamilyRequired

public readonly attrInstanceTypeFamily: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute InstanceTypeFamily: The instance family of the instance.


attrInternetChargeTypeRequired

public readonly attrInternetChargeType: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute InternetChargeType: The billing method for network usage.


attrInternetMaxBandwidthInRequired

public readonly attrInternetMaxBandwidthIn: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute InternetMaxBandwidthIn: The maximum inbound public bandwidth.

Unit: Mbit/s.


attrInternetMaxBandwidthOutRequired

public readonly attrInternetMaxBandwidthOut: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute InternetMaxBandwidthOut: The maximum outbound public bandwidth.

Unit: Mbit/s.


attrIoOptimizedRequired

public readonly attrIoOptimized: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute IoOptimized: Specifies whether the instance is I/O optimized.


attrKeyPairNameRequired

public readonly attrKeyPairName: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute KeyPairName: The name of the SSH key pair bound to the instance.


attrLocalStorageAmountRequired

public readonly attrLocalStorageAmount: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute LocalStorageAmount: The number of local disks attached to the instance.


attrLocalStorageCapacityRequired

public readonly attrLocalStorageCapacity: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute LocalStorageCapacity: The capacity of local disks attached to the instance.


attrMaintenanceWindowsRequired

public readonly attrMaintenanceWindows: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute MaintenanceWindows: The list of operations window instances.


attrMemoryRequired

public readonly attrMemory: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute Memory: The memory size of the instance.

Unit: MiB.


attrMetadataOptionsRequired

public readonly attrMetadataOptions: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute MetadataOptions: Details about the metadata options.


attrNetworkInterfacesRequired

public readonly attrNetworkInterfaces: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute NetworkInterfaces: Details about the ENIs bound to the instance.


attrNotifyOnMaintenanceRequired

public readonly attrNotifyOnMaintenance: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute NotifyOnMaintenance: Whether to send an event notification before the instance goes down.


attrOperationLocksRequired

public readonly attrOperationLocks: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute OperationLocks: The reasons why the instance was locked.


attrOsNameRequired

public readonly attrOsName: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute OsName: The name of the operating system of the instance.


attrOsNameEnRequired

public readonly attrOsNameEn: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute OsNameEn: The English name of the operating system of the instance.


attrOsTypeRequired

public readonly attrOsType: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute OsType: The type of the operating system of the instance.


attrPaymentTypeRequired

public readonly attrPaymentType: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute PaymentType: The billing method of the instance.


attrPeriodUnitRequired

public readonly attrPeriodUnit: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute PeriodUnit: Renewal unit.


attrPrivatePoolOptionsIdRequired

public readonly attrPrivatePoolOptionsId: IResolvable;
  • Type: @alicloud/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.


attrPrivatePoolOptionsMatchCriteriaRequired

public readonly attrPrivatePoolOptionsMatchCriteria: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute PrivatePoolOptionsMatchCriteria: The private pool matching pattern of the instance.


attrPublicIpAddressRequired

public readonly attrPublicIpAddress: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute PublicIpAddress: The public IP addresses of the instance.


attrRdmaIpAddressRequired

public readonly attrRdmaIpAddress: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute RdmaIpAddress: The RDMA network IP of the HPC instance.


attrRecyclableRequired

public readonly attrRecyclable: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute Recyclable: Indicates whether the instance can be recycled.


attrRenewalStatusRequired

public readonly attrRenewalStatus: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute RenewalStatus: The automatic renewal status of the instance.


attrResourceGroupIdRequired

public readonly attrResourceGroupId: IResolvable;
  • Type: @alicloud/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.


attrSaleCycleRequired

public readonly attrSaleCycle: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute SaleCycle: Instance billing cycles.


attrSecurityGroupIdsRequired

public readonly attrSecurityGroupIds: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute SecurityGroupIds: The IDs of the security groups to which the instance belongs.


attrSerialNumberRequired

public readonly attrSerialNumber: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute SerialNumber: The serial number of the instance.


attrSpotDurationRequired

public readonly attrSpotDuration: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute SpotDuration: The protection period of the preemptible instance.

Unit: hours.


attrSpotPriceLimitRequired

public readonly attrSpotPriceLimit: IResolvable;
  • Type: @alicloud/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.


attrSpotStrategyRequired

public readonly attrSpotStrategy: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute SpotStrategy: The bidding policy for the pay-as-you-go instance.


attrStartTimeRequired

public readonly attrStartTime: IResolvable;
  • Type: @alicloud/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.


attrStoppedModeRequired

public readonly attrStoppedMode: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute StoppedMode: Indicates whether the instance continues to be billed after it is stopped.


attrTagsRequired

public readonly attrTags: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute Tags: The tags of the instance.


attrUserDataRequired

public readonly attrUserData: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute UserData: The custom data of the instance.


attrVpcAttributesRequired

public readonly attrVpcAttributes: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute VpcAttributes: The VPC attributes of the instance.


attrZoneIdRequired

public readonly attrZoneId: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute ZoneId: The zone ID of the instance.