Skip to content

ServicesProps

Properties for defining a Services.

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

Initializer

import { datasource } from '@alicloud/ros-cdk-apig'
const servicesProps: datasource.ServicesProps = { ... }

Properties

Name Type Description
gatewayId string | @alicloud/ros-cdk-core.IResolvable Property gatewayId: The ID of the Cloud Native API Gateway.
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: The ID of the resource group.
sourceType string | @alicloud/ros-cdk-core.IResolvable Property sourceType: service source type, optional value is K8S\/MSE_NACOS\/FC3\/SAE_K8S_SERVICE\/VIP\/DNS\/AI.

gatewayIdOptional

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

Property gatewayId: The ID of the Cloud Native API Gateway.


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.


resourceGroupIdOptional

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

Property resourceGroupId: The ID of the resource group.


sourceTypeOptional

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

Property sourceType: service source type, optional value is K8S\/MSE_NACOS\/FC3\/SAE_K8S_SERVICE\/VIP\/DNS\/AI.