UNPKG

@cdktf/provider-azuread

Version:

Prebuilt azuread Provider for Terraform CDK (cdktf)

966 lines 222 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; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataAzureadApplication = exports.DataAzureadApplicationTimeoutsOutputReference = exports.DataAzureadApplicationWebList = exports.DataAzureadApplicationWebOutputReference = exports.DataAzureadApplicationWebImplicitGrantList = exports.DataAzureadApplicationWebImplicitGrantOutputReference = exports.DataAzureadApplicationSinglePageApplicationList = exports.DataAzureadApplicationSinglePageApplicationOutputReference = exports.DataAzureadApplicationRequiredResourceAccessList = exports.DataAzureadApplicationRequiredResourceAccessOutputReference = exports.DataAzureadApplicationRequiredResourceAccessResourceAccessList = exports.DataAzureadApplicationRequiredResourceAccessResourceAccessOutputReference = exports.DataAzureadApplicationPublicClientList = exports.DataAzureadApplicationPublicClientOutputReference = exports.DataAzureadApplicationOptionalClaimsList = exports.DataAzureadApplicationOptionalClaimsOutputReference = exports.DataAzureadApplicationOptionalClaimsSaml2TokenList = exports.DataAzureadApplicationOptionalClaimsSaml2TokenOutputReference = exports.DataAzureadApplicationOptionalClaimsIdTokenList = exports.DataAzureadApplicationOptionalClaimsIdTokenOutputReference = exports.DataAzureadApplicationOptionalClaimsAccessTokenList = exports.DataAzureadApplicationOptionalClaimsAccessTokenOutputReference = exports.DataAzureadApplicationFeatureTagsList = exports.DataAzureadApplicationFeatureTagsOutputReference = exports.DataAzureadApplicationAppRolesList = exports.DataAzureadApplicationAppRolesOutputReference = exports.DataAzureadApplicationApiList = exports.DataAzureadApplicationApiOutputReference = exports.DataAzureadApplicationApiOauth2PermissionScopesList = exports.DataAzureadApplicationApiOauth2PermissionScopesOutputReference = void 0; exports.dataAzureadApplicationApiOauth2PermissionScopesToTerraform = dataAzureadApplicationApiOauth2PermissionScopesToTerraform; exports.dataAzureadApplicationApiOauth2PermissionScopesToHclTerraform = dataAzureadApplicationApiOauth2PermissionScopesToHclTerraform; exports.dataAzureadApplicationApiToTerraform = dataAzureadApplicationApiToTerraform; exports.dataAzureadApplicationApiToHclTerraform = dataAzureadApplicationApiToHclTerraform; exports.dataAzureadApplicationAppRolesToTerraform = dataAzureadApplicationAppRolesToTerraform; exports.dataAzureadApplicationAppRolesToHclTerraform = dataAzureadApplicationAppRolesToHclTerraform; exports.dataAzureadApplicationFeatureTagsToTerraform = dataAzureadApplicationFeatureTagsToTerraform; exports.dataAzureadApplicationFeatureTagsToHclTerraform = dataAzureadApplicationFeatureTagsToHclTerraform; exports.dataAzureadApplicationOptionalClaimsAccessTokenToTerraform = dataAzureadApplicationOptionalClaimsAccessTokenToTerraform; exports.dataAzureadApplicationOptionalClaimsAccessTokenToHclTerraform = dataAzureadApplicationOptionalClaimsAccessTokenToHclTerraform; exports.dataAzureadApplicationOptionalClaimsIdTokenToTerraform = dataAzureadApplicationOptionalClaimsIdTokenToTerraform; exports.dataAzureadApplicationOptionalClaimsIdTokenToHclTerraform = dataAzureadApplicationOptionalClaimsIdTokenToHclTerraform; exports.dataAzureadApplicationOptionalClaimsSaml2TokenToTerraform = dataAzureadApplicationOptionalClaimsSaml2TokenToTerraform; exports.dataAzureadApplicationOptionalClaimsSaml2TokenToHclTerraform = dataAzureadApplicationOptionalClaimsSaml2TokenToHclTerraform; exports.dataAzureadApplicationOptionalClaimsToTerraform = dataAzureadApplicationOptionalClaimsToTerraform; exports.dataAzureadApplicationOptionalClaimsToHclTerraform = dataAzureadApplicationOptionalClaimsToHclTerraform; exports.dataAzureadApplicationPublicClientToTerraform = dataAzureadApplicationPublicClientToTerraform; exports.dataAzureadApplicationPublicClientToHclTerraform = dataAzureadApplicationPublicClientToHclTerraform; exports.dataAzureadApplicationRequiredResourceAccessResourceAccessToTerraform = dataAzureadApplicationRequiredResourceAccessResourceAccessToTerraform; exports.dataAzureadApplicationRequiredResourceAccessResourceAccessToHclTerraform = dataAzureadApplicationRequiredResourceAccessResourceAccessToHclTerraform; exports.dataAzureadApplicationRequiredResourceAccessToTerraform = dataAzureadApplicationRequiredResourceAccessToTerraform; exports.dataAzureadApplicationRequiredResourceAccessToHclTerraform = dataAzureadApplicationRequiredResourceAccessToHclTerraform; exports.dataAzureadApplicationSinglePageApplicationToTerraform = dataAzureadApplicationSinglePageApplicationToTerraform; exports.dataAzureadApplicationSinglePageApplicationToHclTerraform = dataAzureadApplicationSinglePageApplicationToHclTerraform; exports.dataAzureadApplicationWebImplicitGrantToTerraform = dataAzureadApplicationWebImplicitGrantToTerraform; exports.dataAzureadApplicationWebImplicitGrantToHclTerraform = dataAzureadApplicationWebImplicitGrantToHclTerraform; exports.dataAzureadApplicationWebToTerraform = dataAzureadApplicationWebToTerraform; exports.dataAzureadApplicationWebToHclTerraform = dataAzureadApplicationWebToHclTerraform; exports.dataAzureadApplicationTimeoutsToTerraform = dataAzureadApplicationTimeoutsToTerraform; exports.dataAzureadApplicationTimeoutsToHclTerraform = dataAzureadApplicationTimeoutsToHclTerraform; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataAzureadApplicationApiOauth2PermissionScopesToTerraform(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 dataAzureadApplicationApiOauth2PermissionScopesToHclTerraform(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 DataAzureadApplicationApiOauth2PermissionScopesOutputReference 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; } } // admin_consent_description - computed: true, optional: false, required: false get adminConsentDescription() { return this.getStringAttribute('admin_consent_description'); } // admin_consent_display_name - computed: true, optional: false, required: false get adminConsentDisplayName() { return this.getStringAttribute('admin_consent_display_name'); } // enabled - computed: true, optional: false, required: false get enabled() { return this.getBooleanAttribute('enabled'); } // id - computed: true, optional: false, required: false get id() { return this.getStringAttribute('id'); } // type - computed: true, optional: false, required: false get type() { return this.getStringAttribute('type'); } // user_consent_description - computed: true, optional: false, required: false get userConsentDescription() { return this.getStringAttribute('user_consent_description'); } // user_consent_display_name - computed: true, optional: false, required: false get userConsentDisplayName() { return this.getStringAttribute('user_consent_display_name'); } // value - computed: true, optional: false, required: false get value() { return this.getStringAttribute('value'); } } exports.DataAzureadApplicationApiOauth2PermissionScopesOutputReference = DataAzureadApplicationApiOauth2PermissionScopesOutputReference; _a = JSII_RTTI_SYMBOL_1; DataAzureadApplicationApiOauth2PermissionScopesOutputReference[_a] = { fqn: "@cdktf/provider-azuread.dataAzureadApplication.DataAzureadApplicationApiOauth2PermissionScopesOutputReference", version: "13.3.0" }; class DataAzureadApplicationApiOauth2PermissionScopesList 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 DataAzureadApplicationApiOauth2PermissionScopesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzureadApplicationApiOauth2PermissionScopesList = DataAzureadApplicationApiOauth2PermissionScopesList; _b = JSII_RTTI_SYMBOL_1; DataAzureadApplicationApiOauth2PermissionScopesList[_b] = { fqn: "@cdktf/provider-azuread.dataAzureadApplication.DataAzureadApplicationApiOauth2PermissionScopesList", version: "13.3.0" }; function dataAzureadApplicationApiToTerraform(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 dataAzureadApplicationApiToHclTerraform(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 DataAzureadApplicationApiOutputReference 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; // oauth2_permission_scopes - computed: true, optional: false, required: false this._oauth2PermissionScopes = new DataAzureadApplicationApiOauth2PermissionScopesList(this, "oauth2_permission_scopes", 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; } } // known_client_applications - computed: true, optional: false, required: false get knownClientApplications() { return this.getListAttribute('known_client_applications'); } // mapped_claims_enabled - computed: true, optional: false, required: false get mappedClaimsEnabled() { return this.getBooleanAttribute('mapped_claims_enabled'); } get oauth2PermissionScopes() { return this._oauth2PermissionScopes; } // requested_access_token_version - computed: true, optional: false, required: false get requestedAccessTokenVersion() { return this.getNumberAttribute('requested_access_token_version'); } } exports.DataAzureadApplicationApiOutputReference = DataAzureadApplicationApiOutputReference; _c = JSII_RTTI_SYMBOL_1; DataAzureadApplicationApiOutputReference[_c] = { fqn: "@cdktf/provider-azuread.dataAzureadApplication.DataAzureadApplicationApiOutputReference", version: "13.3.0" }; class DataAzureadApplicationApiList 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 DataAzureadApplicationApiOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzureadApplicationApiList = DataAzureadApplicationApiList; _d = JSII_RTTI_SYMBOL_1; DataAzureadApplicationApiList[_d] = { fqn: "@cdktf/provider-azuread.dataAzureadApplication.DataAzureadApplicationApiList", version: "13.3.0" }; function dataAzureadApplicationAppRolesToTerraform(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 dataAzureadApplicationAppRolesToHclTerraform(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 DataAzureadApplicationAppRolesOutputReference 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_member_types - computed: true, optional: false, required: false get allowedMemberTypes() { return this.getListAttribute('allowed_member_types'); } // description - computed: true, optional: false, required: false get description() { return this.getStringAttribute('description'); } // display_name - computed: true, optional: false, required: false get displayName() { return this.getStringAttribute('display_name'); } // enabled - computed: true, optional: false, required: false get enabled() { return this.getBooleanAttribute('enabled'); } // id - computed: true, optional: false, required: false get id() { return this.getStringAttribute('id'); } // value - computed: true, optional: false, required: false get value() { return this.getStringAttribute('value'); } } exports.DataAzureadApplicationAppRolesOutputReference = DataAzureadApplicationAppRolesOutputReference; _e = JSII_RTTI_SYMBOL_1; DataAzureadApplicationAppRolesOutputReference[_e] = { fqn: "@cdktf/provider-azuread.dataAzureadApplication.DataAzureadApplicationAppRolesOutputReference", version: "13.3.0" }; class DataAzureadApplicationAppRolesList 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 DataAzureadApplicationAppRolesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzureadApplicationAppRolesList = DataAzureadApplicationAppRolesList; _f = JSII_RTTI_SYMBOL_1; DataAzureadApplicationAppRolesList[_f] = { fqn: "@cdktf/provider-azuread.dataAzureadApplication.DataAzureadApplicationAppRolesList", version: "13.3.0" }; function dataAzureadApplicationFeatureTagsToTerraform(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 dataAzureadApplicationFeatureTagsToHclTerraform(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 DataAzureadApplicationFeatureTagsOutputReference 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; } } // custom_single_sign_on - computed: true, optional: false, required: false get customSingleSignOn() { return this.getBooleanAttribute('custom_single_sign_on'); } // enterprise - computed: true, optional: false, required: false get enterprise() { return this.getBooleanAttribute('enterprise'); } // gallery - computed: true, optional: false, required: false get gallery() { return this.getBooleanAttribute('gallery'); } // hide - computed: true, optional: false, required: false get hide() { return this.getBooleanAttribute('hide'); } } exports.DataAzureadApplicationFeatureTagsOutputReference = DataAzureadApplicationFeatureTagsOutputReference; _g = JSII_RTTI_SYMBOL_1; DataAzureadApplicationFeatureTagsOutputReference[_g] = { fqn: "@cdktf/provider-azuread.dataAzureadApplication.DataAzureadApplicationFeatureTagsOutputReference", version: "13.3.0" }; class DataAzureadApplicationFeatureTagsList 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 DataAzureadApplicationFeatureTagsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzureadApplicationFeatureTagsList = DataAzureadApplicationFeatureTagsList; _h = JSII_RTTI_SYMBOL_1; DataAzureadApplicationFeatureTagsList[_h] = { fqn: "@cdktf/provider-azuread.dataAzureadApplication.DataAzureadApplicationFeatureTagsList", version: "13.3.0" }; function dataAzureadApplicationOptionalClaimsAccessTokenToTerraform(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 dataAzureadApplicationOptionalClaimsAccessTokenToHclTerraform(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 DataAzureadApplicationOptionalClaimsAccessTokenOutputReference 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; } } // additional_properties - computed: true, optional: false, required: false get additionalProperties() { return this.getListAttribute('additional_properties'); } // essential - computed: true, optional: false, required: false get essential() { return this.getBooleanAttribute('essential'); } // name - computed: true, optional: false, required: false get name() { return this.getStringAttribute('name'); } // source - computed: true, optional: false, required: false get source() { return this.getStringAttribute('source'); } } exports.DataAzureadApplicationOptionalClaimsAccessTokenOutputReference = DataAzureadApplicationOptionalClaimsAccessTokenOutputReference; _j = JSII_RTTI_SYMBOL_1; DataAzureadApplicationOptionalClaimsAccessTokenOutputReference[_j] = { fqn: "@cdktf/provider-azuread.dataAzureadApplication.DataAzureadApplicationOptionalClaimsAccessTokenOutputReference", version: "13.3.0" }; class DataAzureadApplicationOptionalClaimsAccessTokenList 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 DataAzureadApplicationOptionalClaimsAccessTokenOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzureadApplicationOptionalClaimsAccessTokenList = DataAzureadApplicationOptionalClaimsAccessTokenList; _k = JSII_RTTI_SYMBOL_1; DataAzureadApplicationOptionalClaimsAccessTokenList[_k] = { fqn: "@cdktf/provider-azuread.dataAzureadApplication.DataAzureadApplicationOptionalClaimsAccessTokenList", version: "13.3.0" }; function dataAzureadApplicationOptionalClaimsIdTokenToTerraform(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 dataAzureadApplicationOptionalClaimsIdTokenToHclTerraform(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 DataAzureadApplicationOptionalClaimsIdTokenOutputReference 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; } } // additional_properties - computed: true, optional: false, required: false get additionalProperties() { return this.getListAttribute('additional_properties'); } // essential - computed: true, optional: false, required: false get essential() { return this.getBooleanAttribute('essential'); } // name - computed: true, optional: false, required: false get name() { return this.getStringAttribute('name'); } // source - computed: true, optional: false, required: false get source() { return this.getStringAttribute('source'); } } exports.DataAzureadApplicationOptionalClaimsIdTokenOutputReference = DataAzureadApplicationOptionalClaimsIdTokenOutputReference; _l = JSII_RTTI_SYMBOL_1; DataAzureadApplicationOptionalClaimsIdTokenOutputReference[_l] = { fqn: "@cdktf/provider-azuread.dataAzureadApplication.DataAzureadApplicationOptionalClaimsIdTokenOutputReference", version: "13.3.0" }; class DataAzureadApplicationOptionalClaimsIdTokenList 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 DataAzureadApplicationOptionalClaimsIdTokenOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzureadApplicationOptionalClaimsIdTokenList = DataAzureadApplicationOptionalClaimsIdTokenList; _m = JSII_RTTI_SYMBOL_1; DataAzureadApplicationOptionalClaimsIdTokenList[_m] = { fqn: "@cdktf/provider-azuread.dataAzureadApplication.DataAzureadApplicationOptionalClaimsIdTokenList", version: "13.3.0" }; function dataAzureadApplicationOptionalClaimsSaml2TokenToTerraform(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 dataAzureadApplicationOptionalClaimsSaml2TokenToHclTerraform(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 DataAzureadApplicationOptionalClaimsSaml2TokenOutputReference 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; } } // additional_properties - computed: true, optional: false, required: false get additionalProperties() { return this.getListAttribute('additional_properties'); } // essential - computed: true, optional: false, required: false get essential() { return this.getBooleanAttribute('essential'); } // name - computed: true, optional: false, required: false get name() { return this.getStringAttribute('name'); } // source - computed: true, optional: false, required: false get source() { return this.getStringAttribute('source'); } } exports.DataAzureadApplicationOptionalClaimsSaml2TokenOutputReference = DataAzureadApplicationOptionalClaimsSaml2TokenOutputReference; _o = JSII_RTTI_SYMBOL_1; DataAzureadApplicationOptionalClaimsSaml2TokenOutputReference[_o] = { fqn: "@cdktf/provider-azuread.dataAzureadApplication.DataAzureadApplicationOptionalClaimsSaml2TokenOutputReference", version: "13.3.0" }; class DataAzureadApplicationOptionalClaimsSaml2TokenList 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 DataAzureadApplicationOptionalClaimsSaml2TokenOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzureadApplicationOptionalClaimsSaml2TokenList = DataAzureadApplicationOptionalClaimsSaml2TokenList; _p = JSII_RTTI_SYMBOL_1; DataAzureadApplicationOptionalClaimsSaml2TokenList[_p] = { fqn: "@cdktf/provider-azuread.dataAzureadApplication.DataAzureadApplicationOptionalClaimsSaml2TokenList", version: "13.3.0" }; function dataAzureadApplicationOptionalClaimsToTerraform(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 dataAzureadApplicationOptionalClaimsToHclTerraform(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 DataAzureadApplicationOptionalClaimsOutputReference 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; // access_token - computed: true, optional: false, required: false this._accessToken = new DataAzureadApplicationOptionalClaimsAccessTokenList(this, "access_token", false); // id_token - computed: true, optional: false, required: false this._idToken = new DataAzureadApplicationOptionalClaimsIdTokenList(this, "id_token", false); // saml2_token - computed: true, optional: false, required: false this._saml2Token = new DataAzureadApplicationOptionalClaimsSaml2TokenList(this, "saml2_token", 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 accessToken() { return this._accessToken; } get idToken() { return this._idToken; } get saml2Token() { return this._saml2Token; } } exports.DataAzureadApplicationOptionalClaimsOutputReference = DataAzureadApplicationOptionalClaimsOutputReference; _q = JSII_RTTI_SYMBOL_1; DataAzureadApplicationOptionalClaimsOutputReference[_q] = { fqn: "@cdktf/provider-azuread.dataAzureadApplication.DataAzureadApplicationOptionalClaimsOutputReference", version: "13.3.0" }; class DataAzureadApplicationOptionalClaimsList 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 DataAzureadApplicationOptionalClaimsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzureadApplicationOptionalClaimsList = DataAzureadApplicationOptionalClaimsList; _r = JSII_RTTI_SYMBOL_1; DataAzureadApplicationOptionalClaimsList[_r] = { fqn: "@cdktf/provider-azuread.dataAzureadApplication.DataAzureadApplicationOptionalClaimsList", version: "13.3.0" }; function dataAzureadApplicationPublicClientToTerraform(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 dataAzureadApplicationPublicClientToHclTerraform(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 DataAzureadApplicationPublicClientOutputReference 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; } } // redirect_uris - computed: true, optional: false, required: false get redirectUris() { return this.getListAttribute('redirect_uris'); } } exports.DataAzureadApplicationPublicClientOutputReference = DataAzureadApplicationPublicClientOutputReference; _s = JSII_RTTI_SYMBOL_1; DataAzureadApplicationPublicClientOutputReference[_s] = { fqn: "@cdktf/provider-azuread.dataAzureadApplication.DataAzureadApplicationPublicClientOutputReference", version: "13.3.0" }; class DataAzureadApplicationPublicClientList 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 DataAzureadApplicationPublicClientOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzureadApplicationPublicClientList = DataAzureadApplicationPublicClientList; _t = JSII_RTTI_SYMBOL_1; DataAzureadApplicationPublicClientList[_t] = { fqn: "@cdktf/provider-azuread.dataAzureadApplication.DataAzureadApplicationPublicClientList", version: "13.3.0" }; function dataAzureadApplicationRequiredResourceAccessResourceAccessToTerraform(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 dataAzureadApplicationRequiredResourceAccessResourceAccessToHclTerraform(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 DataAzureadApplicationRequiredResourceAccessResourceAccessOutputReference 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; } } // id - computed: true, optional: false, required: false get id() { return this.getStringAttribute('id'); } // type - computed: true, optional: false, required: false get type() { return this.getStringAttribute('type'); } } exports.DataAzureadApplicationRequiredResourceAccessResourceAccessOutputReference = DataAzureadApplicationRequiredResourceAccessResourceAccessOutputReference; _u = JSII_RTTI_SYMBOL_1; DataAzureadApplicationRequiredResourceAccessResourceAccessOutputReference[_u] = { fqn: "@cdktf/provider-azuread.dataAzureadApplication.DataAzureadApplicationRequiredResourceAccessResourceAccessOutputReference", version: "13.3.0" }; class DataAzureadApplicationRequiredResourceAccessResourceAccessList 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 DataAzureadApplicationRequiredResourceAccessResourceAccessOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzureadApplicationRequiredResourceAccessResourceAccessList = DataAzureadApplicationRequiredResourceAccessResourceAccessList; _v = JSII_RTTI_SYMBOL_1; DataAzureadApplicationRequiredResourceAccessResourceAccessList[_v] = { fqn: "@cdktf/provider-azuread.dataAzureadApplication.DataAzureadApplicationRequiredResourceAccessResourceAccessList", version: "13.3.0" }; function dataAzureadApplicationRequiredResourceAccessToTerraform(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 dataAzureadApplicationRequiredResourceAccessToHclTerraform(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 DataAzureadApplicationRequiredResourceAccessOutputReference 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; // resource_access - computed: true, optional: false, required: false this._resourceAccess = new DataAzureadApplicationRequiredResourceAccessResourceAccessList(this, "resource_access", 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 resourceAccess() { return this._resourceAccess; } // resource_app_id - computed: true, optional: false, required: false get resourceAppId() { return this.getStringAttribute('resource_app_id'); } } exports.DataAzureadApplicationRequiredResourceAccessOutputReference = DataAzureadApplicationRequiredResourceAccessOutputReference; _w = JSII_RTTI_SYMBOL_1; DataAzureadApplicationRequiredResourceAccessOutputReference[_w] = { fqn: "@cdktf/provider-azuread.dataAzureadApplication.DataAzureadApplicationRequiredResourceAccessOutputReference", version: "13.3.0" }; class DataAzureadApplicationRequiredResourceAccessList 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 DataAzureadApplicationRequiredResourceAccessOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzureadApplicationRequiredResourceAccessList = DataAzureadApplicationR