Skip to content

InstancesProps

Properties for defining a Instances.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ens-instances

Initializer

import { datasource } from '@alicloud/ros-cdk-ens'
const instancesProps: datasource.InstancesProps = { ... }

Properties

Name Type Description
ensRegionIds any[] | @alicloud/ros-cdk-core.IResolvable Property ensRegionIds: The list of ENS region IDs.
ensServiceId string | @alicloud/ros-cdk-core.IResolvable Property ensServiceId: The ID of ENS service.
imageId string | @alicloud/ros-cdk-core.IResolvable Property imageId: The image ID of instance.
instanceIds any[] | @alicloud/ros-cdk-core.IResolvable Property instanceIds: The list of instance IDs.
instanceName string | @alicloud/ros-cdk-core.IResolvable Property instanceName: The name of instance.
instanceResourceType string | @alicloud/ros-cdk-core.IResolvable Property instanceResourceType: The resource type of instance.
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
status string | @alicloud/ros-cdk-core.IResolvable Property status: The status of instance.

ensRegionIdsOptional

public readonly ensRegionIds: any[] | IResolvable;
  • Type: any[] | @alicloud/ros-cdk-core.IResolvable

Property ensRegionIds: The list of ENS region IDs.


ensServiceIdOptional

public readonly ensServiceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property ensServiceId: The ID of ENS service.


imageIdOptional

public readonly imageId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property imageId: The image ID of instance.


instanceIdsOptional

public readonly instanceIds: any[] | IResolvable;
  • Type: any[] | @alicloud/ros-cdk-core.IResolvable

Property instanceIds: The list of instance IDs.


instanceNameOptional

public readonly instanceName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property instanceName: The name of instance.


instanceResourceTypeOptional

public readonly instanceResourceType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property instanceResourceType: The resource type of instance.

Valid values: EnsPostPaidInstance: PostPaid instance. EnsService: Edge service instance. BuildMachine: Image building machine.


refreshOptionsOptional

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


statusOptional

public readonly status: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property status: The status of instance.