UNPKG

@cdktf/provider-aws

Version:

Prebuilt aws Provider for Terraform CDK (cdktf)

80 lines (79 loc) 4.07 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CognitoUserPoolDomainConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/cognito_user_pool_domain#certificate_arn CognitoUserPoolDomain#certificate_arn} */ readonly certificateArn?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/cognito_user_pool_domain#domain CognitoUserPoolDomain#domain} */ readonly domain: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/cognito_user_pool_domain#id CognitoUserPoolDomain#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/hashicorp/aws/5.84.0/docs/resources/cognito_user_pool_domain#user_pool_id CognitoUserPoolDomain#user_pool_id} */ readonly userPoolId: string; } /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/cognito_user_pool_domain aws_cognito_user_pool_domain} */ export declare class CognitoUserPoolDomain extends cdktf.TerraformResource { static readonly tfResourceType = "aws_cognito_user_pool_domain"; /** * Generates CDKTF code for importing a CognitoUserPoolDomain resource upon running "cdktf plan <stack-name>" * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the CognitoUserPoolDomain to import * @param importFromId The id of the existing CognitoUserPoolDomain that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/cognito_user_pool_domain#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the CognitoUserPoolDomain to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource; /** * Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.84.0/docs/resources/cognito_user_pool_domain aws_cognito_user_pool_domain} 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 CognitoUserPoolDomainConfig */ constructor(scope: Construct, id: string, config: CognitoUserPoolDomainConfig); get awsAccountId(): string; private _certificateArn?; get certificateArn(): string; set certificateArn(value: string); resetCertificateArn(): void; get certificateArnInput(): string | undefined; get cloudfrontDistribution(): string; get cloudfrontDistributionArn(): string; get cloudfrontDistributionZoneId(): string; private _domain?; get domain(): string; set domain(value: string); get domainInput(): string | undefined; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; get s3Bucket(): string; private _userPoolId?; get userPoolId(): string; set userPoolId(value: string); get userPoolIdInput(): string | undefined; get version(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }