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. |
ensRegionIds
Optional
public readonly ensRegionIds: any[] | IResolvable;
- Type: any[] | @alicloud/ros-cdk-core.IResolvable
Property ensRegionIds: The list of ENS region IDs.
ensServiceId
Optional
public readonly ensServiceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property ensServiceId: The ID of ENS service.
imageId
Optional
public readonly imageId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property imageId: The image ID of instance.
instanceIds
Optional
public readonly instanceIds: any[] | IResolvable;
- Type: any[] | @alicloud/ros-cdk-core.IResolvable
Property instanceIds: The list of instance IDs.
instanceName
Optional
public readonly instanceName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceName: The name of instance.
instanceResourceType
Optional
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.
refreshOptions
Optional
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.
status
Optional
public readonly status: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property status: The status of instance.