UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

915 lines (914 loc) 193 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; Object.defineProperty(exports, "__esModule", { value: true }); exports.FirebaseAppHostingDomain = exports.FirebaseAppHostingDomainTimeoutsOutputReference = exports.FirebaseAppHostingDomainServeOutputReference = exports.FirebaseAppHostingDomainServeRedirectOutputReference = exports.FirebaseAppHostingDomainCustomDomainStatusList = exports.FirebaseAppHostingDomainCustomDomainStatusOutputReference = exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesList = exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesOutputReference = exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredList = exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredOutputReference = exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredRecordsList = exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredRecordsOutputReference = exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredCheckErrorList = exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredCheckErrorOutputReference = exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredList = exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredOutputReference = exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredRecordsList = exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredRecordsOutputReference = exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredCheckErrorList = exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredCheckErrorOutputReference = exports.FirebaseAppHostingDomainCustomDomainStatusIssuesList = exports.FirebaseAppHostingDomainCustomDomainStatusIssuesOutputReference = void 0; exports.firebaseAppHostingDomainCustomDomainStatusIssuesToTerraform = firebaseAppHostingDomainCustomDomainStatusIssuesToTerraform; exports.firebaseAppHostingDomainCustomDomainStatusIssuesToHclTerraform = firebaseAppHostingDomainCustomDomainStatusIssuesToHclTerraform; exports.firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredCheckErrorToTerraform = firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredCheckErrorToTerraform; exports.firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredCheckErrorToHclTerraform = firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredCheckErrorToHclTerraform; exports.firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredRecordsToTerraform = firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredRecordsToTerraform; exports.firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredRecordsToHclTerraform = firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredRecordsToHclTerraform; exports.firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredToTerraform = firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredToTerraform; exports.firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredToHclTerraform = firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredToHclTerraform; exports.firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredCheckErrorToTerraform = firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredCheckErrorToTerraform; exports.firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredCheckErrorToHclTerraform = firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredCheckErrorToHclTerraform; exports.firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredRecordsToTerraform = firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredRecordsToTerraform; exports.firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredRecordsToHclTerraform = firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredRecordsToHclTerraform; exports.firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredToTerraform = firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredToTerraform; exports.firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredToHclTerraform = firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredToHclTerraform; exports.firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesToTerraform = firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesToTerraform; exports.firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesToHclTerraform = firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesToHclTerraform; exports.firebaseAppHostingDomainCustomDomainStatusToTerraform = firebaseAppHostingDomainCustomDomainStatusToTerraform; exports.firebaseAppHostingDomainCustomDomainStatusToHclTerraform = firebaseAppHostingDomainCustomDomainStatusToHclTerraform; exports.firebaseAppHostingDomainServeRedirectToTerraform = firebaseAppHostingDomainServeRedirectToTerraform; exports.firebaseAppHostingDomainServeRedirectToHclTerraform = firebaseAppHostingDomainServeRedirectToHclTerraform; exports.firebaseAppHostingDomainServeToTerraform = firebaseAppHostingDomainServeToTerraform; exports.firebaseAppHostingDomainServeToHclTerraform = firebaseAppHostingDomainServeToHclTerraform; exports.firebaseAppHostingDomainTimeoutsToTerraform = firebaseAppHostingDomainTimeoutsToTerraform; exports.firebaseAppHostingDomainTimeoutsToHclTerraform = firebaseAppHostingDomainTimeoutsToHclTerraform; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function firebaseAppHostingDomainCustomDomainStatusIssuesToTerraform(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 firebaseAppHostingDomainCustomDomainStatusIssuesToHclTerraform(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 FirebaseAppHostingDomainCustomDomainStatusIssuesOutputReference 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; } } // code - computed: true, optional: false, required: false get code() { return this.getNumberAttribute('code'); } // details - computed: true, optional: false, required: false get details() { return this.getStringAttribute('details'); } // message - computed: true, optional: false, required: false get message() { return this.getStringAttribute('message'); } } exports.FirebaseAppHostingDomainCustomDomainStatusIssuesOutputReference = FirebaseAppHostingDomainCustomDomainStatusIssuesOutputReference; _a = JSII_RTTI_SYMBOL_1; FirebaseAppHostingDomainCustomDomainStatusIssuesOutputReference[_a] = { fqn: "@cdktf/provider-google.firebaseAppHostingDomain.FirebaseAppHostingDomainCustomDomainStatusIssuesOutputReference", version: "16.3.0" }; class FirebaseAppHostingDomainCustomDomainStatusIssuesList 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 FirebaseAppHostingDomainCustomDomainStatusIssuesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.FirebaseAppHostingDomainCustomDomainStatusIssuesList = FirebaseAppHostingDomainCustomDomainStatusIssuesList; _b = JSII_RTTI_SYMBOL_1; FirebaseAppHostingDomainCustomDomainStatusIssuesList[_b] = { fqn: "@cdktf/provider-google.firebaseAppHostingDomain.FirebaseAppHostingDomainCustomDomainStatusIssuesList", version: "16.3.0" }; function firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredCheckErrorToTerraform(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 firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredCheckErrorToHclTerraform(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 FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredCheckErrorOutputReference 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; } } // code - computed: true, optional: false, required: false get code() { return this.getNumberAttribute('code'); } // details - computed: true, optional: false, required: false get details() { return this.getStringAttribute('details'); } // message - computed: true, optional: false, required: false get message() { return this.getStringAttribute('message'); } } exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredCheckErrorOutputReference = FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredCheckErrorOutputReference; _c = JSII_RTTI_SYMBOL_1; FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredCheckErrorOutputReference[_c] = { fqn: "@cdktf/provider-google.firebaseAppHostingDomain.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredCheckErrorOutputReference", version: "16.3.0" }; class FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredCheckErrorList 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 FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredCheckErrorOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredCheckErrorList = FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredCheckErrorList; _d = JSII_RTTI_SYMBOL_1; FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredCheckErrorList[_d] = { fqn: "@cdktf/provider-google.firebaseAppHostingDomain.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredCheckErrorList", version: "16.3.0" }; function firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredRecordsToTerraform(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 firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredRecordsToHclTerraform(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 FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredRecordsOutputReference 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; } } // domain_name - computed: true, optional: false, required: false get domainName() { return this.getStringAttribute('domain_name'); } // rdata - computed: true, optional: false, required: false get rdata() { return this.getStringAttribute('rdata'); } // relevant_state - computed: true, optional: false, required: false get relevantState() { return this.getListAttribute('relevant_state'); } // required_action - computed: true, optional: false, required: false get requiredAction() { return this.getStringAttribute('required_action'); } // type - computed: true, optional: false, required: false get type() { return this.getStringAttribute('type'); } } exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredRecordsOutputReference = FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredRecordsOutputReference; _e = JSII_RTTI_SYMBOL_1; FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredRecordsOutputReference[_e] = { fqn: "@cdktf/provider-google.firebaseAppHostingDomain.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredRecordsOutputReference", version: "16.3.0" }; class FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredRecordsList 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 FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredRecordsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredRecordsList = FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredRecordsList; _f = JSII_RTTI_SYMBOL_1; FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredRecordsList[_f] = { fqn: "@cdktf/provider-google.firebaseAppHostingDomain.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredRecordsList", version: "16.3.0" }; function firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredToTerraform(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 firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredToHclTerraform(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 FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredOutputReference 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; // check_error - computed: true, optional: false, required: false this._checkError = new FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredCheckErrorList(this, "check_error", false); // records - computed: true, optional: false, required: false this._records = new FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredRecordsList(this, "records", 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 checkError() { return this._checkError; } // domain_name - computed: true, optional: false, required: false get domainName() { return this.getStringAttribute('domain_name'); } get records() { return this._records; } } exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredOutputReference = FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredOutputReference; _g = JSII_RTTI_SYMBOL_1; FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredOutputReference[_g] = { fqn: "@cdktf/provider-google.firebaseAppHostingDomain.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredOutputReference", version: "16.3.0" }; class FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredList 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 FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredList = FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredList; _h = JSII_RTTI_SYMBOL_1; FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredList[_h] = { fqn: "@cdktf/provider-google.firebaseAppHostingDomain.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredList", version: "16.3.0" }; function firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredCheckErrorToTerraform(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 firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredCheckErrorToHclTerraform(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 FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredCheckErrorOutputReference 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; } } // code - computed: true, optional: false, required: false get code() { return this.getNumberAttribute('code'); } // details - computed: true, optional: false, required: false get details() { return this.getStringAttribute('details'); } // message - computed: true, optional: false, required: false get message() { return this.getStringAttribute('message'); } } exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredCheckErrorOutputReference = FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredCheckErrorOutputReference; _j = JSII_RTTI_SYMBOL_1; FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredCheckErrorOutputReference[_j] = { fqn: "@cdktf/provider-google.firebaseAppHostingDomain.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredCheckErrorOutputReference", version: "16.3.0" }; class FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredCheckErrorList 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 FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredCheckErrorOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredCheckErrorList = FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredCheckErrorList; _k = JSII_RTTI_SYMBOL_1; FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredCheckErrorList[_k] = { fqn: "@cdktf/provider-google.firebaseAppHostingDomain.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredCheckErrorList", version: "16.3.0" }; function firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredRecordsToTerraform(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 firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredRecordsToHclTerraform(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 FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredRecordsOutputReference 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; } } // domain_name - computed: true, optional: false, required: false get domainName() { return this.getStringAttribute('domain_name'); } // rdata - computed: true, optional: false, required: false get rdata() { return this.getStringAttribute('rdata'); } // relevant_state - computed: true, optional: false, required: false get relevantState() { return this.getListAttribute('relevant_state'); } // required_action - computed: true, optional: false, required: false get requiredAction() { return this.getStringAttribute('required_action'); } // type - computed: true, optional: false, required: false get type() { return this.getStringAttribute('type'); } } exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredRecordsOutputReference = FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredRecordsOutputReference; _l = JSII_RTTI_SYMBOL_1; FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredRecordsOutputReference[_l] = { fqn: "@cdktf/provider-google.firebaseAppHostingDomain.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredRecordsOutputReference", version: "16.3.0" }; class FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredRecordsList 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 FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredRecordsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredRecordsList = FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredRecordsList; _m = JSII_RTTI_SYMBOL_1; FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredRecordsList[_m] = { fqn: "@cdktf/provider-google.firebaseAppHostingDomain.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredRecordsList", version: "16.3.0" }; function firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredToTerraform(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 firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredToHclTerraform(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 FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredOutputReference 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; // check_error - computed: true, optional: false, required: false this._checkError = new FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredCheckErrorList(this, "check_error", false); // records - computed: true, optional: false, required: false this._records = new FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredRecordsList(this, "records", 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 checkError() { return this._checkError; } // domain_name - computed: true, optional: false, required: false get domainName() { return this.getStringAttribute('domain_name'); } get records() { return this._records; } } exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredOutputReference = FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredOutputReference; _o = JSII_RTTI_SYMBOL_1; FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredOutputReference[_o] = { fqn: "@cdktf/provider-google.firebaseAppHostingDomain.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredOutputReference", version: "16.3.0" }; class FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredList 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 FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredList = FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredList; _p = JSII_RTTI_SYMBOL_1; FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredList[_p] = { fqn: "@cdktf/provider-google.firebaseAppHostingDomain.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredList", version: "16.3.0" }; function firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesToTerraform(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 firebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesToHclTerraform(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 FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesOutputReference 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; // desired - computed: true, optional: false, required: false this._desired = new FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDesiredList(this, "desired", false); // discovered - computed: true, optional: false, required: false this._discovered = new FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesDiscoveredList(this, "discovered", 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; } } // check_time - computed: true, optional: false, required: false get checkTime() { return this.getStringAttribute('check_time'); } get desired() { return this._desired; } get discovered() { return this._discovered; } // domain_name - computed: true, optional: false, required: false get domainName() { return this.getStringAttribute('domain_name'); } } exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesOutputReference = FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesOutputReference; _q = JSII_RTTI_SYMBOL_1; FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesOutputReference[_q] = { fqn: "@cdktf/provider-google.firebaseAppHostingDomain.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesOutputReference", version: "16.3.0" }; class FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesList 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 FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesList = FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesList; _r = JSII_RTTI_SYMBOL_1; FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesList[_r] = { fqn: "@cdktf/provider-google.firebaseAppHostingDomain.FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesList", version: "16.3.0" }; function firebaseAppHostingDomainCustomDomainStatusToTerraform(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 firebaseAppHostingDomainCustomDomainStatusToHclTerraform(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 FirebaseAppHostingDomainCustomDomainStatusOutputReference 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; // issues - computed: true, optional: false, required: false this._issues = new FirebaseAppHostingDomainCustomDomainStatusIssuesList(this, "issues", false); // required_dns_updates - computed: true, optional: false, required: false this._requiredDnsUpdates = new FirebaseAppHostingDomainCustomDomainStatusRequiredDnsUpdatesList(this, "required_dns_updates", 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; } } // cert_state - computed: true, optional: false, required: false get certState() { return this.getStringAttribute('cert_state'); } // host_state - computed: true, optional: false, required: false get hostState() { return this.getStringAttribute('host_state'); } get issues() { return this._issues; } // ownership_state - computed: true, optional: false, required: false get ownershipState() { return this.getStringAttribute('ownership_state'); } get requiredDnsUpdates() { return this._requiredDnsUpdates; } } exports.FirebaseAppHostingDomainCustomDomainStatusOutputReference = FirebaseAppHostingDomainCustomDomainStatusOutputReference; _s = JSII_RTTI_SYMBOL_1; FirebaseAppHostingDomainCustomDomainStatusOutputReference[_s] = { fqn: "@cdktf/provider-google.firebaseAppHostingDomain.FirebaseAppHostingDomainCustomDomainStatusOutputReference", version: "16.3.0" }; class FirebaseAppHostingDomainCustomDomainStatusList 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 FirebaseAppHostingDomainCustomDomainStatusOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.FirebaseAppHostingDomainCustomDomainStatusList = FirebaseAppHostingDomainCustomDomainStatusList; _t = JSII_RTTI_SYMBOL_1; FirebaseAppHostingDomainCustomDomainStatusList[_t] = { fqn: "@cdktf/provider-google.firebaseAppHostingDomain.FirebaseAppHostingDomainCustomDomainStatusList", version: "16.3.0" }; function firebaseAppHostingDomainServeRedirectToTerraform(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 { status: cdktf.stringToTerraform(struct.status), uri: cdktf.stringToTerraform(struct.uri), }; } function firebaseAppHostingDomainServeRedirectToHclTerraform(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 = { status: { value: cdktf.stringToHclTerraform(struct.status), isBlock: false, type: "simple", storageClassType: "string", }, uri: { value: cdktf.stringToHclTerraform(struct.uri), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } class FirebaseAppHostingDomainServeRedirectOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource, terraformAttribute) { super(terraformResource, terraformAttribute, false, 0); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._status !== undefined) { hasAnyValues = true; internalValueResult.status = this._status; } if (this._uri !== undefined) { hasAnyValues = true; internalValueResult.uri = this._uri; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this._status = undefined; this._uri = undefined; } else { this.isEmptyObject = Object.keys(value).length === 0; this._status = value.status; this._uri = value.uri; } } get status() { return this.getStringAttribute('status'); } set status(value) { this._status = value; } resetStatus() { this._status = undefined; } // Temporarily expose input value. Use with caution. get statusInput() { return this._status; } get uri() { return this.getStringAttribute('uri'); } set uri(value) { this._uri = value; } // Temporarily expose input value. Use with caution. get uriInput() { return this._uri; } } exports.FirebaseAppHostingDomainServeRedirectOutputReference = FirebaseAppHostingDomainServeRedirectOutputReference; _u = JSII_RTTI_SYMBOL_1; FirebaseAppHostingDomainServeRedirectOutputReference[_u] = { fqn: "@cdktf/provider-google.firebaseAppHostingDomain.FirebaseAppHostingDomainServeRedirectOutputReference", version: "16.3.0" }; function firebaseAppHostingDomainServeToTerraform(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 { redirect: firebaseAppHostingDomainServeRedirectToTerraform(struct.redirect), }; } function firebaseAppHostingDomainServeToHclTerraform(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 = { redirect: { value: firebaseAppHostingDomainServeRedirectToHclTerraform(struct.redirect), isBlock: true,