Skip to content

ServiceProps

Properties for defining a Service.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-apig-service

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkapig/datasource"
&datasource.ServiceProps {
    ServiceId: interface{},
    RefreshOptions: interface{},
}

Properties

Name Type Description
ServiceId interface{} Property serviceId: The ID of the service.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

ServiceIdRequired

ServiceId interface{}
  • Type: interface{}

Property serviceId: The ID of the service.


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

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.