import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface MqttHttpAuthenticatorConfig extends cdktf.TerraformMetaArguments { /** * Maximum concurrent connections, default 8, range: 1-20. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mqtt_http_authenticator#concurrency MqttHttpAuthenticator#concurrency} */ readonly concurrency?: number; /** * Connection timeout, unit: seconds, range: 1-30. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mqtt_http_authenticator#connect_timeout MqttHttpAuthenticator#connect_timeout} */ readonly connectTimeout?: number; /** * JWKS endpoint. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mqtt_http_authenticator#endpoint MqttHttpAuthenticator#endpoint} */ readonly endpoint: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mqtt_http_authenticator#id MqttHttpAuthenticator#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; /** * Instance ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mqtt_http_authenticator#instance_id MqttHttpAuthenticator#instance_id} */ readonly instanceId: string; /** * Network request method GET or POST, default POST. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mqtt_http_authenticator#method MqttHttpAuthenticator#method} */ readonly method?: string; /** * Request timeout, unit: seconds, range: 1-30. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mqtt_http_authenticator#read_timeout MqttHttpAuthenticator#read_timeout} */ readonly readTimeout?: number; /** * Remark. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mqtt_http_authenticator#remark MqttHttpAuthenticator#remark} */ readonly remark?: string; /** * Is the authenticator enabled: open enable; Close close. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mqtt_http_authenticator#status MqttHttpAuthenticator#status} */ readonly status?: string; /** * body block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mqtt_http_authenticator#body MqttHttpAuthenticator#body} */ readonly body?: MqttHttpAuthenticatorBody[] | cdktf.IResolvable; /** * header block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mqtt_http_authenticator#header MqttHttpAuthenticator#header} */ readonly header?: MqttHttpAuthenticatorHeader[] | cdktf.IResolvable; } export interface MqttHttpAuthenticatorBody { /** * Body key. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mqtt_http_authenticator#key MqttHttpAuthenticator#key} */ readonly key: string; /** * Body key. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mqtt_http_authenticator#value MqttHttpAuthenticator#value} */ readonly value: string; } export declare function mqttHttpAuthenticatorBodyToTerraform(struct?: MqttHttpAuthenticatorBody | cdktf.IResolvable): any; export declare function mqttHttpAuthenticatorBodyToHclTerraform(struct?: MqttHttpAuthenticatorBody | cdktf.IResolvable): any; export declare class MqttHttpAuthenticatorBodyOutputReference 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(): MqttHttpAuthenticatorBody | cdktf.IResolvable | undefined; set internalValue(value: MqttHttpAuthenticatorBody | cdktf.IResolvable | undefined); private _key?; get key(): string; set key(value: string); get keyInput(): string; private _value?; get value(): string; set value(value: string); get valueInput(): string; } export declare class MqttHttpAuthenticatorBodyList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: MqttHttpAuthenticatorBody[] | 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): MqttHttpAuthenticatorBodyOutputReference; } export interface MqttHttpAuthenticatorHeader { /** * Header key. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mqtt_http_authenticator#key MqttHttpAuthenticator#key} */ readonly key: string; /** * Header value. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mqtt_http_authenticator#value MqttHttpAuthenticator#value} */ readonly value: string; } export declare function mqttHttpAuthenticatorHeaderToTerraform(struct?: MqttHttpAuthenticatorHeader | cdktf.IResolvable): any; export declare function mqttHttpAuthenticatorHeaderToHclTerraform(struct?: MqttHttpAuthenticatorHeader | cdktf.IResolvable): any; export declare class MqttHttpAuthenticatorHeaderOutputReference 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(): MqttHttpAuthenticatorHeader | cdktf.IResolvable | undefined; set internalValue(value: MqttHttpAuthenticatorHeader | cdktf.IResolvable | undefined); private _key?; get key(): string; set key(value: string); get keyInput(): string; private _value?; get value(): string; set value(value: string); get valueInput(): string; } export declare class MqttHttpAuthenticatorHeaderList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: MqttHttpAuthenticatorHeader[] | 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): MqttHttpAuthenticatorHeaderOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mqtt_http_authenticator tencentcloud_mqtt_http_authenticator} */ export declare class MqttHttpAuthenticator extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_mqtt_http_authenticator"; /** * Generates CDKTF code for importing a MqttHttpAuthenticator 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 MqttHttpAuthenticator to import * @param importFromId The id of the existing MqttHttpAuthenticator that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mqtt_http_authenticator#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the MqttHttpAuthenticator 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/mqtt_http_authenticator tencentcloud_mqtt_http_authenticator} 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 MqttHttpAuthenticatorConfig */ constructor(scope: Construct, id: string, config: MqttHttpAuthenticatorConfig); private _concurrency?; get concurrency(): number; set concurrency(value: number); resetConcurrency(): void; get concurrencyInput(): number; private _connectTimeout?; get connectTimeout(): number; set connectTimeout(value: number); resetConnectTimeout(): void; get connectTimeoutInput(): number; private _endpoint?; get endpoint(): string; set endpoint(value: string); get endpointInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instanceId?; get instanceId(): string; set instanceId(value: string); get instanceIdInput(): string; private _method?; get method(): string; set method(value: string); resetMethod(): void; get methodInput(): string; private _readTimeout?; get readTimeout(): number; set readTimeout(value: number); resetReadTimeout(): void; get readTimeoutInput(): number; private _remark?; get remark(): string; set remark(value: string); resetRemark(): void; get remarkInput(): string; private _status?; get status(): string; set status(value: string); resetStatus(): void; get statusInput(): string; private _body; get body(): MqttHttpAuthenticatorBodyList; putBody(value: MqttHttpAuthenticatorBody[] | cdktf.IResolvable): void; resetBody(): void; get bodyInput(): any; private _header; get header(): MqttHttpAuthenticatorHeaderList; putHeader(value: MqttHttpAuthenticatorHeader[] | cdktf.IResolvable): void; resetHeader(): void; get headerInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }