import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface WebdeploymentsDeploymentConfig extends cdktf.TerraformMetaArguments { /** * Whether all domains are allowed or not. allowedDomains must be empty when this is true. Defaults to `false`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/webdeployments_deployment#allow_all_domains WebdeploymentsDeployment#allow_all_domains} */ readonly allowAllDomains?: boolean | cdktf.IResolvable; /** * The list of domains that are approved to use this deployment; the list will be added to CORS headers for ease of web use. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/webdeployments_deployment#allowed_domains WebdeploymentsDeployment#allowed_domains} */ readonly allowedDomains?: string[]; /** * Deployment description * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/webdeployments_deployment#description WebdeploymentsDeployment#description} */ readonly description?: string; /** * A reference to the inboundshortmessage flow used by this deployment. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/webdeployments_deployment#flow_id WebdeploymentsDeployment#flow_id} */ readonly flowId?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/webdeployments_deployment#id WebdeploymentsDeployment#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; /** * Deployment name * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/webdeployments_deployment#name WebdeploymentsDeployment#name} */ readonly name: string; /** * The current status of the deployment. Valid values: Pending, Active, Inactive, Error, Deleting. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/webdeployments_deployment#status WebdeploymentsDeployment#status} */ readonly status?: string; /** * configuration block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/webdeployments_deployment#configuration WebdeploymentsDeployment#configuration} */ readonly configuration: WebdeploymentsDeploymentConfiguration; } export interface WebdeploymentsDeploymentConfiguration { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/webdeployments_deployment#id WebdeploymentsDeployment#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; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/webdeployments_deployment#version WebdeploymentsDeployment#version} */ readonly version?: string; } export declare function webdeploymentsDeploymentConfigurationToTerraform(struct?: WebdeploymentsDeploymentConfigurationOutputReference | WebdeploymentsDeploymentConfiguration): any; export declare function webdeploymentsDeploymentConfigurationToHclTerraform(struct?: WebdeploymentsDeploymentConfigurationOutputReference | WebdeploymentsDeploymentConfiguration): any; export declare class WebdeploymentsDeploymentConfigurationOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): WebdeploymentsDeploymentConfiguration | undefined; set internalValue(value: WebdeploymentsDeploymentConfiguration | undefined); private _id?; get id(): string; set id(value: string); get idInput(): string; private _version?; get version(): string; set version(value: string); resetVersion(): void; get versionInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/webdeployments_deployment genesyscloud_webdeployments_deployment} */ export declare class WebdeploymentsDeployment extends cdktf.TerraformResource { static readonly tfResourceType = "genesyscloud_webdeployments_deployment"; /** * Generates CDKTF code for importing a WebdeploymentsDeployment 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 WebdeploymentsDeployment to import * @param importFromId The id of the existing WebdeploymentsDeployment that should be imported. Refer to the {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/webdeployments_deployment#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the WebdeploymentsDeployment 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/mypurecloud/genesyscloud/1.73.0/docs/resources/webdeployments_deployment genesyscloud_webdeployments_deployment} 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 WebdeploymentsDeploymentConfig */ constructor(scope: Construct, id: string, config: WebdeploymentsDeploymentConfig); private _allowAllDomains?; get allowAllDomains(): boolean | cdktf.IResolvable; set allowAllDomains(value: boolean | cdktf.IResolvable); resetAllowAllDomains(): void; get allowAllDomainsInput(): any; private _allowedDomains?; get allowedDomains(): string[]; set allowedDomains(value: string[]); resetAllowedDomains(): void; get allowedDomainsInput(): string[]; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _flowId?; get flowId(): string; set flowId(value: string); resetFlowId(): void; get flowIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _status?; get status(): string; set status(value: string); resetStatus(): void; get statusInput(): string; private _configuration; get configuration(): WebdeploymentsDeploymentConfigurationOutputReference; putConfiguration(value: WebdeploymentsDeploymentConfiguration): void; get configurationInput(): WebdeploymentsDeploymentConfiguration; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }