Skip to content

ServiceInstanceProps

Properties for defining a ServiceInstance.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-computenest-serviceinstance

Initializer

import { datasource } from '@alicloud/ros-cdk-computenest'
const serviceInstanceProps: datasource.ServiceInstanceProps = { ... }

Properties

Name Type Description
serviceInstanceId string | @alicloud/ros-cdk-core.IResolvable Property serviceInstanceId: The ID of the service instance.
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

serviceInstanceIdRequired

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

Property serviceInstanceId: The ID of the service instance.


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.