import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface EbPutEventsConfig extends cdktf.TerraformMetaArguments { /** * event bus Id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eb_put_events#event_bus_id EbPutEvents#event_bus_id} */ readonly eventBusId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eb_put_events#id EbPutEvents#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * event_list block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eb_put_events#event_list EbPutEvents#event_list} */ readonly eventList: EbPutEventsEventListStruct[] | cdktf.IResolvable; } export interface EbPutEventsEventListStruct { /** * Event data, the content is controlled by the system that created the event, the current datacontenttype only supports application/json;charset=utf-8, so this field is a json string. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eb_put_events#data EbPutEvents#data} */ readonly data: string; /** * Event source information, new product reporting must comply with EB specifications. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eb_put_events#source EbPutEvents#source} */ readonly source: string; /** * Detailed description of the event source, customizable, optional. The cloud service defaults to the standard qcs resource representation syntax: qcs::dts:ap-guangzhou:appid/uin:xxx. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eb_put_events#subject EbPutEvents#subject} */ readonly subject: string; /** * The timestamp in milliseconds when the event occurred,time.Now().UnixNano()/1e6. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eb_put_events#time EbPutEvents#time} */ readonly time?: number; /** * Event type, customizable, optional. The cloud service writes COS:Created:PostObject by default, use: to separate the type field. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eb_put_events#type EbPutEvents#type} */ readonly type: string; } export declare function ebPutEventsEventListStructToTerraform(struct?: EbPutEventsEventListStruct | cdktf.IResolvable): any; export declare function ebPutEventsEventListStructToHclTerraform(struct?: EbPutEventsEventListStruct | cdktf.IResolvable): any; export declare class EbPutEventsEventListStructOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): EbPutEventsEventListStruct | cdktf.IResolvable | undefined; set internalValue(value: EbPutEventsEventListStruct | cdktf.IResolvable | undefined); private _data?; get data(): string; set data(value: string); get dataInput(): string; private _source?; get source(): string; set source(value: string); get sourceInput(): string; private _subject?; get subject(): string; set subject(value: string); get subjectInput(): string; private _time?; get time(): number; set time(value: number); resetTime(): void; get timeInput(): number; private _type?; get type(): string; set type(value: string); get typeInput(): string; } export declare class EbPutEventsEventListStructList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: EbPutEventsEventListStruct[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): EbPutEventsEventListStructOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eb_put_events tencentcloud_eb_put_events} */ export declare class EbPutEvents extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_eb_put_events"; /** * Generates CDKTF code for importing a EbPutEvents resource upon running "cdktf plan " * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the EbPutEvents to import * @param importFromId The id of the existing EbPutEvents that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eb_put_events#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the EbPutEvents to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eb_put_events tencentcloud_eb_put_events} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options EbPutEventsConfig */ constructor(scope: Construct, id: string, config: EbPutEventsConfig); private _eventBusId?; get eventBusId(): string; set eventBusId(value: string); get eventBusIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _eventList; get eventList(): EbPutEventsEventListStructList; putEventList(value: EbPutEventsEventListStruct[] | cdktf.IResolvable): void; get eventListInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }