@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
761 lines • 508 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, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DataGoogleCloudRunV2ServiceTemplateVolumesCloudSqlInstanceList = exports.DataGoogleCloudRunV2ServiceTemplateVolumesCloudSqlInstanceOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateScalingList = exports.DataGoogleCloudRunV2ServiceTemplateScalingOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateNodeSelectorList = exports.DataGoogleCloudRunV2ServiceTemplateNodeSelectorOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateContainersList = exports.DataGoogleCloudRunV2ServiceTemplateContainersOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateContainersVolumeMountsList = exports.DataGoogleCloudRunV2ServiceTemplateContainersVolumeMountsOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateContainersStartupProbeList = exports.DataGoogleCloudRunV2ServiceTemplateContainersStartupProbeOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateContainersStartupProbeTcpSocketList = exports.DataGoogleCloudRunV2ServiceTemplateContainersStartupProbeTcpSocketOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateContainersStartupProbeHttpGetList = exports.DataGoogleCloudRunV2ServiceTemplateContainersStartupProbeHttpGetOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateContainersStartupProbeHttpGetHttpHeadersList = exports.DataGoogleCloudRunV2ServiceTemplateContainersStartupProbeHttpGetHttpHeadersOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateContainersStartupProbeGrpcList = exports.DataGoogleCloudRunV2ServiceTemplateContainersStartupProbeGrpcOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateContainersResourcesList = exports.DataGoogleCloudRunV2ServiceTemplateContainersResourcesOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateContainersPortsList = exports.DataGoogleCloudRunV2ServiceTemplateContainersPortsOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeList = exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketList = exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetList = exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersList = exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcList = exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateContainersEnvList = exports.DataGoogleCloudRunV2ServiceTemplateContainersEnvOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceList = exports.DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefList = exports.DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateContainersBuildInfoList = exports.DataGoogleCloudRunV2ServiceTemplateContainersBuildInfoOutputReference = exports.DataGoogleCloudRunV2ServiceScalingList = exports.DataGoogleCloudRunV2ServiceScalingOutputReference = exports.DataGoogleCloudRunV2ServiceConditionsList = exports.DataGoogleCloudRunV2ServiceConditionsOutputReference = exports.DataGoogleCloudRunV2ServiceBuildConfigList = exports.DataGoogleCloudRunV2ServiceBuildConfigOutputReference = exports.DataGoogleCloudRunV2ServiceBinaryAuthorizationList = exports.DataGoogleCloudRunV2ServiceBinaryAuthorizationOutputReference = void 0;
exports.DataGoogleCloudRunV2Service = exports.DataGoogleCloudRunV2ServiceTrafficStatusesList = exports.DataGoogleCloudRunV2ServiceTrafficStatusesOutputReference = exports.DataGoogleCloudRunV2ServiceTrafficList = exports.DataGoogleCloudRunV2ServiceTrafficOutputReference = exports.DataGoogleCloudRunV2ServiceTerminalConditionList = exports.DataGoogleCloudRunV2ServiceTerminalConditionOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateList = exports.DataGoogleCloudRunV2ServiceTemplateOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateVpcAccessList = exports.DataGoogleCloudRunV2ServiceTemplateVpcAccessOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateVpcAccessNetworkInterfacesList = exports.DataGoogleCloudRunV2ServiceTemplateVpcAccessNetworkInterfacesOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateVolumesList = exports.DataGoogleCloudRunV2ServiceTemplateVolumesOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateVolumesSecretList = exports.DataGoogleCloudRunV2ServiceTemplateVolumesSecretOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateVolumesSecretItemsList = exports.DataGoogleCloudRunV2ServiceTemplateVolumesSecretItemsOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateVolumesNfsList = exports.DataGoogleCloudRunV2ServiceTemplateVolumesNfsOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateVolumesGcsList = exports.DataGoogleCloudRunV2ServiceTemplateVolumesGcsOutputReference = exports.DataGoogleCloudRunV2ServiceTemplateVolumesEmptyDirList = exports.DataGoogleCloudRunV2ServiceTemplateVolumesEmptyDirOutputReference = void 0;
exports.dataGoogleCloudRunV2ServiceBinaryAuthorizationToTerraform = dataGoogleCloudRunV2ServiceBinaryAuthorizationToTerraform;
exports.dataGoogleCloudRunV2ServiceBinaryAuthorizationToHclTerraform = dataGoogleCloudRunV2ServiceBinaryAuthorizationToHclTerraform;
exports.dataGoogleCloudRunV2ServiceBuildConfigToTerraform = dataGoogleCloudRunV2ServiceBuildConfigToTerraform;
exports.dataGoogleCloudRunV2ServiceBuildConfigToHclTerraform = dataGoogleCloudRunV2ServiceBuildConfigToHclTerraform;
exports.dataGoogleCloudRunV2ServiceConditionsToTerraform = dataGoogleCloudRunV2ServiceConditionsToTerraform;
exports.dataGoogleCloudRunV2ServiceConditionsToHclTerraform = dataGoogleCloudRunV2ServiceConditionsToHclTerraform;
exports.dataGoogleCloudRunV2ServiceScalingToTerraform = dataGoogleCloudRunV2ServiceScalingToTerraform;
exports.dataGoogleCloudRunV2ServiceScalingToHclTerraform = dataGoogleCloudRunV2ServiceScalingToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersBuildInfoToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersBuildInfoToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersBuildInfoToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersBuildInfoToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersEnvToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersEnvToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersEnvToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersEnvToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersPortsToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersPortsToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersPortsToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersPortsToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersResourcesToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersResourcesToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersResourcesToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersResourcesToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeGrpcToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeGrpcToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeGrpcToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeGrpcToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeHttpGetHttpHeadersToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeHttpGetHttpHeadersToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeHttpGetHttpHeadersToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeHttpGetHttpHeadersToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeHttpGetToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeHttpGetToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeHttpGetToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeHttpGetToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeTcpSocketToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeTcpSocketToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeTcpSocketToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeTcpSocketToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersVolumeMountsToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersVolumeMountsToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersVolumeMountsToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersVolumeMountsToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateContainersToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateNodeSelectorToTerraform = dataGoogleCloudRunV2ServiceTemplateNodeSelectorToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateNodeSelectorToHclTerraform = dataGoogleCloudRunV2ServiceTemplateNodeSelectorToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateScalingToTerraform = dataGoogleCloudRunV2ServiceTemplateScalingToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateScalingToHclTerraform = dataGoogleCloudRunV2ServiceTemplateScalingToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateVolumesCloudSqlInstanceToTerraform = dataGoogleCloudRunV2ServiceTemplateVolumesCloudSqlInstanceToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateVolumesCloudSqlInstanceToHclTerraform = dataGoogleCloudRunV2ServiceTemplateVolumesCloudSqlInstanceToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateVolumesEmptyDirToTerraform = dataGoogleCloudRunV2ServiceTemplateVolumesEmptyDirToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateVolumesEmptyDirToHclTerraform = dataGoogleCloudRunV2ServiceTemplateVolumesEmptyDirToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateVolumesGcsToTerraform = dataGoogleCloudRunV2ServiceTemplateVolumesGcsToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateVolumesGcsToHclTerraform = dataGoogleCloudRunV2ServiceTemplateVolumesGcsToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateVolumesNfsToTerraform = dataGoogleCloudRunV2ServiceTemplateVolumesNfsToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateVolumesNfsToHclTerraform = dataGoogleCloudRunV2ServiceTemplateVolumesNfsToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateVolumesSecretItemsToTerraform = dataGoogleCloudRunV2ServiceTemplateVolumesSecretItemsToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateVolumesSecretItemsToHclTerraform = dataGoogleCloudRunV2ServiceTemplateVolumesSecretItemsToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateVolumesSecretToTerraform = dataGoogleCloudRunV2ServiceTemplateVolumesSecretToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateVolumesSecretToHclTerraform = dataGoogleCloudRunV2ServiceTemplateVolumesSecretToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateVolumesToTerraform = dataGoogleCloudRunV2ServiceTemplateVolumesToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateVolumesToHclTerraform = dataGoogleCloudRunV2ServiceTemplateVolumesToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateVpcAccessNetworkInterfacesToTerraform = dataGoogleCloudRunV2ServiceTemplateVpcAccessNetworkInterfacesToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateVpcAccessNetworkInterfacesToHclTerraform = dataGoogleCloudRunV2ServiceTemplateVpcAccessNetworkInterfacesToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateVpcAccessToTerraform = dataGoogleCloudRunV2ServiceTemplateVpcAccessToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateVpcAccessToHclTerraform = dataGoogleCloudRunV2ServiceTemplateVpcAccessToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateToTerraform = dataGoogleCloudRunV2ServiceTemplateToTerraform;
exports.dataGoogleCloudRunV2ServiceTemplateToHclTerraform = dataGoogleCloudRunV2ServiceTemplateToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTerminalConditionToTerraform = dataGoogleCloudRunV2ServiceTerminalConditionToTerraform;
exports.dataGoogleCloudRunV2ServiceTerminalConditionToHclTerraform = dataGoogleCloudRunV2ServiceTerminalConditionToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTrafficToTerraform = dataGoogleCloudRunV2ServiceTrafficToTerraform;
exports.dataGoogleCloudRunV2ServiceTrafficToHclTerraform = dataGoogleCloudRunV2ServiceTrafficToHclTerraform;
exports.dataGoogleCloudRunV2ServiceTrafficStatusesToTerraform = dataGoogleCloudRunV2ServiceTrafficStatusesToTerraform;
exports.dataGoogleCloudRunV2ServiceTrafficStatusesToHclTerraform = dataGoogleCloudRunV2ServiceTrafficStatusesToHclTerraform;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function dataGoogleCloudRunV2ServiceBinaryAuthorizationToTerraform(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 dataGoogleCloudRunV2ServiceBinaryAuthorizationToHclTerraform(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 DataGoogleCloudRunV2ServiceBinaryAuthorizationOutputReference 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.DataGoogleCloudRunV2ServiceBinaryAuthorizationOutputReference = DataGoogleCloudRunV2ServiceBinaryAuthorizationOutputReference;
_a = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceBinaryAuthorizationOutputReference[_a] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceBinaryAuthorizationOutputReference", version: "14.35.0" };
class DataGoogleCloudRunV2ServiceBinaryAuthorizationList 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 DataGoogleCloudRunV2ServiceBinaryAuthorizationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleCloudRunV2ServiceBinaryAuthorizationList = DataGoogleCloudRunV2ServiceBinaryAuthorizationList;
_b = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceBinaryAuthorizationList[_b] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceBinaryAuthorizationList", version: "14.35.0" };
function dataGoogleCloudRunV2ServiceBuildConfigToTerraform(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 dataGoogleCloudRunV2ServiceBuildConfigToHclTerraform(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 DataGoogleCloudRunV2ServiceBuildConfigOutputReference 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;
// environment_variables - computed: true, optional: false, required: false
this._environmentVariables = new cdktf.StringMap(this, "environment_variables");
}
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;
}
}
// base_image - computed: true, optional: false, required: false
get baseImage() {
return this.getStringAttribute('base_image');
}
// enable_automatic_updates - computed: true, optional: false, required: false
get enableAutomaticUpdates() {
return this.getBooleanAttribute('enable_automatic_updates');
}
get environmentVariables() {
return this._environmentVariables;
}
// function_target - computed: true, optional: false, required: false
get functionTarget() {
return this.getStringAttribute('function_target');
}
// image_uri - computed: true, optional: false, required: false
get imageUri() {
return this.getStringAttribute('image_uri');
}
// name - computed: true, optional: false, required: false
get name() {
return this.getStringAttribute('name');
}
// service_account - computed: true, optional: false, required: false
get serviceAccount() {
return this.getStringAttribute('service_account');
}
// source_location - computed: true, optional: false, required: false
get sourceLocation() {
return this.getStringAttribute('source_location');
}
// worker_pool - computed: true, optional: false, required: false
get workerPool() {
return this.getStringAttribute('worker_pool');
}
}
exports.DataGoogleCloudRunV2ServiceBuildConfigOutputReference = DataGoogleCloudRunV2ServiceBuildConfigOutputReference;
_c = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceBuildConfigOutputReference[_c] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceBuildConfigOutputReference", version: "14.35.0" };
class DataGoogleCloudRunV2ServiceBuildConfigList 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 DataGoogleCloudRunV2ServiceBuildConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleCloudRunV2ServiceBuildConfigList = DataGoogleCloudRunV2ServiceBuildConfigList;
_d = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceBuildConfigList[_d] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceBuildConfigList", version: "14.35.0" };
function dataGoogleCloudRunV2ServiceConditionsToTerraform(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 dataGoogleCloudRunV2ServiceConditionsToHclTerraform(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 DataGoogleCloudRunV2ServiceConditionsOutputReference 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.DataGoogleCloudRunV2ServiceConditionsOutputReference = DataGoogleCloudRunV2ServiceConditionsOutputReference;
_e = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceConditionsOutputReference[_e] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceConditionsOutputReference", version: "14.35.0" };
class DataGoogleCloudRunV2ServiceConditionsList 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 DataGoogleCloudRunV2ServiceConditionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleCloudRunV2ServiceConditionsList = DataGoogleCloudRunV2ServiceConditionsList;
_f = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceConditionsList[_f] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceConditionsList", version: "14.35.0" };
function dataGoogleCloudRunV2ServiceScalingToTerraform(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 dataGoogleCloudRunV2ServiceScalingToHclTerraform(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 DataGoogleCloudRunV2ServiceScalingOutputReference 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');
}
// 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.DataGoogleCloudRunV2ServiceScalingOutputReference = DataGoogleCloudRunV2ServiceScalingOutputReference;
_g = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceScalingOutputReference[_g] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceScalingOutputReference", version: "14.35.0" };
class DataGoogleCloudRunV2ServiceScalingList 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 DataGoogleCloudRunV2ServiceScalingOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleCloudRunV2ServiceScalingList = DataGoogleCloudRunV2ServiceScalingList;
_h = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceScalingList[_h] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceScalingList", version: "14.35.0" };
function dataGoogleCloudRunV2ServiceTemplateContainersBuildInfoToTerraform(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 dataGoogleCloudRunV2ServiceTemplateContainersBuildInfoToHclTerraform(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 DataGoogleCloudRunV2ServiceTemplateContainersBuildInfoOutputReference 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;
}
}
// function_target - computed: true, optional: false, required: false
get functionTarget() {
return this.getStringAttribute('function_target');
}
// source_location - computed: true, optional: false, required: false
get sourceLocation() {
return this.getStringAttribute('source_location');
}
}
exports.DataGoogleCloudRunV2ServiceTemplateContainersBuildInfoOutputReference = DataGoogleCloudRunV2ServiceTemplateContainersBuildInfoOutputReference;
_j = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceTemplateContainersBuildInfoOutputReference[_j] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceTemplateContainersBuildInfoOutputReference", version: "14.35.0" };
class DataGoogleCloudRunV2ServiceTemplateContainersBuildInfoList 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 DataGoogleCloudRunV2ServiceTemplateContainersBuildInfoOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleCloudRunV2ServiceTemplateContainersBuildInfoList = DataGoogleCloudRunV2ServiceTemplateContainersBuildInfoList;
_k = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceTemplateContainersBuildInfoList[_k] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceTemplateContainersBuildInfoList", version: "14.35.0" };
function dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefToTerraform(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 dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefToHclTerraform(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 DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefOutputReference 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.DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefOutputReference = DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefOutputReference;
_l = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefOutputReference[_l] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefOutputReference", version: "14.35.0" };
class DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefList 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 DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefList = DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefList;
_m = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefList[_m] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefList", version: "14.35.0" };
function dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceToTerraform(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 dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceToHclTerraform(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 DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceOutputReference 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 DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefList(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.DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceOutputReference = DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceOutputReference;
_o = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceOutputReference[_o] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceOutputReference", version: "14.35.0" };
class DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceList 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 DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceList = DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceList;
_p = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceList[_p] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceList", version: "14.35.0" };
function dataGoogleCloudRunV2ServiceTemplateContainersEnvToTerraform(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 dataGoogleCloudRunV2ServiceTemplateContainersEnvToHclTerraform(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 DataGoogleCloudRunV2ServiceTemplateContainersEnvOutputReference 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 DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceList(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.DataGoogleCloudRunV2ServiceTemplateContainersEnvOutputReference = DataGoogleCloudRunV2ServiceTemplateContainersEnvOutputReference;
_q = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceTemplateContainersEnvOutputReference[_q] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceTemplateContainersEnvOutputReference", version: "14.35.0" };
class DataGoogleCloudRunV2ServiceTemplateContainersEnvList 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 DataGoogleCloudRunV2ServiceTemplateContainersEnvOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleCloudRunV2ServiceTemplateContainersEnvList = DataGoogleCloudRunV2ServiceTemplateContainersEnvList;
_r = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceTemplateContainersEnvList[_r] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceTemplateContainersEnvList", version: "14.35.0" };
function dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbe