import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * ALB provides personalized configuration functionality at the listener level. You can create and manage standard NGINX configuration policies in the console, associate configuration policies with listeners in one click on the listener details page, and complete personalized configurations to meet business requirements without submitting a ticket. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const aLBCustomizedCfgDemo = new volcenginecc.alb.CustomizedCfg("ALBCustomizedCfgDemo", { * customizedCfgName: "ccapi-test", * description: "testdesc", * customizedCfgContent: `ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256;\x0d * ssl_protocols TLSv1.2 TLSv1.1 TLSv1;\x0d * client_max_body_size 60M;\x0d * keepalive_timeout 77s;\x0d * proxy_connect_timeout 4s;\x0d * proxy_request_buffering off;\x0d * proxy_ignore_client_abort off;\x0d * proxy_read_timeout 60s;\x0d * proxy_send_timeout 60s;\x0d * client_header_timeout 60s;\x0d * client_body_timeout 60s;\x0d * send_timeout 60s;\x0d * ssl_verify_depth 3;\x0d * `, * projectName: "default", * tags: [{ * key: "env", * value: "test", * }], * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:alb/customizedCfg:CustomizedCfg example "customized_cfg_id" * ``` */ export declare class CustomizedCfg extends pulumi.CustomResource { /** * Get an existing CustomizedCfg resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: CustomizedCfgState, opts?: pulumi.CustomResourceOptions): CustomizedCfg; /** * Returns true if the given object is an instance of CustomizedCfg. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is CustomizedCfg; /** * Creation time of the personalized configuration. */ readonly createdTime: pulumi.Output; /** * Content of the personalized configuration item. Specific rules: Length must not exceed 4096 characters. Spaces and semicolons must be escaped. Different configuration items are separated by '; * '. Configuration items cannot be duplicated. Currently supported configuration items include ssl*protocols, ssl*ciphers, client*max*body*size, keepalive*timeout, proxy*request*buffering, proxy*connect*timeout, add*header, client*header*timeout, proxy*read*timeout, proxy*send*timeout, client*body*timeout, send*timeout, and ssl*verify*depth. For details, see the official documentation. */ readonly customizedCfgContent: pulumi.Output; /** * Personalized configuration ID. */ readonly customizedCfgId: pulumi.Output; /** * Name of the personalized configuration. Specific rules: Cannot start with http:// or https://. Must start with a letter or Chinese character. Can include numbers, periods (.), underscores (_), and hyphens (-). Length must be between 1 and 128 characters. */ readonly customizedCfgName: pulumi.Output; /** * Description of the personalized configuration. Specific rules: Cannot start with http:// or https://. Must start with a letter or Chinese character. Can include numbers, English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。). Length must be between 1 and 255 characters. If not specified, defaults to an empty string. */ readonly description: pulumi.Output; readonly listeners: pulumi.Output; /** * Project name to which the personalized configuration belongs. */ readonly projectName: pulumi.Output; /** * Status of the personalized configuration. Includes Active, Configuring, Creating, or Deleting. */ readonly status: pulumi.Output; readonly tags: pulumi.Output; /** * Last operation time of the personalized configuration. */ readonly updatedTime: pulumi.Output; /** * Create a CustomizedCfg resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: CustomizedCfgArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CustomizedCfg resources. */ export interface CustomizedCfgState { /** * Creation time of the personalized configuration. */ createdTime?: pulumi.Input; /** * Content of the personalized configuration item. Specific rules: Length must not exceed 4096 characters. Spaces and semicolons must be escaped. Different configuration items are separated by '; * '. Configuration items cannot be duplicated. Currently supported configuration items include ssl*protocols, ssl*ciphers, client*max*body*size, keepalive*timeout, proxy*request*buffering, proxy*connect*timeout, add*header, client*header*timeout, proxy*read*timeout, proxy*send*timeout, client*body*timeout, send*timeout, and ssl*verify*depth. For details, see the official documentation. */ customizedCfgContent?: pulumi.Input; /** * Personalized configuration ID. */ customizedCfgId?: pulumi.Input; /** * Name of the personalized configuration. Specific rules: Cannot start with http:// or https://. Must start with a letter or Chinese character. Can include numbers, periods (.), underscores (_), and hyphens (-). Length must be between 1 and 128 characters. */ customizedCfgName?: pulumi.Input; /** * Description of the personalized configuration. Specific rules: Cannot start with http:// or https://. Must start with a letter or Chinese character. Can include numbers, English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。). Length must be between 1 and 255 characters. If not specified, defaults to an empty string. */ description?: pulumi.Input; listeners?: pulumi.Input[]>; /** * Project name to which the personalized configuration belongs. */ projectName?: pulumi.Input; /** * Status of the personalized configuration. Includes Active, Configuring, Creating, or Deleting. */ status?: pulumi.Input; tags?: pulumi.Input[]>; /** * Last operation time of the personalized configuration. */ updatedTime?: pulumi.Input; } /** * The set of arguments for constructing a CustomizedCfg resource. */ export interface CustomizedCfgArgs { /** * Content of the personalized configuration item. Specific rules: Length must not exceed 4096 characters. Spaces and semicolons must be escaped. Different configuration items are separated by '; * '. Configuration items cannot be duplicated. Currently supported configuration items include ssl*protocols, ssl*ciphers, client*max*body*size, keepalive*timeout, proxy*request*buffering, proxy*connect*timeout, add*header, client*header*timeout, proxy*read*timeout, proxy*send*timeout, client*body*timeout, send*timeout, and ssl*verify*depth. For details, see the official documentation. */ customizedCfgContent: pulumi.Input; /** * Name of the personalized configuration. Specific rules: Cannot start with http:// or https://. Must start with a letter or Chinese character. Can include numbers, periods (.), underscores (_), and hyphens (-). Length must be between 1 and 128 characters. */ customizedCfgName: pulumi.Input; /** * Description of the personalized configuration. Specific rules: Cannot start with http:// or https://. Must start with a letter or Chinese character. Can include numbers, English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。). Length must be between 1 and 255 characters. If not specified, defaults to an empty string. */ description?: pulumi.Input; /** * Project name to which the personalized configuration belongs. */ projectName?: pulumi.Input; tags?: pulumi.Input[]>; }