@cdktf/provider-aws
Version:
Prebuilt aws Provider for Terraform CDK (cdktf)
902 lines • 216 kB
JavaScript
"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, _3, _4, _5, _6;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DataAwsCognitoUserPool = exports.DataAwsCognitoUserPoolUserPoolAddOnsList = exports.DataAwsCognitoUserPoolUserPoolAddOnsOutputReference = exports.DataAwsCognitoUserPoolUserPoolAddOnsAdvancedSecurityAdditionalFlowsList = exports.DataAwsCognitoUserPoolUserPoolAddOnsAdvancedSecurityAdditionalFlowsOutputReference = exports.DataAwsCognitoUserPoolSchemaAttributesList = exports.DataAwsCognitoUserPoolSchemaAttributesOutputReference = exports.DataAwsCognitoUserPoolSchemaAttributesStringAttributeConstraintsList = exports.DataAwsCognitoUserPoolSchemaAttributesStringAttributeConstraintsOutputReference = exports.DataAwsCognitoUserPoolSchemaAttributesNumberAttributeConstraintsList = exports.DataAwsCognitoUserPoolSchemaAttributesNumberAttributeConstraintsOutputReference = exports.DataAwsCognitoUserPoolLambdaConfigList = exports.DataAwsCognitoUserPoolLambdaConfigOutputReference = exports.DataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigList = exports.DataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigOutputReference = exports.DataAwsCognitoUserPoolLambdaConfigCustomSmsSenderList = exports.DataAwsCognitoUserPoolLambdaConfigCustomSmsSenderOutputReference = exports.DataAwsCognitoUserPoolLambdaConfigCustomEmailSenderList = exports.DataAwsCognitoUserPoolLambdaConfigCustomEmailSenderOutputReference = exports.DataAwsCognitoUserPoolEmailConfigurationList = exports.DataAwsCognitoUserPoolEmailConfigurationOutputReference = exports.DataAwsCognitoUserPoolDeviceConfigurationList = exports.DataAwsCognitoUserPoolDeviceConfigurationOutputReference = exports.DataAwsCognitoUserPoolAdminCreateUserConfigList = exports.DataAwsCognitoUserPoolAdminCreateUserConfigOutputReference = exports.DataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateList = exports.DataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateOutputReference = exports.DataAwsCognitoUserPoolAccountRecoverySettingList = exports.DataAwsCognitoUserPoolAccountRecoverySettingOutputReference = exports.DataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismList = exports.DataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismOutputReference = void 0;
exports.dataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismToTerraform = dataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismToTerraform;
exports.dataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismToHclTerraform = dataAwsCognitoUserPoolAccountRecoverySettingRecoveryMechanismToHclTerraform;
exports.dataAwsCognitoUserPoolAccountRecoverySettingToTerraform = dataAwsCognitoUserPoolAccountRecoverySettingToTerraform;
exports.dataAwsCognitoUserPoolAccountRecoverySettingToHclTerraform = dataAwsCognitoUserPoolAccountRecoverySettingToHclTerraform;
exports.dataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateToTerraform = dataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateToTerraform;
exports.dataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateToHclTerraform = dataAwsCognitoUserPoolAdminCreateUserConfigInviteMessageTemplateToHclTerraform;
exports.dataAwsCognitoUserPoolAdminCreateUserConfigToTerraform = dataAwsCognitoUserPoolAdminCreateUserConfigToTerraform;
exports.dataAwsCognitoUserPoolAdminCreateUserConfigToHclTerraform = dataAwsCognitoUserPoolAdminCreateUserConfigToHclTerraform;
exports.dataAwsCognitoUserPoolDeviceConfigurationToTerraform = dataAwsCognitoUserPoolDeviceConfigurationToTerraform;
exports.dataAwsCognitoUserPoolDeviceConfigurationToHclTerraform = dataAwsCognitoUserPoolDeviceConfigurationToHclTerraform;
exports.dataAwsCognitoUserPoolEmailConfigurationToTerraform = dataAwsCognitoUserPoolEmailConfigurationToTerraform;
exports.dataAwsCognitoUserPoolEmailConfigurationToHclTerraform = dataAwsCognitoUserPoolEmailConfigurationToHclTerraform;
exports.dataAwsCognitoUserPoolLambdaConfigCustomEmailSenderToTerraform = dataAwsCognitoUserPoolLambdaConfigCustomEmailSenderToTerraform;
exports.dataAwsCognitoUserPoolLambdaConfigCustomEmailSenderToHclTerraform = dataAwsCognitoUserPoolLambdaConfigCustomEmailSenderToHclTerraform;
exports.dataAwsCognitoUserPoolLambdaConfigCustomSmsSenderToTerraform = dataAwsCognitoUserPoolLambdaConfigCustomSmsSenderToTerraform;
exports.dataAwsCognitoUserPoolLambdaConfigCustomSmsSenderToHclTerraform = dataAwsCognitoUserPoolLambdaConfigCustomSmsSenderToHclTerraform;
exports.dataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigToTerraform = dataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigToTerraform;
exports.dataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigToHclTerraform = dataAwsCognitoUserPoolLambdaConfigPreTokenGenerationConfigToHclTerraform;
exports.dataAwsCognitoUserPoolLambdaConfigToTerraform = dataAwsCognitoUserPoolLambdaConfigToTerraform;
exports.dataAwsCognitoUserPoolLambdaConfigToHclTerraform = dataAwsCognitoUserPoolLambdaConfigToHclTerraform;
exports.dataAwsCognitoUserPoolSchemaAttributesNumberAttributeConstraintsToTerraform = dataAwsCognitoUserPoolSchemaAttributesNumberAttributeConstraintsToTerraform;
exports.dataAwsCognitoUserPoolSchemaAttributesNumberAttributeConstraintsToHclTerraform = dataAwsCognitoUserPoolSchemaAttributesNumberAttributeConstraintsToHclTerraform;
exports.dataAwsCognitoUserPoolSchemaAttributesStringAttributeConstraintsToTerraform = dataAwsCognitoUserPoolSchemaAttributesStringAttributeConstraintsToTerraform;
exports.dataAwsCognitoUserPoolSchemaAttributesStringAttributeConstraintsToHclTerraform = dataAwsCognitoUserPoolSchemaAttributesStringAttributeConstraintsToHclTerraform;
exports.dataAwsCognitoUserPoolSchemaAttributesToTerraform = dataAwsCognitoUserPoolSchemaAttributesToTerraform;
exports.dataAwsCognitoUserPoolSchemaAttributesToHclTerraform = dataAwsCognitoUserPoolSchemaAttributesToHclTerraform;
exports.dataAwsCognitoUserPoolUserPoolAddOnsAdvancedSecurityAdditionalFlowsToTerraform = dataAwsCognitoUserPoolUserPoolAddOnsAdvancedSecurityAdditionalFlowsToTerraform;
exports.dataAwsCognitoUserPoolUserPoolAddOnsAdvancedSecurityAdditionalFlowsToHclTerraform = dataAwsCognitoUserPoolUserPoolAddOnsAdvancedSecurityAdditionalFlowsToHclTerraform;
exports.dataAwsCognitoUserPoolUserPoolAddOnsToTerraform = dataAwsCognitoUserPoolUserPoolAddOnsToTerraform;
exports.dataAwsCognitoUserPoolUserPoolAddOnsToHclTerraform = dataAwsCognitoUserPoolUserPoolAddOnsToHclTerraform;
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 {};
}
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;
}
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: "21.22.1" };
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: "21.22.1" };
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 {};
}
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;
}
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: "21.22.1" };
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: "21.22.1" };
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 {};
}
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;
}
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: "21.22.1" };
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: "21.22.1" };
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 {};
}
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;
}
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: "21.22.1" };
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: "21.22.1" };
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 {};
}
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;
}
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: "21.22.1" };
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: "21.22.1" };
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 {};
}
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;
}
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: "21.22.1" };
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: "21.22.1" };
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 {};
}
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;
}
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: "21.22.1" };
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: "21.22.1" };
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 {};
}
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;
}
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: "21.22.1" };
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: "21.22.1" };
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 {};
}
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;
}
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: "21.22.1" };
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: "21.22.1" };
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 {};
}
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;
}
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: "21.22.1" };
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: "21.22.1" };
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 {};
}
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;
}
class DataAwsCognitoUserPoolSchemaAttributesNumberAttributeConstraintsOutputReference 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, complexObjectI