UNPKG

@cdktf/provider-azurerm

Version:

Prebuilt azurerm Provider for Terraform CDK (cdktf)

715 lines • 721 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, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _74, _75; Object.defineProperty(exports, "__esModule", { value: true }); exports.dataAzurermWindowsWebAppAuthSettingsV2GithubV2ToHclTerraform = exports.dataAzurermWindowsWebAppAuthSettingsV2GithubV2ToTerraform = exports.DataAzurermWindowsWebAppAuthSettingsV2FacebookV2List = exports.DataAzurermWindowsWebAppAuthSettingsV2FacebookV2OutputReference = exports.dataAzurermWindowsWebAppAuthSettingsV2FacebookV2ToHclTerraform = exports.dataAzurermWindowsWebAppAuthSettingsV2FacebookV2ToTerraform = exports.DataAzurermWindowsWebAppAuthSettingsV2CustomOidcV2List = exports.DataAzurermWindowsWebAppAuthSettingsV2CustomOidcV2OutputReference = exports.dataAzurermWindowsWebAppAuthSettingsV2CustomOidcV2ToHclTerraform = exports.dataAzurermWindowsWebAppAuthSettingsV2CustomOidcV2ToTerraform = exports.DataAzurermWindowsWebAppAuthSettingsV2AzureStaticWebAppV2List = exports.DataAzurermWindowsWebAppAuthSettingsV2AzureStaticWebAppV2OutputReference = exports.dataAzurermWindowsWebAppAuthSettingsV2AzureStaticWebAppV2ToHclTerraform = exports.dataAzurermWindowsWebAppAuthSettingsV2AzureStaticWebAppV2ToTerraform = exports.DataAzurermWindowsWebAppAuthSettingsV2AppleV2List = exports.DataAzurermWindowsWebAppAuthSettingsV2AppleV2OutputReference = exports.dataAzurermWindowsWebAppAuthSettingsV2AppleV2ToHclTerraform = exports.dataAzurermWindowsWebAppAuthSettingsV2AppleV2ToTerraform = exports.DataAzurermWindowsWebAppAuthSettingsV2ActiveDirectoryV2List = exports.DataAzurermWindowsWebAppAuthSettingsV2ActiveDirectoryV2OutputReference = exports.dataAzurermWindowsWebAppAuthSettingsV2ActiveDirectoryV2ToHclTerraform = exports.dataAzurermWindowsWebAppAuthSettingsV2ActiveDirectoryV2ToTerraform = exports.DataAzurermWindowsWebAppAuthSettingsList = exports.DataAzurermWindowsWebAppAuthSettingsOutputReference = exports.dataAzurermWindowsWebAppAuthSettingsToHclTerraform = exports.dataAzurermWindowsWebAppAuthSettingsToTerraform = exports.DataAzurermWindowsWebAppAuthSettingsTwitterList = exports.DataAzurermWindowsWebAppAuthSettingsTwitterOutputReference = exports.dataAzurermWindowsWebAppAuthSettingsTwitterToHclTerraform = exports.dataAzurermWindowsWebAppAuthSettingsTwitterToTerraform = exports.DataAzurermWindowsWebAppAuthSettingsMicrosoftList = exports.DataAzurermWindowsWebAppAuthSettingsMicrosoftOutputReference = exports.dataAzurermWindowsWebAppAuthSettingsMicrosoftToHclTerraform = exports.dataAzurermWindowsWebAppAuthSettingsMicrosoftToTerraform = exports.DataAzurermWindowsWebAppAuthSettingsGoogleList = exports.DataAzurermWindowsWebAppAuthSettingsGoogleOutputReference = exports.dataAzurermWindowsWebAppAuthSettingsGoogleToHclTerraform = exports.dataAzurermWindowsWebAppAuthSettingsGoogleToTerraform = exports.DataAzurermWindowsWebAppAuthSettingsGithubList = exports.DataAzurermWindowsWebAppAuthSettingsGithubOutputReference = exports.dataAzurermWindowsWebAppAuthSettingsGithubToHclTerraform = exports.dataAzurermWindowsWebAppAuthSettingsGithubToTerraform = exports.DataAzurermWindowsWebAppAuthSettingsFacebookList = exports.DataAzurermWindowsWebAppAuthSettingsFacebookOutputReference = exports.dataAzurermWindowsWebAppAuthSettingsFacebookToHclTerraform = exports.dataAzurermWindowsWebAppAuthSettingsFacebookToTerraform = exports.DataAzurermWindowsWebAppAuthSettingsActiveDirectoryList = exports.DataAzurermWindowsWebAppAuthSettingsActiveDirectoryOutputReference = exports.dataAzurermWindowsWebAppAuthSettingsActiveDirectoryToHclTerraform = exports.dataAzurermWindowsWebAppAuthSettingsActiveDirectoryToTerraform = void 0; exports.DataAzurermWindowsWebAppLogsHttpLogsAzureBlobStorageList = exports.DataAzurermWindowsWebAppLogsHttpLogsAzureBlobStorageOutputReference = exports.dataAzurermWindowsWebAppLogsHttpLogsAzureBlobStorageToHclTerraform = exports.dataAzurermWindowsWebAppLogsHttpLogsAzureBlobStorageToTerraform = exports.DataAzurermWindowsWebAppLogsApplicationLogsList = exports.DataAzurermWindowsWebAppLogsApplicationLogsOutputReference = exports.dataAzurermWindowsWebAppLogsApplicationLogsToHclTerraform = exports.dataAzurermWindowsWebAppLogsApplicationLogsToTerraform = exports.DataAzurermWindowsWebAppLogsApplicationLogsAzureBlobStorageList = exports.DataAzurermWindowsWebAppLogsApplicationLogsAzureBlobStorageOutputReference = exports.dataAzurermWindowsWebAppLogsApplicationLogsAzureBlobStorageToHclTerraform = exports.dataAzurermWindowsWebAppLogsApplicationLogsAzureBlobStorageToTerraform = exports.DataAzurermWindowsWebAppIdentityList = exports.DataAzurermWindowsWebAppIdentityOutputReference = exports.dataAzurermWindowsWebAppIdentityToHclTerraform = exports.dataAzurermWindowsWebAppIdentityToTerraform = exports.DataAzurermWindowsWebAppConnectionStringList = exports.DataAzurermWindowsWebAppConnectionStringOutputReference = exports.dataAzurermWindowsWebAppConnectionStringToHclTerraform = exports.dataAzurermWindowsWebAppConnectionStringToTerraform = exports.DataAzurermWindowsWebAppBackupList = exports.DataAzurermWindowsWebAppBackupOutputReference = exports.dataAzurermWindowsWebAppBackupToHclTerraform = exports.dataAzurermWindowsWebAppBackupToTerraform = exports.DataAzurermWindowsWebAppBackupScheduleList = exports.DataAzurermWindowsWebAppBackupScheduleOutputReference = exports.dataAzurermWindowsWebAppBackupScheduleToHclTerraform = exports.dataAzurermWindowsWebAppBackupScheduleToTerraform = exports.DataAzurermWindowsWebAppAuthSettingsV2List = exports.DataAzurermWindowsWebAppAuthSettingsV2OutputReference = exports.dataAzurermWindowsWebAppAuthSettingsV2ToHclTerraform = exports.dataAzurermWindowsWebAppAuthSettingsV2ToTerraform = exports.DataAzurermWindowsWebAppAuthSettingsV2TwitterV2List = exports.DataAzurermWindowsWebAppAuthSettingsV2TwitterV2OutputReference = exports.dataAzurermWindowsWebAppAuthSettingsV2TwitterV2ToHclTerraform = exports.dataAzurermWindowsWebAppAuthSettingsV2TwitterV2ToTerraform = exports.DataAzurermWindowsWebAppAuthSettingsV2MicrosoftV2List = exports.DataAzurermWindowsWebAppAuthSettingsV2MicrosoftV2OutputReference = exports.dataAzurermWindowsWebAppAuthSettingsV2MicrosoftV2ToHclTerraform = exports.dataAzurermWindowsWebAppAuthSettingsV2MicrosoftV2ToTerraform = exports.DataAzurermWindowsWebAppAuthSettingsV2LoginList = exports.DataAzurermWindowsWebAppAuthSettingsV2LoginOutputReference = exports.dataAzurermWindowsWebAppAuthSettingsV2LoginToHclTerraform = exports.dataAzurermWindowsWebAppAuthSettingsV2LoginToTerraform = exports.DataAzurermWindowsWebAppAuthSettingsV2GoogleV2List = exports.DataAzurermWindowsWebAppAuthSettingsV2GoogleV2OutputReference = exports.dataAzurermWindowsWebAppAuthSettingsV2GoogleV2ToHclTerraform = exports.dataAzurermWindowsWebAppAuthSettingsV2GoogleV2ToTerraform = exports.DataAzurermWindowsWebAppAuthSettingsV2GithubV2List = exports.DataAzurermWindowsWebAppAuthSettingsV2GithubV2OutputReference = void 0; exports.dataAzurermWindowsWebAppSiteConfigCorsToHclTerraform = exports.dataAzurermWindowsWebAppSiteConfigCorsToTerraform = exports.DataAzurermWindowsWebAppSiteConfigAutoHealSettingList = exports.DataAzurermWindowsWebAppSiteConfigAutoHealSettingOutputReference = exports.dataAzurermWindowsWebAppSiteConfigAutoHealSettingToHclTerraform = exports.dataAzurermWindowsWebAppSiteConfigAutoHealSettingToTerraform = exports.DataAzurermWindowsWebAppSiteConfigAutoHealSettingTriggerList = exports.DataAzurermWindowsWebAppSiteConfigAutoHealSettingTriggerOutputReference = exports.dataAzurermWindowsWebAppSiteConfigAutoHealSettingTriggerToHclTerraform = exports.dataAzurermWindowsWebAppSiteConfigAutoHealSettingTriggerToTerraform = exports.DataAzurermWindowsWebAppSiteConfigAutoHealSettingTriggerStatusCodeList = exports.DataAzurermWindowsWebAppSiteConfigAutoHealSettingTriggerStatusCodeOutputReference = exports.dataAzurermWindowsWebAppSiteConfigAutoHealSettingTriggerStatusCodeToHclTerraform = exports.dataAzurermWindowsWebAppSiteConfigAutoHealSettingTriggerStatusCodeToTerraform = exports.DataAzurermWindowsWebAppSiteConfigAutoHealSettingTriggerSlowRequestWithPathList = exports.DataAzurermWindowsWebAppSiteConfigAutoHealSettingTriggerSlowRequestWithPathOutputReference = exports.dataAzurermWindowsWebAppSiteConfigAutoHealSettingTriggerSlowRequestWithPathToHclTerraform = exports.dataAzurermWindowsWebAppSiteConfigAutoHealSettingTriggerSlowRequestWithPathToTerraform = exports.DataAzurermWindowsWebAppSiteConfigAutoHealSettingTriggerSlowRequestList = exports.DataAzurermWindowsWebAppSiteConfigAutoHealSettingTriggerSlowRequestOutputReference = exports.dataAzurermWindowsWebAppSiteConfigAutoHealSettingTriggerSlowRequestToHclTerraform = exports.dataAzurermWindowsWebAppSiteConfigAutoHealSettingTriggerSlowRequestToTerraform = exports.DataAzurermWindowsWebAppSiteConfigAutoHealSettingTriggerRequestsList = exports.DataAzurermWindowsWebAppSiteConfigAutoHealSettingTriggerRequestsOutputReference = exports.dataAzurermWindowsWebAppSiteConfigAutoHealSettingTriggerRequestsToHclTerraform = exports.dataAzurermWindowsWebAppSiteConfigAutoHealSettingTriggerRequestsToTerraform = exports.DataAzurermWindowsWebAppSiteConfigAutoHealSettingActionList = exports.DataAzurermWindowsWebAppSiteConfigAutoHealSettingActionOutputReference = exports.dataAzurermWindowsWebAppSiteConfigAutoHealSettingActionToHclTerraform = exports.dataAzurermWindowsWebAppSiteConfigAutoHealSettingActionToTerraform = exports.DataAzurermWindowsWebAppSiteConfigAutoHealSettingActionCustomActionList = exports.DataAzurermWindowsWebAppSiteConfigAutoHealSettingActionCustomActionOutputReference = exports.dataAzurermWindowsWebAppSiteConfigAutoHealSettingActionCustomActionToHclTerraform = exports.dataAzurermWindowsWebAppSiteConfigAutoHealSettingActionCustomActionToTerraform = exports.DataAzurermWindowsWebAppSiteConfigApplicationStackList = exports.DataAzurermWindowsWebAppSiteConfigApplicationStackOutputReference = exports.dataAzurermWindowsWebAppSiteConfigApplicationStackToHclTerraform = exports.dataAzurermWindowsWebAppSiteConfigApplicationStackToTerraform = exports.DataAzurermWindowsWebAppLogsList = exports.DataAzurermWindowsWebAppLogsOutputReference = exports.dataAzurermWindowsWebAppLogsToHclTerraform = exports.dataAzurermWindowsWebAppLogsToTerraform = exports.DataAzurermWindowsWebAppLogsHttpLogsList = exports.DataAzurermWindowsWebAppLogsHttpLogsOutputReference = exports.dataAzurermWindowsWebAppLogsHttpLogsToHclTerraform = exports.dataAzurermWindowsWebAppLogsHttpLogsToTerraform = exports.DataAzurermWindowsWebAppLogsHttpLogsFileSystemList = exports.DataAzurermWindowsWebAppLogsHttpLogsFileSystemOutputReference = exports.dataAzurermWindowsWebAppLogsHttpLogsFileSystemToHclTerraform = exports.dataAzurermWindowsWebAppLogsHttpLogsFileSystemToTerraform = void 0; exports.DataAzurermWindowsWebApp = exports.DataAzurermWindowsWebAppTimeoutsOutputReference = exports.dataAzurermWindowsWebAppTimeoutsToHclTerraform = exports.dataAzurermWindowsWebAppTimeoutsToTerraform = exports.DataAzurermWindowsWebAppStorageAccountList = exports.DataAzurermWindowsWebAppStorageAccountOutputReference = exports.dataAzurermWindowsWebAppStorageAccountToHclTerraform = exports.dataAzurermWindowsWebAppStorageAccountToTerraform = exports.DataAzurermWindowsWebAppStickySettingsList = exports.DataAzurermWindowsWebAppStickySettingsOutputReference = exports.dataAzurermWindowsWebAppStickySettingsToHclTerraform = exports.dataAzurermWindowsWebAppStickySettingsToTerraform = exports.DataAzurermWindowsWebAppSiteCredentialList = exports.DataAzurermWindowsWebAppSiteCredentialOutputReference = exports.dataAzurermWindowsWebAppSiteCredentialToHclTerraform = exports.dataAzurermWindowsWebAppSiteCredentialToTerraform = exports.DataAzurermWindowsWebAppSiteConfigList = exports.DataAzurermWindowsWebAppSiteConfigOutputReference = exports.dataAzurermWindowsWebAppSiteConfigToHclTerraform = exports.dataAzurermWindowsWebAppSiteConfigToTerraform = exports.DataAzurermWindowsWebAppSiteConfigVirtualApplicationList = exports.DataAzurermWindowsWebAppSiteConfigVirtualApplicationOutputReference = exports.dataAzurermWindowsWebAppSiteConfigVirtualApplicationToHclTerraform = exports.dataAzurermWindowsWebAppSiteConfigVirtualApplicationToTerraform = exports.DataAzurermWindowsWebAppSiteConfigVirtualApplicationVirtualDirectoryList = exports.DataAzurermWindowsWebAppSiteConfigVirtualApplicationVirtualDirectoryOutputReference = exports.dataAzurermWindowsWebAppSiteConfigVirtualApplicationVirtualDirectoryToHclTerraform = exports.dataAzurermWindowsWebAppSiteConfigVirtualApplicationVirtualDirectoryToTerraform = exports.DataAzurermWindowsWebAppSiteConfigScmIpRestrictionList = exports.DataAzurermWindowsWebAppSiteConfigScmIpRestrictionOutputReference = exports.dataAzurermWindowsWebAppSiteConfigScmIpRestrictionToHclTerraform = exports.dataAzurermWindowsWebAppSiteConfigScmIpRestrictionToTerraform = exports.DataAzurermWindowsWebAppSiteConfigScmIpRestrictionHeadersList = exports.DataAzurermWindowsWebAppSiteConfigScmIpRestrictionHeadersOutputReference = exports.dataAzurermWindowsWebAppSiteConfigScmIpRestrictionHeadersToHclTerraform = exports.dataAzurermWindowsWebAppSiteConfigScmIpRestrictionHeadersToTerraform = exports.DataAzurermWindowsWebAppSiteConfigIpRestrictionList = exports.DataAzurermWindowsWebAppSiteConfigIpRestrictionOutputReference = exports.dataAzurermWindowsWebAppSiteConfigIpRestrictionToHclTerraform = exports.dataAzurermWindowsWebAppSiteConfigIpRestrictionToTerraform = exports.DataAzurermWindowsWebAppSiteConfigIpRestrictionHeadersList = exports.DataAzurermWindowsWebAppSiteConfigIpRestrictionHeadersOutputReference = exports.dataAzurermWindowsWebAppSiteConfigIpRestrictionHeadersToHclTerraform = exports.dataAzurermWindowsWebAppSiteConfigIpRestrictionHeadersToTerraform = exports.DataAzurermWindowsWebAppSiteConfigHandlerMappingList = exports.DataAzurermWindowsWebAppSiteConfigHandlerMappingOutputReference = exports.dataAzurermWindowsWebAppSiteConfigHandlerMappingToHclTerraform = exports.dataAzurermWindowsWebAppSiteConfigHandlerMappingToTerraform = exports.DataAzurermWindowsWebAppSiteConfigCorsList = exports.DataAzurermWindowsWebAppSiteConfigCorsOutputReference = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataAzurermWindowsWebAppAuthSettingsActiveDirectoryToTerraform(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.dataAzurermWindowsWebAppAuthSettingsActiveDirectoryToTerraform = dataAzurermWindowsWebAppAuthSettingsActiveDirectoryToTerraform; function dataAzurermWindowsWebAppAuthSettingsActiveDirectoryToHclTerraform(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.dataAzurermWindowsWebAppAuthSettingsActiveDirectoryToHclTerraform = dataAzurermWindowsWebAppAuthSettingsActiveDirectoryToHclTerraform; class DataAzurermWindowsWebAppAuthSettingsActiveDirectoryOutputReference 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; } } // allowed_audiences - computed: true, optional: false, required: false get allowedAudiences() { return this.getListAttribute('allowed_audiences'); } // client_id - computed: true, optional: false, required: false get clientId() { return this.getStringAttribute('client_id'); } // client_secret - computed: true, optional: false, required: false get clientSecret() { return this.getStringAttribute('client_secret'); } // client_secret_setting_name - computed: true, optional: false, required: false get clientSecretSettingName() { return this.getStringAttribute('client_secret_setting_name'); } } exports.DataAzurermWindowsWebAppAuthSettingsActiveDirectoryOutputReference = DataAzurermWindowsWebAppAuthSettingsActiveDirectoryOutputReference; _a = JSII_RTTI_SYMBOL_1; DataAzurermWindowsWebAppAuthSettingsActiveDirectoryOutputReference[_a] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsWebApp.DataAzurermWindowsWebAppAuthSettingsActiveDirectoryOutputReference", version: "12.27.0" }; class DataAzurermWindowsWebAppAuthSettingsActiveDirectoryList 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 DataAzurermWindowsWebAppAuthSettingsActiveDirectoryOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzurermWindowsWebAppAuthSettingsActiveDirectoryList = DataAzurermWindowsWebAppAuthSettingsActiveDirectoryList; _b = JSII_RTTI_SYMBOL_1; DataAzurermWindowsWebAppAuthSettingsActiveDirectoryList[_b] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsWebApp.DataAzurermWindowsWebAppAuthSettingsActiveDirectoryList", version: "12.27.0" }; function dataAzurermWindowsWebAppAuthSettingsFacebookToTerraform(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.dataAzurermWindowsWebAppAuthSettingsFacebookToTerraform = dataAzurermWindowsWebAppAuthSettingsFacebookToTerraform; function dataAzurermWindowsWebAppAuthSettingsFacebookToHclTerraform(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.dataAzurermWindowsWebAppAuthSettingsFacebookToHclTerraform = dataAzurermWindowsWebAppAuthSettingsFacebookToHclTerraform; class DataAzurermWindowsWebAppAuthSettingsFacebookOutputReference 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; } } // app_id - computed: true, optional: false, required: false get appId() { return this.getStringAttribute('app_id'); } // app_secret - computed: true, optional: false, required: false get appSecret() { return this.getStringAttribute('app_secret'); } // app_secret_setting_name - computed: true, optional: false, required: false get appSecretSettingName() { return this.getStringAttribute('app_secret_setting_name'); } // oauth_scopes - computed: true, optional: false, required: false get oauthScopes() { return this.getListAttribute('oauth_scopes'); } } exports.DataAzurermWindowsWebAppAuthSettingsFacebookOutputReference = DataAzurermWindowsWebAppAuthSettingsFacebookOutputReference; _c = JSII_RTTI_SYMBOL_1; DataAzurermWindowsWebAppAuthSettingsFacebookOutputReference[_c] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsWebApp.DataAzurermWindowsWebAppAuthSettingsFacebookOutputReference", version: "12.27.0" }; class DataAzurermWindowsWebAppAuthSettingsFacebookList 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 DataAzurermWindowsWebAppAuthSettingsFacebookOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzurermWindowsWebAppAuthSettingsFacebookList = DataAzurermWindowsWebAppAuthSettingsFacebookList; _d = JSII_RTTI_SYMBOL_1; DataAzurermWindowsWebAppAuthSettingsFacebookList[_d] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsWebApp.DataAzurermWindowsWebAppAuthSettingsFacebookList", version: "12.27.0" }; function dataAzurermWindowsWebAppAuthSettingsGithubToTerraform(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.dataAzurermWindowsWebAppAuthSettingsGithubToTerraform = dataAzurermWindowsWebAppAuthSettingsGithubToTerraform; function dataAzurermWindowsWebAppAuthSettingsGithubToHclTerraform(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.dataAzurermWindowsWebAppAuthSettingsGithubToHclTerraform = dataAzurermWindowsWebAppAuthSettingsGithubToHclTerraform; class DataAzurermWindowsWebAppAuthSettingsGithubOutputReference 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; } } // client_id - computed: true, optional: false, required: false get clientId() { return this.getStringAttribute('client_id'); } // client_secret - computed: true, optional: false, required: false get clientSecret() { return this.getStringAttribute('client_secret'); } // client_secret_setting_name - computed: true, optional: false, required: false get clientSecretSettingName() { return this.getStringAttribute('client_secret_setting_name'); } // oauth_scopes - computed: true, optional: false, required: false get oauthScopes() { return this.getListAttribute('oauth_scopes'); } } exports.DataAzurermWindowsWebAppAuthSettingsGithubOutputReference = DataAzurermWindowsWebAppAuthSettingsGithubOutputReference; _e = JSII_RTTI_SYMBOL_1; DataAzurermWindowsWebAppAuthSettingsGithubOutputReference[_e] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsWebApp.DataAzurermWindowsWebAppAuthSettingsGithubOutputReference", version: "12.27.0" }; class DataAzurermWindowsWebAppAuthSettingsGithubList 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 DataAzurermWindowsWebAppAuthSettingsGithubOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzurermWindowsWebAppAuthSettingsGithubList = DataAzurermWindowsWebAppAuthSettingsGithubList; _f = JSII_RTTI_SYMBOL_1; DataAzurermWindowsWebAppAuthSettingsGithubList[_f] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsWebApp.DataAzurermWindowsWebAppAuthSettingsGithubList", version: "12.27.0" }; function dataAzurermWindowsWebAppAuthSettingsGoogleToTerraform(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.dataAzurermWindowsWebAppAuthSettingsGoogleToTerraform = dataAzurermWindowsWebAppAuthSettingsGoogleToTerraform; function dataAzurermWindowsWebAppAuthSettingsGoogleToHclTerraform(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.dataAzurermWindowsWebAppAuthSettingsGoogleToHclTerraform = dataAzurermWindowsWebAppAuthSettingsGoogleToHclTerraform; class DataAzurermWindowsWebAppAuthSettingsGoogleOutputReference 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; } } // client_id - computed: true, optional: false, required: false get clientId() { return this.getStringAttribute('client_id'); } // client_secret - computed: true, optional: false, required: false get clientSecret() { return this.getStringAttribute('client_secret'); } // client_secret_setting_name - computed: true, optional: false, required: false get clientSecretSettingName() { return this.getStringAttribute('client_secret_setting_name'); } // oauth_scopes - computed: true, optional: false, required: false get oauthScopes() { return this.getListAttribute('oauth_scopes'); } } exports.DataAzurermWindowsWebAppAuthSettingsGoogleOutputReference = DataAzurermWindowsWebAppAuthSettingsGoogleOutputReference; _g = JSII_RTTI_SYMBOL_1; DataAzurermWindowsWebAppAuthSettingsGoogleOutputReference[_g] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsWebApp.DataAzurermWindowsWebAppAuthSettingsGoogleOutputReference", version: "12.27.0" }; class DataAzurermWindowsWebAppAuthSettingsGoogleList 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 DataAzurermWindowsWebAppAuthSettingsGoogleOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzurermWindowsWebAppAuthSettingsGoogleList = DataAzurermWindowsWebAppAuthSettingsGoogleList; _h = JSII_RTTI_SYMBOL_1; DataAzurermWindowsWebAppAuthSettingsGoogleList[_h] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsWebApp.DataAzurermWindowsWebAppAuthSettingsGoogleList", version: "12.27.0" }; function dataAzurermWindowsWebAppAuthSettingsMicrosoftToTerraform(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.dataAzurermWindowsWebAppAuthSettingsMicrosoftToTerraform = dataAzurermWindowsWebAppAuthSettingsMicrosoftToTerraform; function dataAzurermWindowsWebAppAuthSettingsMicrosoftToHclTerraform(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.dataAzurermWindowsWebAppAuthSettingsMicrosoftToHclTerraform = dataAzurermWindowsWebAppAuthSettingsMicrosoftToHclTerraform; class DataAzurermWindowsWebAppAuthSettingsMicrosoftOutputReference 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; } } // client_id - computed: true, optional: false, required: false get clientId() { return this.getStringAttribute('client_id'); } // client_secret - computed: true, optional: false, required: false get clientSecret() { return this.getStringAttribute('client_secret'); } // client_secret_setting_name - computed: true, optional: false, required: false get clientSecretSettingName() { return this.getStringAttribute('client_secret_setting_name'); } // oauth_scopes - computed: true, optional: false, required: false get oauthScopes() { return this.getListAttribute('oauth_scopes'); } } exports.DataAzurermWindowsWebAppAuthSettingsMicrosoftOutputReference = DataAzurermWindowsWebAppAuthSettingsMicrosoftOutputReference; _j = JSII_RTTI_SYMBOL_1; DataAzurermWindowsWebAppAuthSettingsMicrosoftOutputReference[_j] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsWebApp.DataAzurermWindowsWebAppAuthSettingsMicrosoftOutputReference", version: "12.27.0" }; class DataAzurermWindowsWebAppAuthSettingsMicrosoftList 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 DataAzurermWindowsWebAppAuthSettingsMicrosoftOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzurermWindowsWebAppAuthSettingsMicrosoftList = DataAzurermWindowsWebAppAuthSettingsMicrosoftList; _k = JSII_RTTI_SYMBOL_1; DataAzurermWindowsWebAppAuthSettingsMicrosoftList[_k] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsWebApp.DataAzurermWindowsWebAppAuthSettingsMicrosoftList", version: "12.27.0" }; function dataAzurermWindowsWebAppAuthSettingsTwitterToTerraform(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.dataAzurermWindowsWebAppAuthSettingsTwitterToTerraform = dataAzurermWindowsWebAppAuthSettingsTwitterToTerraform; function dataAzurermWindowsWebAppAuthSettingsTwitterToHclTerraform(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.dataAzurermWindowsWebAppAuthSettingsTwitterToHclTerraform = dataAzurermWindowsWebAppAuthSettingsTwitterToHclTerraform; class DataAzurermWindowsWebAppAuthSettingsTwitterOutputReference 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; } } // consumer_key - computed: true, optional: false, required: false get consumerKey() { return this.getStringAttribute('consumer_key'); } // consumer_secret - computed: true, optional: false, required: false get consumerSecret() { return this.getStringAttribute('consumer_secret'); } // consumer_secret_setting_name - computed: true, optional: false, required: false get consumerSecretSettingName() { return this.getStringAttribute('consumer_secret_setting_name'); } } exports.DataAzurermWindowsWebAppAuthSettingsTwitterOutputReference = DataAzurermWindowsWebAppAuthSettingsTwitterOutputReference; _l = JSII_RTTI_SYMBOL_1; DataAzurermWindowsWebAppAuthSettingsTwitterOutputReference[_l] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsWebApp.DataAzurermWindowsWebAppAuthSettingsTwitterOutputReference", version: "12.27.0" }; class DataAzurermWindowsWebAppAuthSettingsTwitterList 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 DataAzurermWindowsWebAppAuthSettingsTwitterOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzurermWindowsWebAppAuthSettingsTwitterList = DataAzurermWindowsWebAppAuthSettingsTwitterList; _m = JSII_RTTI_SYMBOL_1; DataAzurermWindowsWebAppAuthSettingsTwitterList[_m] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsWebApp.DataAzurermWindowsWebAppAuthSettingsTwitterList", version: "12.27.0" }; function dataAzurermWindowsWebAppAuthSettingsToTerraform(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.dataAzurermWindowsWebAppAuthSettingsToTerraform = dataAzurermWindowsWebAppAuthSettingsToTerraform; function dataAzurermWindowsWebAppAuthSettingsToHclTerraform(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.dataAzurermWindowsWebAppAuthSettingsToHclTerraform = dataAzurermWindowsWebAppAuthSettingsToHclTerraform; class DataAzurermWindowsWebAppAuthSettingsOutputReference 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; // active_directory - computed: true, optional: false, required: false this._activeDirectory = new DataAzurermWindowsWebAppAuthSettingsActiveDirectoryList(this, "active_directory", false); // additional_login_parameters - computed: true, optional: false, required: false this._additionalLoginParameters = new cdktf.StringMap(this, "additional_login_parameters"); // facebook - computed: true, optional: false, required: false this._facebook = new DataAzurermWindowsWebAppAuthSettingsFacebookList(this, "facebook", false); // github - computed: true, optional: false, required: false this._github = new DataAzurermWindowsWebAppAuthSettingsGithubList(this, "github", false); // google - computed: true, optional: false, required: false this._google = new DataAzurermWindowsWebAppAuthSettingsGoogleList(this, "google", false); // microsoft - computed: true, optional: false, required: false this._microsoft = new DataAzurermWindowsWebAppAuthSettingsMicrosoftList(this, "microsoft", false); // twitter - computed: true, optional: false, required: false this._twitter = new DataAzurermWindowsWebAppAuthSettingsTwitterList(this, "twitter", 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 activeDirectory() { return this._activeDirectory; } get additionalLoginParameters() { return this._additionalLoginParameters; } // allowed_external_redirect_urls - computed: true, optional: false, required: false get allowedExternalRedirectUrls() { return this.getListAttribute('allowed_external_redirect_urls'); } // default_provider - computed: true, optional: false, required: false get defaultProvider() { return this.getStringAttribute('default_provider'); } // enabled - computed: true, optional: false, required: false get enabled() { return this.getBooleanAttribute('enabled'); } get facebook() { return this._facebook; } get github() { return this._github; } get google() { return this._google; } // issuer - computed: true, optional: false, required: false get issuer() { return this.getStringAttribute('issuer'); } get microsoft() { return this._microsoft; } // runtime_version - computed: true, optional: false, required: false get runtimeVersion() { return this.getStringAttribute('runtime_version'); } // token_refresh_extension_hours - computed: true, optional: false, required: false get tokenRefreshExtensionHours() { return this.getNumberAttribute('token_refresh_extension_hours'); } // token_store_enabled - computed: true, optional: false, required: false get tokenStoreEnabled() { return this.getBooleanAttribute('token_store_enabled'); } get twitter() { return this._twitter; } // unauthenticated_client_action - computed: true, optional: false, required: false get unauthenticatedClientAction() { return this.getStringAttribute('unauthenticated_client_action'); } } exports.DataAzurermWindowsWebAppAuthSettingsOutputReference = DataAzurermWindowsWebAppAuthSettingsOutputReference; _o = JSII_RTTI_SYMBOL_1; DataAzurermWindowsWebAppAuthSettingsOutputReference[_o] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsWebApp.DataAzurermWindowsWebAppAuthSettingsOutputReference", version: "12.27.0" }; class DataAzurermWindowsWebAppAuthSettingsList 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 DataAzurermWindowsWebAppAuthSettingsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzurermWindowsWebAppAuthSettingsList = DataAzurermWindowsWebAppAuthSettingsList; _p = JSII_RTTI_SYMBOL_1; DataAzurermWindowsWebAppAuthSettingsList[_p] = { fqn: "@cdktf/provider-azurerm.dataAzurermWindowsWebApp.DataAzurermWindowsWebAppAuthSettingsList", version: "12.27.0" }; function dataAzurermWindowsWebAppAuthSettingsV2ActiveDirectoryV2ToTerraform(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.dataAzurermWindowsWebAppAuthSettingsV2ActiveDirectoryV2ToTerraform = dataAzurermWindowsWebAppAuthSettingsV2ActiveDirectoryV2ToTerraform; function dataAzurermWindowsWebAppAuthSettingsV2ActiveDirectoryV2ToHclTerraform(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.dataAzurermWindowsWebAppAuthSettingsV2ActiveDirectoryV2ToHclTerraform = dataAzurermWindowsWebAppAuthSettingsV2ActiveDirectoryV2ToHclTerraform; class DataAzurermWindowsWebAppAuthSettingsV2ActiveDirectoryV2OutputReference 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; // login_parameters - computed: true, optional: false, required: false this._loginParameters = new cdktf.StringMap(this, "login_parameters"); } 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; } } // allowed_applications - computed: true, optional: false, required: false get allowedApplications() { return this.getListAttribute('allow