import * as ros from '@alicloud/ros-cdk-core'; import { RosInstance } from './hologram.generated'; export { RosInstance as InstanceProperty }; /** * Properties for defining a `Instance`. * See https://www.alibabacloud.com/help/ros/developer-reference/datasource-hologram-instance */ export interface InstanceProps { /** * 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; } /** * Represents a `Instance`. */ export interface IInstance extends ros.IResource { readonly props: InstanceProps; /** * Attribute Instance: The attributes of the instance. */ readonly attrInstance: ros.IResolvable | string; } /** * This class encapsulates and extends the ROS resource type `DATASOURCE::Hologram::Instance`. * @Note This class may have some new functions to facilitate development, so it is recommended to use this class instead of `RosInstance`for a more convenient development experience. * See https://www.alibabacloud.com/help/ros/developer-reference/datasource-hologram-instance */ export declare class Instance extends ros.Resource implements IInstance { protected scope: ros.Construct; protected id: string; readonly props: InstanceProps; protected enableResourcePropertyConstraint: boolean; /** * Attribute Instance: The attributes of the instance. */ readonly attrInstance: 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: InstanceProps, enableResourcePropertyConstraint?: boolean); }