import * as ros from '@alicloud/ros-cdk-core'; import { RosServices } from './fc.generated'; export { RosServices as ServicesProperty }; /** * Properties for defining a `Services`. * See https://www.alibabacloud.com/help/ros/developer-reference/datasource-fc-services */ export interface ServicesProps { /** * Property prefix: Qualified returned service names must be prefixed with Prefix. For example, if the Prefix is "a", the returned service names should be started with "a". */ readonly prefix?: string | ros.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. */ readonly refreshOptions?: string | ros.IResolvable; } /** * Represents a `Services`. */ export interface IServices extends ros.IResource { readonly props: ServicesProps; /** * Attribute ServiceNames: The list of service names. */ readonly attrServiceNames: ros.IResolvable | string; /** * Attribute Services: The list of services. */ readonly attrServices: ros.IResolvable | string; } /** * This class encapsulates and extends the ROS resource type `DATASOURCE::FC::Services`. * @Note This class may have some new functions to facilitate development, so it is recommended to use this class instead of `RosServices`for a more convenient development experience. * See https://www.alibabacloud.com/help/ros/developer-reference/datasource-fc-services */ export declare class Services extends ros.Resource implements IServices { protected scope: ros.Construct; protected id: string; readonly props: ServicesProps; protected enableResourcePropertyConstraint: boolean; /** * Attribute ServiceNames: The list of service names. */ readonly attrServiceNames: ros.IResolvable | string; /** * Attribute Services: The list of services. */ readonly attrServices: ros.IResolvable | string; /** * Param scope - scope in which this resource is defined * Param id - scoped id of the resource * Param props - resource properties */ constructor(scope: ros.Construct, id: string, props?: ServicesProps, enableResourcePropertyConstraint?: boolean); }