UNPKG

@cdktf/provider-aws

Version:

Prebuilt aws Provider for Terraform CDK (cdktf)

888 lines 191 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2; Object.defineProperty(exports, "__esModule", { value: true }); exports.dataAwsCognitoUserPoolSchemaAttributesToHclTerraform = exports.dataAwsCognitoUserPoolSchemaAttributesToTerraform = exports.DataAwsCognitoUserPoolSchemaAttributesStringAttributeConstraintsList = exports.DataAwsCognitoUserPoolSchemaAttributesStringAttributeConstraintsOutputReference = exports.dataAwsCognitoUserPoolSchemaAttributesStringAttributeConstraintsToHclTerraform = exports.dataAwsCognitoUserPoolSchemaAttributesStringAttributeConstraintsToTerraform = exports.DataAwsCognitoUserPoolSchemaAttributesNumberAttributeConstraintsList = exports.DataAwsCognitoUserPoolSchemaAttributesNumberAttributeConstraintsOutputReference = exports.dataAwsCognitoUserPoolSchemaAttributesNumberAttributeConstraintsToHclTerraform = exports.dataAwsCognitoUserPoolSchemaAttributesNumberAttributeConstraintsToTerraform = exports.DataAwsCognitoUserPoolLambdaConfigList = exports.DataAwsCognitoUserPoolLambdaConfigOutputReference = exports.dataAwsCognitoUserPoolLambdaConfigToHclTerraform = exports.dataAwsCognitoUserPoolLambdaConfigToTerraform = exports.DataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigList = exports.DataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigOutputReference = exports.dataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigToHclTerraform = exports.dataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigToTerraform = exports.DataAwsCognitoUserPoolLambdaConfigCustomSmsSenderList = exports.DataAwsCognitoUserPoolLambdaConfigCustomSmsSenderOutputReference = exports.dataAwsCognitoUserPoolLambdaConfigCustomSmsSenderToHclTerraform = exports.dataAwsCognitoUserPoolLambdaConfigCustomSmsSenderToTerraform = exports.DataAwsCognitoUserPoolLambdaConfigCustomEmailSenderList = exports.DataAwsCognitoUserPoolLambdaConfigCustomEmailSenderOutputReference = exports.dataAwsCognitoUserPoolLambdaConfigCustomEmailSenderToHclTerraform = exports.dataAwsCognitoUserPoolLambdaConfigCustomEmailSenderToTerraform = exports.DataAwsCognitoUserPoolEmailConfigurationList = exports.DataAwsCognitoUserPoolEmailConfigurationOutputReference = exports.dataAwsCognitoUserPoolEmailConfigurationToHclTerraform = exports.dataAwsCognitoUserPoolEmailConfigurationToTerraform = exports.DataAwsCognitoUserPoolDeviceConfigurationList = exports.DataAwsCognitoUserPoolDeviceConfigurationOutputReference = exports.dataAwsCognitoUserPoolDeviceConfigurationToHclTerraform = exports.dataAwsCognitoUserPoolDeviceConfigurationToTerraform = exports.DataAwsCognitoUserPoolAdminCreateUserConfigList = exports.DataAwsCognitoUserPoolAdminCreateUserConfigOutputReference = exports.dataAwsCognitoUserPoolAdminCreateUserConfigToHclTerraform = exports.dataAwsCognitoUserPoolAdminCreateUserConfigToTerraform = exports.DataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateList = exports.DataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateOutputReference = exports.dataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateToHclTerraform = exports.dataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateToTerraform = exports.DataAwsCognitoUserPoolAccountRecoverySettingList = exports.DataAwsCognitoUserPoolAccountRecoverySettingOutputReference = exports.dataAwsCognitoUserPoolAccountRecoverySettingToHclTerraform = exports.dataAwsCognitoUserPoolAccountRecoverySettingToTerraform = exports.DataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismList = exports.DataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismOutputReference = exports.dataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismToHclTerraform = exports.dataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismToTerraform = void 0; exports.DataAwsCognitoUserPool = exports.DataAwsCognitoUserPoolSchemaAttributesList = exports.DataAwsCognitoUserPoolSchemaAttributesOutputReference = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } exports.dataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismToTerraform = dataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismToTerraform; function dataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } exports.dataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismToHclTerraform = dataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismToHclTerraform; class DataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismOutputReference extends cdktf.ComplexObject { /** * @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, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // name - computed: true, optional: false, required: false get name() { return this.getStringAttribute('name'); } // priority - computed: true, optional: false, required: false get priority() { return this.getNumberAttribute('priority'); } } exports.DataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismOutputReference = DataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismOutputReference; _a = JSII_RTTI_SYMBOL_1; DataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismOutputReference[_a] = { fqn: "@cdktf/provider-aws.dataAwsCognitoUserPool.DataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismOutputReference", version: "19.50.0" }; class DataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismList extends cdktf.ComplexList { /** * @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, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismList = DataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismList; _b = JSII_RTTI_SYMBOL_1; DataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismList[_b] = { fqn: "@cdktf/provider-aws.dataAwsCognitoUserPool.DataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismList", version: "19.50.0" }; function dataAwsCognitoUserPoolAccountRecoverySettingToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } exports.dataAwsCognitoUserPoolAccountRecoverySettingToTerraform = dataAwsCognitoUserPoolAccountRecoverySettingToTerraform; function dataAwsCognitoUserPoolAccountRecoverySettingToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } exports.dataAwsCognitoUserPoolAccountRecoverySettingToHclTerraform = dataAwsCognitoUserPoolAccountRecoverySettingToHclTerraform; class DataAwsCognitoUserPoolAccountRecoverySettingOutputReference extends cdktf.ComplexObject { /** * @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, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; // recovery_mechanism - computed: true, optional: false, required: false this._recoveryMechanism = new DataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismList(this, "recovery_mechanism", false); } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } get recoveryMechanism() { return this._recoveryMechanism; } } exports.DataAwsCognitoUserPoolAccountRecoverySettingOutputReference = DataAwsCognitoUserPoolAccountRecoverySettingOutputReference; _c = JSII_RTTI_SYMBOL_1; DataAwsCognitoUserPoolAccountRecoverySettingOutputReference[_c] = { fqn: "@cdktf/provider-aws.dataAwsCognitoUserPool.DataAwsCognitoUserPoolAccountRecoverySettingOutputReference", version: "19.50.0" }; class DataAwsCognitoUserPoolAccountRecoverySettingList extends cdktf.ComplexList { /** * @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, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsCognitoUserPoolAccountRecoverySettingOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsCognitoUserPoolAccountRecoverySettingList = DataAwsCognitoUserPoolAccountRecoverySettingList; _d = JSII_RTTI_SYMBOL_1; DataAwsCognitoUserPoolAccountRecoverySettingList[_d] = { fqn: "@cdktf/provider-aws.dataAwsCognitoUserPool.DataAwsCognitoUserPoolAccountRecoverySettingList", version: "19.50.0" }; function dataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } exports.dataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateToTerraform = dataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateToTerraform; function dataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } exports.dataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateToHclTerraform = dataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateToHclTerraform; class DataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateOutputReference extends cdktf.ComplexObject { /** * @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, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // email_message - computed: true, optional: false, required: false get emailMessage() { return this.getStringAttribute('email_message'); } // email_subject - computed: true, optional: false, required: false get emailSubject() { return this.getStringAttribute('email_subject'); } // sms_message - computed: true, optional: false, required: false get smsMessage() { return this.getStringAttribute('sms_message'); } } exports.DataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateOutputReference = DataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateOutputReference; _e = JSII_RTTI_SYMBOL_1; DataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateOutputReference[_e] = { fqn: "@cdktf/provider-aws.dataAwsCognitoUserPool.DataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateOutputReference", version: "19.50.0" }; class DataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateList extends cdktf.ComplexList { /** * @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, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateList = DataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateList; _f = JSII_RTTI_SYMBOL_1; DataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateList[_f] = { fqn: "@cdktf/provider-aws.dataAwsCognitoUserPool.DataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateList", version: "19.50.0" }; function dataAwsCognitoUserPoolAdminCreateUserConfigToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } exports.dataAwsCognitoUserPoolAdminCreateUserConfigToTerraform = dataAwsCognitoUserPoolAdminCreateUserConfigToTerraform; function dataAwsCognitoUserPoolAdminCreateUserConfigToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } exports.dataAwsCognitoUserPoolAdminCreateUserConfigToHclTerraform = dataAwsCognitoUserPoolAdminCreateUserConfigToHclTerraform; class DataAwsCognitoUserPoolAdminCreateUserConfigOutputReference extends cdktf.ComplexObject { /** * @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, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; // invite_message_template - computed: true, optional: false, required: false this._inviteMessageTemplate = new DataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateList(this, "invite_message_template", false); } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // allow_admin_create_user_only - computed: true, optional: false, required: false get allowAdminCreateUserOnly() { return this.getBooleanAttribute('allow_admin_create_user_only'); } get inviteMessageTemplate() { return this._inviteMessageTemplate; } // unused_account_validity_days - computed: true, optional: false, required: false get unusedAccountValidityDays() { return this.getNumberAttribute('unused_account_validity_days'); } } exports.DataAwsCognitoUserPoolAdminCreateUserConfigOutputReference = DataAwsCognitoUserPoolAdminCreateUserConfigOutputReference; _g = JSII_RTTI_SYMBOL_1; DataAwsCognitoUserPoolAdminCreateUserConfigOutputReference[_g] = { fqn: "@cdktf/provider-aws.dataAwsCognitoUserPool.DataAwsCognitoUserPoolAdminCreateUserConfigOutputReference", version: "19.50.0" }; class DataAwsCognitoUserPoolAdminCreateUserConfigList extends cdktf.ComplexList { /** * @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, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsCognitoUserPoolAdminCreateUserConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsCognitoUserPoolAdminCreateUserConfigList = DataAwsCognitoUserPoolAdminCreateUserConfigList; _h = JSII_RTTI_SYMBOL_1; DataAwsCognitoUserPoolAdminCreateUserConfigList[_h] = { fqn: "@cdktf/provider-aws.dataAwsCognitoUserPool.DataAwsCognitoUserPoolAdminCreateUserConfigList", version: "19.50.0" }; function dataAwsCognitoUserPoolDeviceConfigurationToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } exports.dataAwsCognitoUserPoolDeviceConfigurationToTerraform = dataAwsCognitoUserPoolDeviceConfigurationToTerraform; function dataAwsCognitoUserPoolDeviceConfigurationToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } exports.dataAwsCognitoUserPoolDeviceConfigurationToHclTerraform = dataAwsCognitoUserPoolDeviceConfigurationToHclTerraform; class DataAwsCognitoUserPoolDeviceConfigurationOutputReference extends cdktf.ComplexObject { /** * @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, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // challenge_required_on_new_device - computed: true, optional: false, required: false get challengeRequiredOnNewDevice() { return this.getBooleanAttribute('challenge_required_on_new_device'); } // device_only_remembered_on_user_prompt - computed: true, optional: false, required: false get deviceOnlyRememberedOnUserPrompt() { return this.getBooleanAttribute('device_only_remembered_on_user_prompt'); } } exports.DataAwsCognitoUserPoolDeviceConfigurationOutputReference = DataAwsCognitoUserPoolDeviceConfigurationOutputReference; _j = JSII_RTTI_SYMBOL_1; DataAwsCognitoUserPoolDeviceConfigurationOutputReference[_j] = { fqn: "@cdktf/provider-aws.dataAwsCognitoUserPool.DataAwsCognitoUserPoolDeviceConfigurationOutputReference", version: "19.50.0" }; class DataAwsCognitoUserPoolDeviceConfigurationList extends cdktf.ComplexList { /** * @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, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsCognitoUserPoolDeviceConfigurationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsCognitoUserPoolDeviceConfigurationList = DataAwsCognitoUserPoolDeviceConfigurationList; _k = JSII_RTTI_SYMBOL_1; DataAwsCognitoUserPoolDeviceConfigurationList[_k] = { fqn: "@cdktf/provider-aws.dataAwsCognitoUserPool.DataAwsCognitoUserPoolDeviceConfigurationList", version: "19.50.0" }; function dataAwsCognitoUserPoolEmailConfigurationToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } exports.dataAwsCognitoUserPoolEmailConfigurationToTerraform = dataAwsCognitoUserPoolEmailConfigurationToTerraform; function dataAwsCognitoUserPoolEmailConfigurationToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } exports.dataAwsCognitoUserPoolEmailConfigurationToHclTerraform = dataAwsCognitoUserPoolEmailConfigurationToHclTerraform; class DataAwsCognitoUserPoolEmailConfigurationOutputReference extends cdktf.ComplexObject { /** * @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, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // configuration_set - computed: true, optional: false, required: false get configurationSet() { return this.getStringAttribute('configuration_set'); } // email_sending_account - computed: true, optional: false, required: false get emailSendingAccount() { return this.getStringAttribute('email_sending_account'); } // from - computed: true, optional: false, required: false get from() { return this.getStringAttribute('from'); } // reply_to_email_address - computed: true, optional: false, required: false get replyToEmailAddress() { return this.getStringAttribute('reply_to_email_address'); } // source_arn - computed: true, optional: false, required: false get sourceArn() { return this.getStringAttribute('source_arn'); } } exports.DataAwsCognitoUserPoolEmailConfigurationOutputReference = DataAwsCognitoUserPoolEmailConfigurationOutputReference; _l = JSII_RTTI_SYMBOL_1; DataAwsCognitoUserPoolEmailConfigurationOutputReference[_l] = { fqn: "@cdktf/provider-aws.dataAwsCognitoUserPool.DataAwsCognitoUserPoolEmailConfigurationOutputReference", version: "19.50.0" }; class DataAwsCognitoUserPoolEmailConfigurationList extends cdktf.ComplexList { /** * @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, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsCognitoUserPoolEmailConfigurationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsCognitoUserPoolEmailConfigurationList = DataAwsCognitoUserPoolEmailConfigurationList; _m = JSII_RTTI_SYMBOL_1; DataAwsCognitoUserPoolEmailConfigurationList[_m] = { fqn: "@cdktf/provider-aws.dataAwsCognitoUserPool.DataAwsCognitoUserPoolEmailConfigurationList", version: "19.50.0" }; function dataAwsCognitoUserPoolLambdaConfigCustomEmailSenderToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } exports.dataAwsCognitoUserPoolLambdaConfigCustomEmailSenderToTerraform = dataAwsCognitoUserPoolLambdaConfigCustomEmailSenderToTerraform; function dataAwsCognitoUserPoolLambdaConfigCustomEmailSenderToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } exports.dataAwsCognitoUserPoolLambdaConfigCustomEmailSenderToHclTerraform = dataAwsCognitoUserPoolLambdaConfigCustomEmailSenderToHclTerraform; class DataAwsCognitoUserPoolLambdaConfigCustomEmailSenderOutputReference extends cdktf.ComplexObject { /** * @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, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // lambda_arn - computed: true, optional: false, required: false get lambdaArn() { return this.getStringAttribute('lambda_arn'); } // lambda_version - computed: true, optional: false, required: false get lambdaVersion() { return this.getStringAttribute('lambda_version'); } } exports.DataAwsCognitoUserPoolLambdaConfigCustomEmailSenderOutputReference = DataAwsCognitoUserPoolLambdaConfigCustomEmailSenderOutputReference; _o = JSII_RTTI_SYMBOL_1; DataAwsCognitoUserPoolLambdaConfigCustomEmailSenderOutputReference[_o] = { fqn: "@cdktf/provider-aws.dataAwsCognitoUserPool.DataAwsCognitoUserPoolLambdaConfigCustomEmailSenderOutputReference", version: "19.50.0" }; class DataAwsCognitoUserPoolLambdaConfigCustomEmailSenderList extends cdktf.ComplexList { /** * @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, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsCognitoUserPoolLambdaConfigCustomEmailSenderOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsCognitoUserPoolLambdaConfigCustomEmailSenderList = DataAwsCognitoUserPoolLambdaConfigCustomEmailSenderList; _p = JSII_RTTI_SYMBOL_1; DataAwsCognitoUserPoolLambdaConfigCustomEmailSenderList[_p] = { fqn: "@cdktf/provider-aws.dataAwsCognitoUserPool.DataAwsCognitoUserPoolLambdaConfigCustomEmailSenderList", version: "19.50.0" }; function dataAwsCognitoUserPoolLambdaConfigCustomSmsSenderToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } exports.dataAwsCognitoUserPoolLambdaConfigCustomSmsSenderToTerraform = dataAwsCognitoUserPoolLambdaConfigCustomSmsSenderToTerraform; function dataAwsCognitoUserPoolLambdaConfigCustomSmsSenderToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } exports.dataAwsCognitoUserPoolLambdaConfigCustomSmsSenderToHclTerraform = dataAwsCognitoUserPoolLambdaConfigCustomSmsSenderToHclTerraform; class DataAwsCognitoUserPoolLambdaConfigCustomSmsSenderOutputReference extends cdktf.ComplexObject { /** * @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, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // lambda_arn - computed: true, optional: false, required: false get lambdaArn() { return this.getStringAttribute('lambda_arn'); } // lambda_version - computed: true, optional: false, required: false get lambdaVersion() { return this.getStringAttribute('lambda_version'); } } exports.DataAwsCognitoUserPoolLambdaConfigCustomSmsSenderOutputReference = DataAwsCognitoUserPoolLambdaConfigCustomSmsSenderOutputReference; _q = JSII_RTTI_SYMBOL_1; DataAwsCognitoUserPoolLambdaConfigCustomSmsSenderOutputReference[_q] = { fqn: "@cdktf/provider-aws.dataAwsCognitoUserPool.DataAwsCognitoUserPoolLambdaConfigCustomSmsSenderOutputReference", version: "19.50.0" }; class DataAwsCognitoUserPoolLambdaConfigCustomSmsSenderList extends cdktf.ComplexList { /** * @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, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsCognitoUserPoolLambdaConfigCustomSmsSenderOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsCognitoUserPoolLambdaConfigCustomSmsSenderList = DataAwsCognitoUserPoolLambdaConfigCustomSmsSenderList; _r = JSII_RTTI_SYMBOL_1; DataAwsCognitoUserPoolLambdaConfigCustomSmsSenderList[_r] = { fqn: "@cdktf/provider-aws.dataAwsCognitoUserPool.DataAwsCognitoUserPoolLambdaConfigCustomSmsSenderList", version: "19.50.0" }; function dataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } exports.dataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigToTerraform = dataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigToTerraform; function dataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } exports.dataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigToHclTerraform = dataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigToHclTerraform; class DataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigOutputReference extends cdktf.ComplexObject { /** * @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, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // lambda_arn - computed: true, optional: false, required: false get lambdaArn() { return this.getStringAttribute('lambda_arn'); } // lambda_version - computed: true, optional: false, required: false get lambdaVersion() { return this.getStringAttribute('lambda_version'); } } exports.DataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigOutputReference = DataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigOutputReference; _s = JSII_RTTI_SYMBOL_1; DataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigOutputReference[_s] = { fqn: "@cdktf/provider-aws.dataAwsCognitoUserPool.DataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigOutputReference", version: "19.50.0" }; class DataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigList extends cdktf.ComplexList { /** * @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, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigList = DataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigList; _t = JSII_RTTI_SYMBOL_1; DataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigList[_t] = { fqn: "@cdktf/provider-aws.dataAwsCognitoUserPool.DataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigList", version: "19.50.0" }; function dataAwsCognitoUserPoolLambdaConfigToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } exports.dataAwsCognitoUserPoolLambdaConfigToTerraform = dataAwsCognitoUserPoolLambdaConfigToTerraform; function dataAwsCognitoUserPoolLambdaConfigToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } exports.dataAwsCognitoUserPoolLambdaConfigToHclTerraform = dataAwsCognitoUserPoolLambdaConfigToHclTerraform; class DataAwsCognitoUserPoolLambdaConfigOutputReference extends cdktf.ComplexObject { /** * @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, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; // custom_email_sender - computed: true, optional: false, required: false this._customEmailSender = new DataAwsCognitoUserPoolLambdaConfigCustomEmailSenderList(this, "custom_email_sender", false); // custom_sms_sender - computed: true, optional: false, required: false this._customSmsSender = new DataAwsCognitoUserPoolLambdaConfigCustomSmsSenderList(this, "custom_sms_sender", false); // pre_token_generation_config - computed: true, optional: false, required: false this._preTokenGenerationConfig = new DataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigList(this, "pre_token_generation_config", false); } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // create_auth_challenge - computed: true, optional: false, required: false get createAuthChallenge() { return this.getStringAttribute('create_auth_challenge'); } get customEmailSender() { return this._customEmailSender; } // custom_message - computed: true, optional: false, required: false get customMessage() { return this.getStringAttribute('custom_message'); } get customSmsSender() { return this._customSmsSender; } // define_auth_challenge - computed: true, optional: false, required: false get defineAuthChallenge() { return this.getStringAttribute('define_auth_challenge'); } // kms_key_id - computed: true, optional: false, required: false get kmsKeyId() { return this.getStringAttribute('kms_key_id'); } // post_authentication - computed: true, optional: false, required: false get postAuthentication() { return this.getStringAttribute('post_authentication'); } // post_confirmation - computed: true, optional: false, required: false get postConfirmation() { return this.getStringAttribute('post_confirmation'); } // pre_authentication - computed: true, optional: false, required: false get preAuthentication() { return this.getStringAttribute('pre_authentication'); } // pre_sign_up - computed: true, optional: false, required: false get preSignUp() { return this.getStringAttribute('pre_sign_up'); } // pre_token_generation - computed: true, optional: false, required: false get preTokenGeneration() { return this.getStringAttribute('pre_token_generation'); } get preTokenGenerationConfig() { return this._preTokenGenerationConfig; } // user_migration - computed: true, optional: false, required: false get userMigration() { return this.getStringAttribute('user_migration'); } // verify_auth_challenge_response - computed: true, optional: false, required: false get verifyAuthChallengeResponse() { return this.getStringAttribute('verify_auth_challenge_response'); } } exports.DataAwsCognitoUserPoolLambdaConfigOutputReference = DataAwsCognitoUserPoolLambdaConfigOutputReference; _u = JSII_RTTI_SYMBOL_1; DataAwsCognitoUserPoolLambdaConfigOutputReference[_u] = { fqn: "@cdktf/provider-aws.dataAwsCognitoUserPool.DataAwsCognitoUserPoolLambdaConfigOutputReference", version: "19.50.0" }; class DataAwsCognitoUserPoolLambdaConfigList extends cdktf.ComplexList { /** * @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, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsCognitoUserPoolLambdaConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsCognitoUserPoolLambdaConfigList = DataAwsCognitoUserPoolLambdaConfigList; _v = JSII_RTTI_SYMBOL_1; DataAwsCognitoUserPoolLambdaConfigList[_v] = { fqn: "@cdktf/provider-aws.dataAwsCognitoUserPool.DataAwsCognitoUserPoolLambdaConfigList", version: "19.50.0" }; function dataAwsCognitoUserPoolSchemaAttributesNumberAttributeConstraintsToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } exports.dataAwsCognitoUserPoolSchemaAttributesNumberAttributeConstraintsToTerraform = dataAwsCognitoUserPoolSchemaAttributesNumberAttributeConstraintsToTerraform; function dataAwsCognitoUserPoolSchemaAttributesNumberAttributeConstraintsToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } exports.dataAwsCognitoUserPoolSchemaAttributesNumberAttributeConstraintsToHclTerraform = dataAwsCognitoUserPoolSchemaAttributesNumberAttributeConstraintsToHclTerraform; class DataAwsCognitoUserPoolSchemaAttributesNumberAttributeConstraintsOut