@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
850 lines • 326 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, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DataGoogleCloudRunV2WorkerPool = exports.DataGoogleCloudRunV2WorkerPoolTerminalConditionList = exports.DataGoogleCloudRunV2WorkerPoolTerminalConditionOutputReference = exports.DataGoogleCloudRunV2WorkerPoolTemplateList = exports.DataGoogleCloudRunV2WorkerPoolTemplateOutputReference = exports.DataGoogleCloudRunV2WorkerPoolTemplateVpcAccessList = exports.DataGoogleCloudRunV2WorkerPoolTemplateVpcAccessOutputReference = exports.DataGoogleCloudRunV2WorkerPoolTemplateVpcAccessNetworkInterfacesList = exports.DataGoogleCloudRunV2WorkerPoolTemplateVpcAccessNetworkInterfacesOutputReference = exports.DataGoogleCloudRunV2WorkerPoolTemplateVolumesList = exports.DataGoogleCloudRunV2WorkerPoolTemplateVolumesOutputReference = exports.DataGoogleCloudRunV2WorkerPoolTemplateVolumesSecretList = exports.DataGoogleCloudRunV2WorkerPoolTemplateVolumesSecretOutputReference = exports.DataGoogleCloudRunV2WorkerPoolTemplateVolumesSecretItemsList = exports.DataGoogleCloudRunV2WorkerPoolTemplateVolumesSecretItemsOutputReference = exports.DataGoogleCloudRunV2WorkerPoolTemplateVolumesNfsList = exports.DataGoogleCloudRunV2WorkerPoolTemplateVolumesNfsOutputReference = exports.DataGoogleCloudRunV2WorkerPoolTemplateVolumesGcsList = exports.DataGoogleCloudRunV2WorkerPoolTemplateVolumesGcsOutputReference = exports.DataGoogleCloudRunV2WorkerPoolTemplateVolumesEmptyDirList = exports.DataGoogleCloudRunV2WorkerPoolTemplateVolumesEmptyDirOutputReference = exports.DataGoogleCloudRunV2WorkerPoolTemplateVolumesCloudSqlInstanceList = exports.DataGoogleCloudRunV2WorkerPoolTemplateVolumesCloudSqlInstanceOutputReference = exports.DataGoogleCloudRunV2WorkerPoolTemplateNodeSelectorList = exports.DataGoogleCloudRunV2WorkerPoolTemplateNodeSelectorOutputReference = exports.DataGoogleCloudRunV2WorkerPoolTemplateContainersList = exports.DataGoogleCloudRunV2WorkerPoolTemplateContainersOutputReference = exports.DataGoogleCloudRunV2WorkerPoolTemplateContainersVolumeMountsList = exports.DataGoogleCloudRunV2WorkerPoolTemplateContainersVolumeMountsOutputReference = exports.DataGoogleCloudRunV2WorkerPoolTemplateContainersResourcesList = exports.DataGoogleCloudRunV2WorkerPoolTemplateContainersResourcesOutputReference = exports.DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvList = exports.DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvOutputReference = exports.DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceList = exports.DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceOutputReference = exports.DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceSecretKeyRefList = exports.DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceSecretKeyRefOutputReference = exports.DataGoogleCloudRunV2WorkerPoolScalingList = exports.DataGoogleCloudRunV2WorkerPoolScalingOutputReference = exports.DataGoogleCloudRunV2WorkerPoolInstanceSplitsList = exports.DataGoogleCloudRunV2WorkerPoolInstanceSplitsOutputReference = exports.DataGoogleCloudRunV2WorkerPoolInstanceSplitStatusesList = exports.DataGoogleCloudRunV2WorkerPoolInstanceSplitStatusesOutputReference = exports.DataGoogleCloudRunV2WorkerPoolConditionsList = exports.DataGoogleCloudRunV2WorkerPoolConditionsOutputReference = exports.DataGoogleCloudRunV2WorkerPoolBinaryAuthorizationList = exports.DataGoogleCloudRunV2WorkerPoolBinaryAuthorizationOutputReference = void 0;
exports.dataGoogleCloudRunV2WorkerPoolBinaryAuthorizationToTerraform = dataGoogleCloudRunV2WorkerPoolBinaryAuthorizationToTerraform;
exports.dataGoogleCloudRunV2WorkerPoolBinaryAuthorizationToHclTerraform = dataGoogleCloudRunV2WorkerPoolBinaryAuthorizationToHclTerraform;
exports.dataGoogleCloudRunV2WorkerPoolConditionsToTerraform = dataGoogleCloudRunV2WorkerPoolConditionsToTerraform;
exports.dataGoogleCloudRunV2WorkerPoolConditionsToHclTerraform = dataGoogleCloudRunV2WorkerPoolConditionsToHclTerraform;
exports.dataGoogleCloudRunV2WorkerPoolInstanceSplitStatusesToTerraform = dataGoogleCloudRunV2WorkerPoolInstanceSplitStatusesToTerraform;
exports.dataGoogleCloudRunV2WorkerPoolInstanceSplitStatusesToHclTerraform = dataGoogleCloudRunV2WorkerPoolInstanceSplitStatusesToHclTerraform;
exports.dataGoogleCloudRunV2WorkerPoolInstanceSplitsToTerraform = dataGoogleCloudRunV2WorkerPoolInstanceSplitsToTerraform;
exports.dataGoogleCloudRunV2WorkerPoolInstanceSplitsToHclTerraform = dataGoogleCloudRunV2WorkerPoolInstanceSplitsToHclTerraform;
exports.dataGoogleCloudRunV2WorkerPoolScalingToTerraform = dataGoogleCloudRunV2WorkerPoolScalingToTerraform;
exports.dataGoogleCloudRunV2WorkerPoolScalingToHclTerraform = dataGoogleCloudRunV2WorkerPoolScalingToHclTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceSecretKeyRefToTerraform = dataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceSecretKeyRefToTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceSecretKeyRefToHclTerraform = dataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceSecretKeyRefToHclTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceToTerraform = dataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceToTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceToHclTerraform = dataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceToHclTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateContainersEnvToTerraform = dataGoogleCloudRunV2WorkerPoolTemplateContainersEnvToTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateContainersEnvToHclTerraform = dataGoogleCloudRunV2WorkerPoolTemplateContainersEnvToHclTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateContainersResourcesToTerraform = dataGoogleCloudRunV2WorkerPoolTemplateContainersResourcesToTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateContainersResourcesToHclTerraform = dataGoogleCloudRunV2WorkerPoolTemplateContainersResourcesToHclTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateContainersVolumeMountsToTerraform = dataGoogleCloudRunV2WorkerPoolTemplateContainersVolumeMountsToTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateContainersVolumeMountsToHclTerraform = dataGoogleCloudRunV2WorkerPoolTemplateContainersVolumeMountsToHclTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateContainersToTerraform = dataGoogleCloudRunV2WorkerPoolTemplateContainersToTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateContainersToHclTerraform = dataGoogleCloudRunV2WorkerPoolTemplateContainersToHclTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateNodeSelectorToTerraform = dataGoogleCloudRunV2WorkerPoolTemplateNodeSelectorToTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateNodeSelectorToHclTerraform = dataGoogleCloudRunV2WorkerPoolTemplateNodeSelectorToHclTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateVolumesCloudSqlInstanceToTerraform = dataGoogleCloudRunV2WorkerPoolTemplateVolumesCloudSqlInstanceToTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateVolumesCloudSqlInstanceToHclTerraform = dataGoogleCloudRunV2WorkerPoolTemplateVolumesCloudSqlInstanceToHclTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateVolumesEmptyDirToTerraform = dataGoogleCloudRunV2WorkerPoolTemplateVolumesEmptyDirToTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateVolumesEmptyDirToHclTerraform = dataGoogleCloudRunV2WorkerPoolTemplateVolumesEmptyDirToHclTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateVolumesGcsToTerraform = dataGoogleCloudRunV2WorkerPoolTemplateVolumesGcsToTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateVolumesGcsToHclTerraform = dataGoogleCloudRunV2WorkerPoolTemplateVolumesGcsToHclTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateVolumesNfsToTerraform = dataGoogleCloudRunV2WorkerPoolTemplateVolumesNfsToTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateVolumesNfsToHclTerraform = dataGoogleCloudRunV2WorkerPoolTemplateVolumesNfsToHclTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateVolumesSecretItemsToTerraform = dataGoogleCloudRunV2WorkerPoolTemplateVolumesSecretItemsToTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateVolumesSecretItemsToHclTerraform = dataGoogleCloudRunV2WorkerPoolTemplateVolumesSecretItemsToHclTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateVolumesSecretToTerraform = dataGoogleCloudRunV2WorkerPoolTemplateVolumesSecretToTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateVolumesSecretToHclTerraform = dataGoogleCloudRunV2WorkerPoolTemplateVolumesSecretToHclTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateVolumesToTerraform = dataGoogleCloudRunV2WorkerPoolTemplateVolumesToTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateVolumesToHclTerraform = dataGoogleCloudRunV2WorkerPoolTemplateVolumesToHclTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateVpcAccessNetworkInterfacesToTerraform = dataGoogleCloudRunV2WorkerPoolTemplateVpcAccessNetworkInterfacesToTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateVpcAccessNetworkInterfacesToHclTerraform = dataGoogleCloudRunV2WorkerPoolTemplateVpcAccessNetworkInterfacesToHclTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateVpcAccessToTerraform = dataGoogleCloudRunV2WorkerPoolTemplateVpcAccessToTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateVpcAccessToHclTerraform = dataGoogleCloudRunV2WorkerPoolTemplateVpcAccessToHclTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateToTerraform = dataGoogleCloudRunV2WorkerPoolTemplateToTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTemplateToHclTerraform = dataGoogleCloudRunV2WorkerPoolTemplateToHclTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTerminalConditionToTerraform = dataGoogleCloudRunV2WorkerPoolTerminalConditionToTerraform;
exports.dataGoogleCloudRunV2WorkerPoolTerminalConditionToHclTerraform = dataGoogleCloudRunV2WorkerPoolTerminalConditionToHclTerraform;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function dataGoogleCloudRunV2WorkerPoolBinaryAuthorizationToTerraform(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 dataGoogleCloudRunV2WorkerPoolBinaryAuthorizationToHclTerraform(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 DataGoogleCloudRunV2WorkerPoolBinaryAuthorizationOutputReference 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;
}
}
// breakglass_justification - computed: true, optional: false, required: false
get breakglassJustification() {
return this.getStringAttribute('breakglass_justification');
}
// policy - computed: true, optional: false, required: false
get policy() {
return this.getStringAttribute('policy');
}
// use_default - computed: true, optional: false, required: false
get useDefault() {
return this.getBooleanAttribute('use_default');
}
}
exports.DataGoogleCloudRunV2WorkerPoolBinaryAuthorizationOutputReference = DataGoogleCloudRunV2WorkerPoolBinaryAuthorizationOutputReference;
_a = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2WorkerPoolBinaryAuthorizationOutputReference[_a] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2WorkerPool.DataGoogleCloudRunV2WorkerPoolBinaryAuthorizationOutputReference", version: "16.3.0" };
class DataGoogleCloudRunV2WorkerPoolBinaryAuthorizationList 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 DataGoogleCloudRunV2WorkerPoolBinaryAuthorizationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleCloudRunV2WorkerPoolBinaryAuthorizationList = DataGoogleCloudRunV2WorkerPoolBinaryAuthorizationList;
_b = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2WorkerPoolBinaryAuthorizationList[_b] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2WorkerPool.DataGoogleCloudRunV2WorkerPoolBinaryAuthorizationList", version: "16.3.0" };
function dataGoogleCloudRunV2WorkerPoolConditionsToTerraform(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 dataGoogleCloudRunV2WorkerPoolConditionsToHclTerraform(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 DataGoogleCloudRunV2WorkerPoolConditionsOutputReference 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;
}
}
// execution_reason - computed: true, optional: false, required: false
get executionReason() {
return this.getStringAttribute('execution_reason');
}
// last_transition_time - computed: true, optional: false, required: false
get lastTransitionTime() {
return this.getStringAttribute('last_transition_time');
}
// message - computed: true, optional: false, required: false
get message() {
return this.getStringAttribute('message');
}
// reason - computed: true, optional: false, required: false
get reason() {
return this.getStringAttribute('reason');
}
// revision_reason - computed: true, optional: false, required: false
get revisionReason() {
return this.getStringAttribute('revision_reason');
}
// severity - computed: true, optional: false, required: false
get severity() {
return this.getStringAttribute('severity');
}
// state - computed: true, optional: false, required: false
get state() {
return this.getStringAttribute('state');
}
// type - computed: true, optional: false, required: false
get type() {
return this.getStringAttribute('type');
}
}
exports.DataGoogleCloudRunV2WorkerPoolConditionsOutputReference = DataGoogleCloudRunV2WorkerPoolConditionsOutputReference;
_c = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2WorkerPoolConditionsOutputReference[_c] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2WorkerPool.DataGoogleCloudRunV2WorkerPoolConditionsOutputReference", version: "16.3.0" };
class DataGoogleCloudRunV2WorkerPoolConditionsList 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 DataGoogleCloudRunV2WorkerPoolConditionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleCloudRunV2WorkerPoolConditionsList = DataGoogleCloudRunV2WorkerPoolConditionsList;
_d = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2WorkerPoolConditionsList[_d] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2WorkerPool.DataGoogleCloudRunV2WorkerPoolConditionsList", version: "16.3.0" };
function dataGoogleCloudRunV2WorkerPoolInstanceSplitStatusesToTerraform(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 dataGoogleCloudRunV2WorkerPoolInstanceSplitStatusesToHclTerraform(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 DataGoogleCloudRunV2WorkerPoolInstanceSplitStatusesOutputReference 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;
}
}
// percent - computed: true, optional: false, required: false
get percent() {
return this.getNumberAttribute('percent');
}
// revision - computed: true, optional: false, required: false
get revision() {
return this.getStringAttribute('revision');
}
// type - computed: true, optional: false, required: false
get type() {
return this.getStringAttribute('type');
}
}
exports.DataGoogleCloudRunV2WorkerPoolInstanceSplitStatusesOutputReference = DataGoogleCloudRunV2WorkerPoolInstanceSplitStatusesOutputReference;
_e = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2WorkerPoolInstanceSplitStatusesOutputReference[_e] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2WorkerPool.DataGoogleCloudRunV2WorkerPoolInstanceSplitStatusesOutputReference", version: "16.3.0" };
class DataGoogleCloudRunV2WorkerPoolInstanceSplitStatusesList 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 DataGoogleCloudRunV2WorkerPoolInstanceSplitStatusesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleCloudRunV2WorkerPoolInstanceSplitStatusesList = DataGoogleCloudRunV2WorkerPoolInstanceSplitStatusesList;
_f = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2WorkerPoolInstanceSplitStatusesList[_f] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2WorkerPool.DataGoogleCloudRunV2WorkerPoolInstanceSplitStatusesList", version: "16.3.0" };
function dataGoogleCloudRunV2WorkerPoolInstanceSplitsToTerraform(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 dataGoogleCloudRunV2WorkerPoolInstanceSplitsToHclTerraform(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 DataGoogleCloudRunV2WorkerPoolInstanceSplitsOutputReference 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;
}
}
// percent - computed: true, optional: false, required: false
get percent() {
return this.getNumberAttribute('percent');
}
// revision - computed: true, optional: false, required: false
get revision() {
return this.getStringAttribute('revision');
}
// type - computed: true, optional: false, required: false
get type() {
return this.getStringAttribute('type');
}
}
exports.DataGoogleCloudRunV2WorkerPoolInstanceSplitsOutputReference = DataGoogleCloudRunV2WorkerPoolInstanceSplitsOutputReference;
_g = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2WorkerPoolInstanceSplitsOutputReference[_g] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2WorkerPool.DataGoogleCloudRunV2WorkerPoolInstanceSplitsOutputReference", version: "16.3.0" };
class DataGoogleCloudRunV2WorkerPoolInstanceSplitsList 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 DataGoogleCloudRunV2WorkerPoolInstanceSplitsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleCloudRunV2WorkerPoolInstanceSplitsList = DataGoogleCloudRunV2WorkerPoolInstanceSplitsList;
_h = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2WorkerPoolInstanceSplitsList[_h] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2WorkerPool.DataGoogleCloudRunV2WorkerPoolInstanceSplitsList", version: "16.3.0" };
function dataGoogleCloudRunV2WorkerPoolScalingToTerraform(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 dataGoogleCloudRunV2WorkerPoolScalingToHclTerraform(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 DataGoogleCloudRunV2WorkerPoolScalingOutputReference 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;
}
}
// manual_instance_count - computed: true, optional: false, required: false
get manualInstanceCount() {
return this.getNumberAttribute('manual_instance_count');
}
// max_instance_count - computed: true, optional: false, required: false
get maxInstanceCount() {
return this.getNumberAttribute('max_instance_count');
}
// min_instance_count - computed: true, optional: false, required: false
get minInstanceCount() {
return this.getNumberAttribute('min_instance_count');
}
// scaling_mode - computed: true, optional: false, required: false
get scalingMode() {
return this.getStringAttribute('scaling_mode');
}
}
exports.DataGoogleCloudRunV2WorkerPoolScalingOutputReference = DataGoogleCloudRunV2WorkerPoolScalingOutputReference;
_j = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2WorkerPoolScalingOutputReference[_j] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2WorkerPool.DataGoogleCloudRunV2WorkerPoolScalingOutputReference", version: "16.3.0" };
class DataGoogleCloudRunV2WorkerPoolScalingList 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 DataGoogleCloudRunV2WorkerPoolScalingOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleCloudRunV2WorkerPoolScalingList = DataGoogleCloudRunV2WorkerPoolScalingList;
_k = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2WorkerPoolScalingList[_k] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2WorkerPool.DataGoogleCloudRunV2WorkerPoolScalingList", version: "16.3.0" };
function dataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceSecretKeyRefToTerraform(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 dataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceSecretKeyRefToHclTerraform(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 DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceSecretKeyRefOutputReference 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;
}
}
// secret - computed: true, optional: false, required: false
get secret() {
return this.getStringAttribute('secret');
}
// version - computed: true, optional: false, required: false
get version() {
return this.getStringAttribute('version');
}
}
exports.DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceSecretKeyRefOutputReference = DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceSecretKeyRefOutputReference;
_l = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceSecretKeyRefOutputReference[_l] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2WorkerPool.DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceSecretKeyRefOutputReference", version: "16.3.0" };
class DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceSecretKeyRefList 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 DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceSecretKeyRefOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceSecretKeyRefList = DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceSecretKeyRefList;
_m = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceSecretKeyRefList[_m] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2WorkerPool.DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceSecretKeyRefList", version: "16.3.0" };
function dataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceToTerraform(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 dataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceToHclTerraform(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 DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceOutputReference 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;
// secret_key_ref - computed: true, optional: false, required: false
this._secretKeyRef = new DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceSecretKeyRefList(this, "secret_key_ref", 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 secretKeyRef() {
return this._secretKeyRef;
}
}
exports.DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceOutputReference = DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceOutputReference;
_o = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceOutputReference[_o] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2WorkerPool.DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceOutputReference", version: "16.3.0" };
class DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceList 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 DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceList = DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceList;
_p = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceList[_p] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2WorkerPool.DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceList", version: "16.3.0" };
function dataGoogleCloudRunV2WorkerPoolTemplateContainersEnvToTerraform(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 dataGoogleCloudRunV2WorkerPoolTemplateContainersEnvToHclTerraform(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 DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvOutputReference 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;
// value_source - computed: true, optional: false, required: false
this._valueSource = new DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvValueSourceList(this, "value_source", 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;
}
}
// name - computed: true, optional: false, required: false
get name() {
return this.getStringAttribute('name');
}
// value - computed: true, optional: false, required: false
get value() {
return this.getStringAttribute('value');
}
get valueSource() {
return this._valueSource;
}
}
exports.DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvOutputReference = DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvOutputReference;
_q = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvOutputReference[_q] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2WorkerPool.DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvOutputReference", version: "16.3.0" };
class DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvList 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 DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvList = DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvList;
_r = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvList[_r] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2WorkerPool.DataGoogleCloudRunV2WorkerPoolTemplateContainersEnvList", version: "16.3.0" };
function dataGoogleCloudRunV2WorkerPoolTemplateContainersResourcesToTerraform(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 dataGoogleCloudRunV2WorkerPoolTemplateContainersResourcesToHclTerraform(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 DataGoogleCloudRunV2WorkerPoolTemplateContainersResourcesOutputReference 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;
// limits - computed: true, optional: false, required: false
this._limits = new cdktf.StringMap(this, "limits");
}
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 limits() {
return this._limits;
}
}
exports.DataGoogleCloudRunV2WorkerPoolTemplateContainersResourcesOutputReference = DataGoogleCloudRunV2WorkerPoolTemplateContainersResourcesOutputReference;
_s = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2WorkerPoolTemplateContainersResourcesOutputReference[_s] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2WorkerPool.DataGoogleCloudRunV2WorkerPoolTemplateContainersResourcesOutputReference", version: "16.3.0" };
class DataGoogleCloudRunV2WorkerPoolTemplateContainersResourcesList 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 DataGoogleCloudRunV2WorkerPoolTemplateContainersResourcesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleCloudRunV2WorkerPoolTemplateContainersResourcesList = DataGoogleCloudRunV2WorkerPoolTemplateContainersResourcesList;
_t = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2WorkerPoolTemplateContainersResourcesList[_t] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2WorkerPool.DataGoogleCloudRunV2WorkerPoolTemplateContainersResourcesList", version: "16.3.0" };
function dataGoogleCloudRunV2WorkerPoolTemplateContainersVolumeMountsToTerraform(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 dataGoogleCloudRunV2WorkerPoolTemplateContainersVolumeMountsToHclTerraform(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 DataGoogleCloudRunV2WorkerPoolTemplateContainersVolumeMountsOutputReference 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;
}
}
// mount_path - computed: true, optional: false, required: false
get mountPath() {
return this.getStringAttribute('mount_path');
}
// name - computed: true, optional: false, required: false
get name() {
return this.getStringAttribute('name');
}
}
exports.DataGoogleCloudRunV2WorkerPoolTemplateContainersVolumeMountsOutputReference = DataGoogleCloudRunV2WorkerPoolTemplateContainersVolumeMountsOutputReference;
_u = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2WorkerPoolTemplateContainersVolumeMountsOutputReference[_u] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2WorkerPool.DataGoogleCloudRunV2WorkerPoolTemplateContainersVolumeMountsOutputReference", version: "16.3.0" };
class DataGoogleCloudRunV2WorkerPoolTemplateContainersVolumeMountsList 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(terra