UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

537 lines 73.9 kB
"use strict"; var _a, _b, _c, _d; Object.defineProperty(exports, "__esModule", { value: true }); exports.BeyondcorpAppConnector = exports.BeyondcorpAppConnectorTimeoutsOutputReference = exports.beyondcorpAppConnectorTimeoutsToHclTerraform = exports.beyondcorpAppConnectorTimeoutsToTerraform = exports.BeyondcorpAppConnectorPrincipalInfoOutputReference = exports.beyondcorpAppConnectorPrincipalInfoToHclTerraform = exports.beyondcorpAppConnectorPrincipalInfoToTerraform = exports.BeyondcorpAppConnectorPrincipalInfoServiceAccountOutputReference = exports.beyondcorpAppConnectorPrincipalInfoServiceAccountToHclTerraform = exports.beyondcorpAppConnectorPrincipalInfoServiceAccountToTerraform = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function beyondcorpAppConnectorPrincipalInfoServiceAccountToTerraform(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 { email: cdktf.stringToTerraform(struct.email), }; } exports.beyondcorpAppConnectorPrincipalInfoServiceAccountToTerraform = beyondcorpAppConnectorPrincipalInfoServiceAccountToTerraform; function beyondcorpAppConnectorPrincipalInfoServiceAccountToHclTerraform(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 = { email: { value: cdktf.stringToHclTerraform(struct.email), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.beyondcorpAppConnectorPrincipalInfoServiceAccountToHclTerraform = beyondcorpAppConnectorPrincipalInfoServiceAccountToHclTerraform; class BeyondcorpAppConnectorPrincipalInfoServiceAccountOutputReference 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._email !== undefined) { hasAnyValues = true; internalValueResult.email = this._email; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this._email = undefined; } else { this.isEmptyObject = Object.keys(value).length === 0; this._email = value.email; } } get email() { return this.getStringAttribute('email'); } set email(value) { this._email = value; } // Temporarily expose input value. Use with caution. get emailInput() { return this._email; } } exports.BeyondcorpAppConnectorPrincipalInfoServiceAccountOutputReference = BeyondcorpAppConnectorPrincipalInfoServiceAccountOutputReference; _a = JSII_RTTI_SYMBOL_1; BeyondcorpAppConnectorPrincipalInfoServiceAccountOutputReference[_a] = { fqn: "@cdktf/provider-google.beyondcorpAppConnector.BeyondcorpAppConnectorPrincipalInfoServiceAccountOutputReference", version: "14.12.0" }; function beyondcorpAppConnectorPrincipalInfoToTerraform(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 { service_account: beyondcorpAppConnectorPrincipalInfoServiceAccountToTerraform(struct.serviceAccount), }; } exports.beyondcorpAppConnectorPrincipalInfoToTerraform = beyondcorpAppConnectorPrincipalInfoToTerraform; function beyondcorpAppConnectorPrincipalInfoToHclTerraform(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 = { service_account: { value: beyondcorpAppConnectorPrincipalInfoServiceAccountToHclTerraform(struct.serviceAccount), isBlock: true, type: "list", storageClassType: "BeyondcorpAppConnectorPrincipalInfoServiceAccountList", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.beyondcorpAppConnectorPrincipalInfoToHclTerraform = beyondcorpAppConnectorPrincipalInfoToHclTerraform; class BeyondcorpAppConnectorPrincipalInfoOutputReference 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; // service_account - computed: false, optional: false, required: true this._serviceAccount = new BeyondcorpAppConnectorPrincipalInfoServiceAccountOutputReference(this, "service_account"); } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._serviceAccount?.internalValue !== undefined) { hasAnyValues = true; internalValueResult.serviceAccount = this._serviceAccount?.internalValue; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this._serviceAccount.internalValue = undefined; } else { this.isEmptyObject = Object.keys(value).length === 0; this._serviceAccount.internalValue = value.serviceAccount; } } get serviceAccount() { return this._serviceAccount; } putServiceAccount(value) { this._serviceAccount.internalValue = value; } // Temporarily expose input value. Use with caution. get serviceAccountInput() { return this._serviceAccount.internalValue; } } exports.BeyondcorpAppConnectorPrincipalInfoOutputReference = BeyondcorpAppConnectorPrincipalInfoOutputReference; _b = JSII_RTTI_SYMBOL_1; BeyondcorpAppConnectorPrincipalInfoOutputReference[_b] = { fqn: "@cdktf/provider-google.beyondcorpAppConnector.BeyondcorpAppConnectorPrincipalInfoOutputReference", version: "14.12.0" }; function beyondcorpAppConnectorTimeoutsToTerraform(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 { create: cdktf.stringToTerraform(struct.create), delete: cdktf.stringToTerraform(struct.delete), update: cdktf.stringToTerraform(struct.update), }; } exports.beyondcorpAppConnectorTimeoutsToTerraform = beyondcorpAppConnectorTimeoutsToTerraform; function beyondcorpAppConnectorTimeoutsToHclTerraform(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 = { create: { value: cdktf.stringToHclTerraform(struct.create), isBlock: false, type: "simple", storageClassType: "string", }, delete: { value: cdktf.stringToHclTerraform(struct.delete), isBlock: false, type: "simple", storageClassType: "string", }, update: { value: cdktf.stringToHclTerraform(struct.update), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.beyondcorpAppConnectorTimeoutsToHclTerraform = beyondcorpAppConnectorTimeoutsToHclTerraform; class BeyondcorpAppConnectorTimeoutsOutputReference 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); this.isEmptyObject = false; } get internalValue() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._create !== undefined) { hasAnyValues = true; internalValueResult.create = this._create; } if (this._delete !== undefined) { hasAnyValues = true; internalValueResult.delete = this._delete; } if (this._update !== undefined) { hasAnyValues = true; internalValueResult.update = this._update; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._create = undefined; this._delete = undefined; this._update = undefined; } else if (cdktf.Tokenization.isResolvable(value)) { this.isEmptyObject = false; this.resolvableValue = value; } else { this.isEmptyObject = Object.keys(value).length === 0; this.resolvableValue = undefined; this._create = value.create; this._delete = value.delete; this._update = value.update; } } get create() { return this.getStringAttribute('create'); } set create(value) { this._create = value; } resetCreate() { this._create = undefined; } // Temporarily expose input value. Use with caution. get createInput() { return this._create; } get delete() { return this.getStringAttribute('delete'); } set delete(value) { this._delete = value; } resetDelete() { this._delete = undefined; } // Temporarily expose input value. Use with caution. get deleteInput() { return this._delete; } get update() { return this.getStringAttribute('update'); } set update(value) { this._update = value; } resetUpdate() { this._update = undefined; } // Temporarily expose input value. Use with caution. get updateInput() { return this._update; } } exports.BeyondcorpAppConnectorTimeoutsOutputReference = BeyondcorpAppConnectorTimeoutsOutputReference; _c = JSII_RTTI_SYMBOL_1; BeyondcorpAppConnectorTimeoutsOutputReference[_c] = { fqn: "@cdktf/provider-google.beyondcorpAppConnector.BeyondcorpAppConnectorTimeoutsOutputReference", version: "14.12.0" }; /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/beyondcorp_app_connector google_beyondcorp_app_connector} */ class BeyondcorpAppConnector extends cdktf.TerraformResource { // ============== // STATIC Methods // ============== /** * Generates CDKTF code for importing a BeyondcorpAppConnector resource upon running "cdktf plan <stack-name>" * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the BeyondcorpAppConnector to import * @param importFromId The id of the existing BeyondcorpAppConnector that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/beyondcorp_app_connector#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the BeyondcorpAppConnector to import is found */ static generateConfigForImport(scope, importToId, importFromId, provider) { return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "google_beyondcorp_app_connector", importId: importFromId, provider }); } // =========== // INITIALIZER // =========== /** * Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/beyondcorp_app_connector google_beyondcorp_app_connector} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options BeyondcorpAppConnectorConfig */ constructor(scope, id, config) { super(scope, id, { terraformResourceType: 'google_beyondcorp_app_connector', terraformGeneratorMetadata: { providerName: 'google', providerVersion: '6.13.0', providerVersionConstraint: '~> 6.0' }, provider: config.provider, dependsOn: config.dependsOn, count: config.count, lifecycle: config.lifecycle, provisioners: config.provisioners, connection: config.connection, forEach: config.forEach }); // effective_labels - computed: true, optional: false, required: false this._effectiveLabels = new cdktf.StringMap(this, "effective_labels"); // terraform_labels - computed: true, optional: false, required: false this._terraformLabels = new cdktf.StringMap(this, "terraform_labels"); // principal_info - computed: false, optional: false, required: true this._principalInfo = new BeyondcorpAppConnectorPrincipalInfoOutputReference(this, "principal_info"); // timeouts - computed: false, optional: true, required: false this._timeouts = new BeyondcorpAppConnectorTimeoutsOutputReference(this, "timeouts"); this._displayName = config.displayName; this._id = config.id; this._labels = config.labels; this._name = config.name; this._project = config.project; this._region = config.region; this._principalInfo.internalValue = config.principalInfo; this._timeouts.internalValue = config.timeouts; } get displayName() { return this.getStringAttribute('display_name'); } set displayName(value) { this._displayName = value; } resetDisplayName() { this._displayName = undefined; } // Temporarily expose input value. Use with caution. get displayNameInput() { return this._displayName; } get effectiveLabels() { return this._effectiveLabels; } get id() { return this.getStringAttribute('id'); } set id(value) { this._id = value; } resetId() { this._id = undefined; } // Temporarily expose input value. Use with caution. get idInput() { return this._id; } get labels() { return this.getStringMapAttribute('labels'); } set labels(value) { this._labels = value; } resetLabels() { this._labels = undefined; } // Temporarily expose input value. Use with caution. get labelsInput() { return this._labels; } get name() { return this.getStringAttribute('name'); } set name(value) { this._name = value; } // Temporarily expose input value. Use with caution. get nameInput() { return this._name; } get project() { return this.getStringAttribute('project'); } set project(value) { this._project = value; } resetProject() { this._project = undefined; } // Temporarily expose input value. Use with caution. get projectInput() { return this._project; } get region() { return this.getStringAttribute('region'); } set region(value) { this._region = value; } resetRegion() { this._region = undefined; } // Temporarily expose input value. Use with caution. get regionInput() { return this._region; } // state - computed: true, optional: false, required: false get state() { return this.getStringAttribute('state'); } get terraformLabels() { return this._terraformLabels; } get principalInfo() { return this._principalInfo; } putPrincipalInfo(value) { this._principalInfo.internalValue = value; } // Temporarily expose input value. Use with caution. get principalInfoInput() { return this._principalInfo.internalValue; } get timeouts() { return this._timeouts; } putTimeouts(value) { this._timeouts.internalValue = value; } resetTimeouts() { this._timeouts.internalValue = undefined; } // Temporarily expose input value. Use with caution. get timeoutsInput() { return this._timeouts.internalValue; } // ========= // SYNTHESIS // ========= synthesizeAttributes() { return { display_name: cdktf.stringToTerraform(this._displayName), id: cdktf.stringToTerraform(this._id), labels: cdktf.hashMapper(cdktf.stringToTerraform)(this._labels), name: cdktf.stringToTerraform(this._name), project: cdktf.stringToTerraform(this._project), region: cdktf.stringToTerraform(this._region), principal_info: beyondcorpAppConnectorPrincipalInfoToTerraform(this._principalInfo.internalValue), timeouts: beyondcorpAppConnectorTimeoutsToTerraform(this._timeouts.internalValue), }; } synthesizeHclAttributes() { const attrs = { display_name: { value: cdktf.stringToHclTerraform(this._displayName), isBlock: false, type: "simple", storageClassType: "string", }, id: { value: cdktf.stringToHclTerraform(this._id), isBlock: false, type: "simple", storageClassType: "string", }, labels: { value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(this._labels), isBlock: false, type: "map", storageClassType: "stringMap", }, name: { value: cdktf.stringToHclTerraform(this._name), isBlock: false, type: "simple", storageClassType: "string", }, project: { value: cdktf.stringToHclTerraform(this._project), isBlock: false, type: "simple", storageClassType: "string", }, region: { value: cdktf.stringToHclTerraform(this._region), isBlock: false, type: "simple", storageClassType: "string", }, principal_info: { value: beyondcorpAppConnectorPrincipalInfoToHclTerraform(this._principalInfo.internalValue), isBlock: true, type: "list", storageClassType: "BeyondcorpAppConnectorPrincipalInfoList", }, timeouts: { value: beyondcorpAppConnectorTimeoutsToHclTerraform(this._timeouts.internalValue), isBlock: true, type: "struct", storageClassType: "BeyondcorpAppConnectorTimeouts", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } } exports.BeyondcorpAppConnector = BeyondcorpAppConnector; _d = JSII_RTTI_SYMBOL_1; BeyondcorpAppConnector[_d] = { fqn: "@cdktf/provider-google.beyondcorpAppConnector.BeyondcorpAppConnector", version: "14.12.0" }; // ================= // STATIC PROPERTIES // ================= BeyondcorpAppConnector.tfResourceType = "google_beyondcorp_app_connector"; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvYmV5b25kY29ycC1hcHAtY29ubmVjdG9yL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBU0EsK0JBQStCO0FBa0UvQixTQUFnQiw0REFBNEQsQ0FBQyxNQUE2SDtJQUN4TSxJQUFJLENBQUMsS0FBSyxDQUFDLFVBQVUsQ0FBQyxNQUFNLENBQUMsSUFBSSxLQUFLLENBQUMsWUFBWSxDQUFDLFlBQVksQ0FBQyxNQUFNLENBQUMsRUFBRSxDQUFDO1FBQUMsT0FBTyxNQUFNLENBQUM7SUFBQyxDQUFDO0lBQzVGLElBQUksS0FBSyxDQUFDLGdCQUFnQixDQUFDLE1BQU0sQ0FBQyxFQUFFLENBQUM7UUFDbkMsTUFBTSxJQUFJLEtBQUssQ0FBQyxvSEFBb0gsQ0FBQyxDQUFDO0lBQ3hJLENBQUM7SUFDRCxPQUFPO1FBQ0wsS0FBSyxFQUFFLEtBQUssQ0FBQyxpQkFBaUIsQ0FBQyxNQUFPLENBQUMsS0FBSyxDQUFDO0tBQzlDLENBQUE7QUFDSCxDQUFDO0FBUkQsb0lBUUM7QUFHRCxTQUFnQiwrREFBK0QsQ0FBQyxNQUE2SDtJQUMzTSxJQUFJLENBQUMsS0FBSyxDQUFDLFVBQVUsQ0FBQyxNQUFNLENBQUMsSUFBSSxLQUFLLENBQUMsWUFBWSxDQUFDLFlBQVksQ0FBQyxNQUFNLENBQUMsRUFBRSxDQUFDO1FBQUMsT0FBTyxNQUFNLENBQUM7SU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