import * as ros from '@alicloud/ros-cdk-core'; /** * Properties for defining a `RosInstance`. * See https://www.alibabacloud.com/help/ros/developer-reference/datasource-hologram-instance */ export interface RosInstanceProps { /** * @Property instanceId: The ID of the instance. */ readonly instanceId: 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; } /** * This class is a base encapsulation around the ROS resource type `DATASOURCE::Hologram::Instance`. * @Note This class does not contain additional functions, so it is recommended to use the `Instance` class instead of this class for a more convenient development experience. * See https://www.alibabacloud.com/help/ros/developer-reference/datasource-hologram-instance */ export declare class RosInstance extends ros.RosResource { /** * The resource type name for this resource class. */ static readonly ROS_RESOURCE_TYPE_NAME = "DATASOURCE::Hologram::Instance"; /** * @Attribute Instance: The attributes of the instance. */ readonly attrInstance: ros.IResolvable; enableResourcePropertyConstraint: boolean; /** * @Property instanceId: The ID of the instance. */ instanceId: 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. */ refreshOptions: string | ros.IResolvable | undefined; /** * @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: RosInstanceProps, enableResourcePropertyConstraint: boolean); protected get rosProperties(): { [key: string]: any; }; protected renderProperties(props: { [key: string]: any; }): { [key: string]: any; }; } /** * Properties for defining a `RosInstances`. * See https://www.alibabacloud.com/help/ros/developer-reference/datasource-hologram-instances */ export interface RosInstancesProps { /** * @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; /** * @Property resourceGroupId: The ID of the resource group. */ readonly resourceGroupId?: string | ros.IResolvable; } /** * This class is a base encapsulation around the ROS resource type `DATASOURCE::Hologram::Instances`. * @Note This class does not contain additional functions, so it is recommended to use the `Instances` class instead of this class for a more convenient development experience. * See https://www.alibabacloud.com/help/ros/developer-reference/datasource-hologram-instances */ export declare class RosInstances extends ros.RosResource { /** * The resource type name for this resource class. */ static readonly ROS_RESOURCE_TYPE_NAME = "DATASOURCE::Hologram::Instances"; /** * @Attribute InstanceIds: The list of instance IDs. */ readonly attrInstanceIds: ros.IResolvable; /** * @Attribute Instances: The list of instances. */ readonly attrInstances: ros.IResolvable; enableResourcePropertyConstraint: boolean; /** * @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. */ refreshOptions: string | ros.IResolvable | undefined; /** * @Property resourceGroupId: The ID of the resource group. */ resourceGroupId: string | ros.IResolvable | undefined; /** * @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: RosInstancesProps, enableResourcePropertyConstraint: boolean); protected get rosProperties(): { [key: string]: any; }; protected renderProperties(props: { [key: string]: any; }): { [key: string]: any; }; }