@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
938 lines (937 loc) • 183 kB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ComputeInterconnectAttachmentGroup = exports.ComputeInterconnectAttachmentGroupTimeoutsOutputReference = exports.ComputeInterconnectAttachmentGroupIntentOutputReference = exports.ComputeInterconnectAttachmentGroupAttachmentsList = exports.ComputeInterconnectAttachmentGroupAttachmentsOutputReference = exports.ComputeInterconnectAttachmentGroupLogicalStructureList = exports.ComputeInterconnectAttachmentGroupLogicalStructureOutputReference = exports.ComputeInterconnectAttachmentGroupLogicalStructureRegionsList = exports.ComputeInterconnectAttachmentGroupLogicalStructureRegionsOutputReference = exports.ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosList = exports.ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosOutputReference = exports.ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesList = exports.ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesOutputReference = exports.ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesZonesList = exports.ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesZonesOutputReference = exports.ComputeInterconnectAttachmentGroupConfiguredList = exports.ComputeInterconnectAttachmentGroupConfiguredOutputReference = exports.ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaList = exports.ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaOutputReference = exports.ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockersList = exports.ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockersOutputReference = void 0;
exports.computeInterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockersToTerraform = computeInterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockersToTerraform;
exports.computeInterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockersToHclTerraform = computeInterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockersToHclTerraform;
exports.computeInterconnectAttachmentGroupConfiguredAvailabilitySlaToTerraform = computeInterconnectAttachmentGroupConfiguredAvailabilitySlaToTerraform;
exports.computeInterconnectAttachmentGroupConfiguredAvailabilitySlaToHclTerraform = computeInterconnectAttachmentGroupConfiguredAvailabilitySlaToHclTerraform;
exports.computeInterconnectAttachmentGroupConfiguredToTerraform = computeInterconnectAttachmentGroupConfiguredToTerraform;
exports.computeInterconnectAttachmentGroupConfiguredToHclTerraform = computeInterconnectAttachmentGroupConfiguredToHclTerraform;
exports.computeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesZonesToTerraform = computeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesZonesToTerraform;
exports.computeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesZonesToHclTerraform = computeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesZonesToHclTerraform;
exports.computeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesToTerraform = computeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesToTerraform;
exports.computeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesToHclTerraform = computeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesToHclTerraform;
exports.computeInterconnectAttachmentGroupLogicalStructureRegionsMetrosToTerraform = computeInterconnectAttachmentGroupLogicalStructureRegionsMetrosToTerraform;
exports.computeInterconnectAttachmentGroupLogicalStructureRegionsMetrosToHclTerraform = computeInterconnectAttachmentGroupLogicalStructureRegionsMetrosToHclTerraform;
exports.computeInterconnectAttachmentGroupLogicalStructureRegionsToTerraform = computeInterconnectAttachmentGroupLogicalStructureRegionsToTerraform;
exports.computeInterconnectAttachmentGroupLogicalStructureRegionsToHclTerraform = computeInterconnectAttachmentGroupLogicalStructureRegionsToHclTerraform;
exports.computeInterconnectAttachmentGroupLogicalStructureToTerraform = computeInterconnectAttachmentGroupLogicalStructureToTerraform;
exports.computeInterconnectAttachmentGroupLogicalStructureToHclTerraform = computeInterconnectAttachmentGroupLogicalStructureToHclTerraform;
exports.computeInterconnectAttachmentGroupAttachmentsToTerraform = computeInterconnectAttachmentGroupAttachmentsToTerraform;
exports.computeInterconnectAttachmentGroupAttachmentsToHclTerraform = computeInterconnectAttachmentGroupAttachmentsToHclTerraform;
exports.computeInterconnectAttachmentGroupIntentToTerraform = computeInterconnectAttachmentGroupIntentToTerraform;
exports.computeInterconnectAttachmentGroupIntentToHclTerraform = computeInterconnectAttachmentGroupIntentToHclTerraform;
exports.computeInterconnectAttachmentGroupTimeoutsToTerraform = computeInterconnectAttachmentGroupTimeoutsToTerraform;
exports.computeInterconnectAttachmentGroupTimeoutsToHclTerraform = computeInterconnectAttachmentGroupTimeoutsToHclTerraform;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function computeInterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockersToTerraform(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 computeInterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockersToHclTerraform(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 ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockersOutputReference 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;
}
}
// attachments - computed: true, optional: false, required: false
get attachments() {
return this.getListAttribute('attachments');
}
// blocker_type - computed: true, optional: false, required: false
get blockerType() {
return this.getStringAttribute('blocker_type');
}
// documentation_link - computed: true, optional: false, required: false
get documentationLink() {
return this.getStringAttribute('documentation_link');
}
// explanation - computed: true, optional: false, required: false
get explanation() {
return this.getStringAttribute('explanation');
}
// metros - computed: true, optional: false, required: false
get metros() {
return this.getListAttribute('metros');
}
// regions - computed: true, optional: false, required: false
get regions() {
return this.getListAttribute('regions');
}
// zones - computed: true, optional: false, required: false
get zones() {
return this.getListAttribute('zones');
}
}
exports.ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockersOutputReference = ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockersOutputReference;
_a = JSII_RTTI_SYMBOL_1;
ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockersOutputReference[_a] = { fqn: "@cdktf/provider-google.computeInterconnectAttachmentGroup.ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockersOutputReference", version: "16.3.0" };
class ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockersList 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 ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockersOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockersList = ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockersList;
_b = JSII_RTTI_SYMBOL_1;
ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockersList[_b] = { fqn: "@cdktf/provider-google.computeInterconnectAttachmentGroup.ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockersList", version: "16.3.0" };
function computeInterconnectAttachmentGroupConfiguredAvailabilitySlaToTerraform(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 computeInterconnectAttachmentGroupConfiguredAvailabilitySlaToHclTerraform(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 ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaOutputReference 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;
// intended_sla_blockers - computed: true, optional: false, required: false
this._intendedSlaBlockers = new ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockersList(this, "intended_sla_blockers", 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;
}
}
// effective_sla - computed: true, optional: false, required: false
get effectiveSla() {
return this.getStringAttribute('effective_sla');
}
get intendedSlaBlockers() {
return this._intendedSlaBlockers;
}
}
exports.ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaOutputReference = ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaOutputReference;
_c = JSII_RTTI_SYMBOL_1;
ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaOutputReference[_c] = { fqn: "@cdktf/provider-google.computeInterconnectAttachmentGroup.ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaOutputReference", version: "16.3.0" };
class ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaList 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 ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaList = ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaList;
_d = JSII_RTTI_SYMBOL_1;
ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaList[_d] = { fqn: "@cdktf/provider-google.computeInterconnectAttachmentGroup.ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaList", version: "16.3.0" };
function computeInterconnectAttachmentGroupConfiguredToTerraform(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 computeInterconnectAttachmentGroupConfiguredToHclTerraform(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 ComputeInterconnectAttachmentGroupConfiguredOutputReference 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;
// availability_sla - computed: true, optional: false, required: false
this._availabilitySla = new ComputeInterconnectAttachmentGroupConfiguredAvailabilitySlaList(this, "availability_sla", 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 availabilitySla() {
return this._availabilitySla;
}
}
exports.ComputeInterconnectAttachmentGroupConfiguredOutputReference = ComputeInterconnectAttachmentGroupConfiguredOutputReference;
_e = JSII_RTTI_SYMBOL_1;
ComputeInterconnectAttachmentGroupConfiguredOutputReference[_e] = { fqn: "@cdktf/provider-google.computeInterconnectAttachmentGroup.ComputeInterconnectAttachmentGroupConfiguredOutputReference", version: "16.3.0" };
class ComputeInterconnectAttachmentGroupConfiguredList 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 ComputeInterconnectAttachmentGroupConfiguredOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.ComputeInterconnectAttachmentGroupConfiguredList = ComputeInterconnectAttachmentGroupConfiguredList;
_f = JSII_RTTI_SYMBOL_1;
ComputeInterconnectAttachmentGroupConfiguredList[_f] = { fqn: "@cdktf/provider-google.computeInterconnectAttachmentGroup.ComputeInterconnectAttachmentGroupConfiguredList", version: "16.3.0" };
function computeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesZonesToTerraform(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 computeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesZonesToHclTerraform(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 ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesZonesOutputReference 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;
}
}
// attachment - computed: true, optional: false, required: false
get attachment() {
return this.getListAttribute('attachment');
}
// zone - computed: true, optional: false, required: false
get zone() {
return this.getStringAttribute('zone');
}
}
exports.ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesZonesOutputReference = ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesZonesOutputReference;
_g = JSII_RTTI_SYMBOL_1;
ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesZonesOutputReference[_g] = { fqn: "@cdktf/provider-google.computeInterconnectAttachmentGroup.ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesZonesOutputReference", version: "16.3.0" };
class ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesZonesList 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 ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesZonesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesZonesList = ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesZonesList;
_h = JSII_RTTI_SYMBOL_1;
ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesZonesList[_h] = { fqn: "@cdktf/provider-google.computeInterconnectAttachmentGroup.ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesZonesList", version: "16.3.0" };
function computeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesToTerraform(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 computeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesToHclTerraform(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 ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesOutputReference 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;
// zones - computed: true, optional: false, required: false
this._zones = new ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesZonesList(this, "zones", 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;
}
}
// facility - computed: true, optional: false, required: false
get facility() {
return this.getStringAttribute('facility');
}
get zones() {
return this._zones;
}
}
exports.ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesOutputReference = ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesOutputReference;
_j = JSII_RTTI_SYMBOL_1;
ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesOutputReference[_j] = { fqn: "@cdktf/provider-google.computeInterconnectAttachmentGroup.ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesOutputReference", version: "16.3.0" };
class ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesList 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 ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesList = ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesList;
_k = JSII_RTTI_SYMBOL_1;
ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesList[_k] = { fqn: "@cdktf/provider-google.computeInterconnectAttachmentGroup.ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesList", version: "16.3.0" };
function computeInterconnectAttachmentGroupLogicalStructureRegionsMetrosToTerraform(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 computeInterconnectAttachmentGroupLogicalStructureRegionsMetrosToHclTerraform(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 ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosOutputReference 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;
// facilities - computed: true, optional: false, required: false
this._facilities = new ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosFacilitiesList(this, "facilities", 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 facilities() {
return this._facilities;
}
// metro - computed: true, optional: false, required: false
get metro() {
return this.getStringAttribute('metro');
}
}
exports.ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosOutputReference = ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosOutputReference;
_l = JSII_RTTI_SYMBOL_1;
ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosOutputReference[_l] = { fqn: "@cdktf/provider-google.computeInterconnectAttachmentGroup.ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosOutputReference", version: "16.3.0" };
class ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosList 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 ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosList = ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosList;
_m = JSII_RTTI_SYMBOL_1;
ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosList[_m] = { fqn: "@cdktf/provider-google.computeInterconnectAttachmentGroup.ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosList", version: "16.3.0" };
function computeInterconnectAttachmentGroupLogicalStructureRegionsToTerraform(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 computeInterconnectAttachmentGroupLogicalStructureRegionsToHclTerraform(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 ComputeInterconnectAttachmentGroupLogicalStructureRegionsOutputReference 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;
// metros - computed: true, optional: false, required: false
this._metros = new ComputeInterconnectAttachmentGroupLogicalStructureRegionsMetrosList(this, "metros", 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 metros() {
return this._metros;
}
// region - computed: true, optional: false, required: false
get region() {
return this.getStringAttribute('region');
}
}
exports.ComputeInterconnectAttachmentGroupLogicalStructureRegionsOutputReference = ComputeInterconnectAttachmentGroupLogicalStructureRegionsOutputReference;
_o = JSII_RTTI_SYMBOL_1;
ComputeInterconnectAttachmentGroupLogicalStructureRegionsOutputReference[_o] = { fqn: "@cdktf/provider-google.computeInterconnectAttachmentGroup.ComputeInterconnectAttachmentGroupLogicalStructureRegionsOutputReference", version: "16.3.0" };
class ComputeInterconnectAttachmentGroupLogicalStructureRegionsList 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 ComputeInterconnectAttachmentGroupLogicalStructureRegionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.ComputeInterconnectAttachmentGroupLogicalStructureRegionsList = ComputeInterconnectAttachmentGroupLogicalStructureRegionsList;
_p = JSII_RTTI_SYMBOL_1;
ComputeInterconnectAttachmentGroupLogicalStructureRegionsList[_p] = { fqn: "@cdktf/provider-google.computeInterconnectAttachmentGroup.ComputeInterconnectAttachmentGroupLogicalStructureRegionsList", version: "16.3.0" };
function computeInterconnectAttachmentGroupLogicalStructureToTerraform(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 computeInterconnectAttachmentGroupLogicalStructureToHclTerraform(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 ComputeInterconnectAttachmentGroupLogicalStructureOutputReference 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;
// regions - computed: true, optional: false, required: false
this._regions = new ComputeInterconnectAttachmentGroupLogicalStructureRegionsList(this, "regions", 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 regions() {
return this._regions;
}
}
exports.ComputeInterconnectAttachmentGroupLogicalStructureOutputReference = ComputeInterconnectAttachmentGroupLogicalStructureOutputReference;
_q = JSII_RTTI_SYMBOL_1;
ComputeInterconnectAttachmentGroupLogicalStructureOutputReference[_q] = { fqn: "@cdktf/provider-google.computeInterconnectAttachmentGroup.ComputeInterconnectAttachmentGroupLogicalStructureOutputReference", version: "16.3.0" };
class ComputeInterconnectAttachmentGroupLogicalStructureList 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 ComputeInterconnectAttachmentGroupLogicalStructureOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.ComputeInterconnectAttachmentGroupLogicalStructureList = ComputeInterconnectAttachmentGroupLogicalStructureList;
_r = JSII_RTTI_SYMBOL_1;
ComputeInterconnectAttachmentGroupLogicalStructureList[_r] = { fqn: "@cdktf/provider-google.computeInterconnectAttachmentGroup.ComputeInterconnectAttachmentGroupLogicalStructureList", version: "16.3.0" };
function computeInterconnectAttachmentGroupAttachmentsToTerraform(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 {
attachment: cdktf.stringToTerraform(struct.attachment),
name: cdktf.stringToTerraform(struct.name),
};
}
function computeInterconnectAttachmentGroupAttachmentsToHclTerraform(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 = {
attachment: {
value: cdktf.stringToHclTerraform(struct.attachment),
isBlock: false,
type: "simple",
storageClassType: "string",
},
name: {
value: cdktf.stringToHclTerraform(struct.name),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class ComputeInterconnectAttachmentGroupAttachmentsOutputReference 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() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._attachment !== undefined) {
hasAnyValues = true;
internalValueResult.attachment = this._attachment;
}
if (this._name !== undefined) {
hasAnyValues = true;
internalValueResult.name = this._name;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._attachment = undefined;
this._name = 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._attachment = value.attachment;
this._name = value.name;
}
}
get attachment() {
return this.getStringAttribute('attachment');
}
set attachment(value) {
this._attachment = value;
}
resetAttachment() {
this._attachment = undefined;
}
// Temporarily expose input value. Use with caution.
get attachmentInput() {
return this._attachment;
}
get name() {
return this.getStringAttribute('name');
}
set name(value) {
this._name = value;
}
// Temporarily expose input value. Use with caution.
get nameInput() {
return this._name;
}
}
exports.ComputeInterconnectAttachmentGroupAttachmentsOutputReference = ComputeInterconnectAttachmentGroupAttachmentsOutputReference;
_s = JSII_RTTI_SYMBOL_1;
ComputeInterconnectAttachmentGroupAttachmentsOutputReference[_s] = { fqn: "@cdktf/provider-google.computeInterconnectAttachmentGroup.ComputeInterconnectAttachmentGroupAttachmentsOutputReference", version: "16.3.0" };
class ComputeInterconnectAttachmentGroupAttachmentsList 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 ComputeInterconnectAttachmentGroupAttachmentsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.ComputeInterconnectAttachmentGroupAttachmentsList = ComputeInterconnectAttachmentGroupAttachmentsList;
_t = JSII_RTTI_SYMBOL_1;
ComputeInterconnectAttachmentGroupAttachmentsList[_t] = { fqn: "@cdktf/provider-google.computeInterconnectAttachmentGroup.ComputeInterconnectAttachmentGroupAttachmentsList", version: "16.3.0" };
function computeInterconnectAttachmentGroupIntentToTerraform(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 {
availability_sla: cdktf.stringToTerraform(struct.availabilitySla),
};
}
function computeInterconnectAttachmentGroupIntentToHclTerraform(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 = {
availability_sla: {
value: cdktf.stringToHclTerraform(struct.availabilitySla),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class ComputeInterconnectAttachmentGroupIntentOutputReference 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._availabilitySla !== undefined) {
hasAnyValues = true;
internalValueResult.availabilitySla = this._availabilitySla;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._availabilitySla = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._availabilitySla = value.availabilitySla;
}
}
get availabilitySla() {
return this.getStringAttribute('availability_sla');
}
set availabilitySla(value) {
this._availabilitySla = value;
}
resetAvailabilitySla() {
this._availabilitySla = undefined;
}
// Temporarily expose input value. Use with caution.
get availabilitySlaInput() {
return this._availabilitySla;
}
}
exports.ComputeInterconnectAttachmentGroupIntentOutputReference = ComputeInterconnectAttachmentGroupIntentOutputReference;
_u = JSII_RTTI_SYMBOL_1;
ComputeInterconnectAttachmentGroupIntentOutputReference[_u] = { fqn: "@cdktf/provider-google.computeInterconnectAttachmentGroup.ComputeInterconnectAttachmentGroupIntentOutputReference", version: "16.3.0" };
function computeInterconnectAttachmentGroupTimeoutsToTerraform(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),
};
}
function computeInterconnectAttachmentGroupTimeoutsToHclTerraform(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));
}
class ComputeInterconnectAttachmentGroupTimeoutsOutputReference 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;