@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
750 lines • 447 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;
Object.defineProperty(exports, "__esModule", { value: true });
exports.dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeGrpcToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeGrpcToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateContainersResourcesList = exports.DataGoogleCloudRunV2ServiceTemplateContainersResourcesOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateContainersResourcesToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateContainersResourcesToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateContainersPortsList = exports.DataGoogleCloudRunV2ServiceTemplateContainersPortsOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateContainersPortsToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateContainersPortsToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeList = exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketList = exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetList = exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersList = exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcList = exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateContainersEnvList = exports.DataGoogleCloudRunV2ServiceTemplateContainersEnvOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateContainersEnvToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateContainersEnvToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceList = exports.DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefList = exports.DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefToTerraform = exports.DataGoogleCloudRunV2ServiceConditionsList = exports.DataGoogleCloudRunV2ServiceConditionsOutputReference = exports.dataGoogleCloudRunV2ServiceConditionsToHclTerraform = exports.dataGoogleCloudRunV2ServiceConditionsToTerraform = exports.DataGoogleCloudRunV2ServiceBinaryAuthorizationList = exports.DataGoogleCloudRunV2ServiceBinaryAuthorizationOutputReference = exports.dataGoogleCloudRunV2ServiceBinaryAuthorizationToHclTerraform = exports.dataGoogleCloudRunV2ServiceBinaryAuthorizationToTerraform = void 0;
exports.DataGoogleCloudRunV2ServiceTemplateVolumesSecretList = exports.DataGoogleCloudRunV2ServiceTemplateVolumesSecretOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateVolumesSecretToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateVolumesSecretToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateVolumesSecretItemsList = exports.DataGoogleCloudRunV2ServiceTemplateVolumesSecretItemsOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateVolumesSecretItemsToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateVolumesSecretItemsToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateVolumesNfsList = exports.DataGoogleCloudRunV2ServiceTemplateVolumesNfsOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateVolumesNfsToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateVolumesNfsToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateVolumesGcsList = exports.DataGoogleCloudRunV2ServiceTemplateVolumesGcsOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateVolumesGcsToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateVolumesGcsToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateVolumesCloudSqlInstanceList = exports.DataGoogleCloudRunV2ServiceTemplateVolumesCloudSqlInstanceOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateVolumesCloudSqlInstanceToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateVolumesCloudSqlInstanceToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateScalingList = exports.DataGoogleCloudRunV2ServiceTemplateScalingOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateScalingToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateScalingToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateContainersList = exports.DataGoogleCloudRunV2ServiceTemplateContainersOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateContainersToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateContainersToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateContainersVolumeMountsList = exports.DataGoogleCloudRunV2ServiceTemplateContainersVolumeMountsOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateContainersVolumeMountsToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateContainersVolumeMountsToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateContainersStartupProbeList = exports.DataGoogleCloudRunV2ServiceTemplateContainersStartupProbeOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateContainersStartupProbeTcpSocketList = exports.DataGoogleCloudRunV2ServiceTemplateContainersStartupProbeTcpSocketOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeTcpSocketToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeTcpSocketToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateContainersStartupProbeHttpGetList = exports.DataGoogleCloudRunV2ServiceTemplateContainersStartupProbeHttpGetOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeHttpGetToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeHttpGetToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateContainersStartupProbeHttpGetHttpHeadersList = exports.DataGoogleCloudRunV2ServiceTemplateContainersStartupProbeHttpGetHttpHeadersOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeHttpGetHttpHeadersToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateContainersStartupProbeHttpGetHttpHeadersToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateContainersStartupProbeGrpcList = exports.DataGoogleCloudRunV2ServiceTemplateContainersStartupProbeGrpcOutputReference = void 0;
exports.DataGoogleCloudRunV2Service = exports.DataGoogleCloudRunV2ServiceTrafficStatusesList = exports.DataGoogleCloudRunV2ServiceTrafficStatusesOutputReference = exports.dataGoogleCloudRunV2ServiceTrafficStatusesToHclTerraform = exports.dataGoogleCloudRunV2ServiceTrafficStatusesToTerraform = exports.DataGoogleCloudRunV2ServiceTrafficList = exports.DataGoogleCloudRunV2ServiceTrafficOutputReference = exports.dataGoogleCloudRunV2ServiceTrafficToHclTerraform = exports.dataGoogleCloudRunV2ServiceTrafficToTerraform = exports.DataGoogleCloudRunV2ServiceTerminalConditionList = exports.DataGoogleCloudRunV2ServiceTerminalConditionOutputReference = exports.dataGoogleCloudRunV2ServiceTerminalConditionToHclTerraform = exports.dataGoogleCloudRunV2ServiceTerminalConditionToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateList = exports.DataGoogleCloudRunV2ServiceTemplateOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateVpcAccessList = exports.DataGoogleCloudRunV2ServiceTemplateVpcAccessOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateVpcAccessToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateVpcAccessToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateVpcAccessNetworkInterfacesList = exports.DataGoogleCloudRunV2ServiceTemplateVpcAccessNetworkInterfacesOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateVpcAccessNetworkInterfacesToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateVpcAccessNetworkInterfacesToTerraform = exports.DataGoogleCloudRunV2ServiceTemplateVolumesList = exports.DataGoogleCloudRunV2ServiceTemplateVolumesOutputReference = exports.dataGoogleCloudRunV2ServiceTemplateVolumesToHclTerraform = exports.dataGoogleCloudRunV2ServiceTemplateVolumesToTerraform = void 0;
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 {};
}
exports.dataGoogleCloudRunV2ServiceBinaryAuthorizationToTerraform = dataGoogleCloudRunV2ServiceBinaryAuthorizationToTerraform;
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;
}
exports.dataGoogleCloudRunV2ServiceBinaryAuthorizationToHclTerraform = dataGoogleCloudRunV2ServiceBinaryAuthorizationToHclTerraform;
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.3.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.3.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 {};
}
exports.dataGoogleCloudRunV2ServiceConditionsToTerraform = dataGoogleCloudRunV2ServiceConditionsToTerraform;
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;
}
exports.dataGoogleCloudRunV2ServiceConditionsToHclTerraform = dataGoogleCloudRunV2ServiceConditionsToHclTerraform;
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;
_c = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceConditionsOutputReference[_c] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceConditionsOutputReference", version: "14.3.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;
_d = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceConditionsList[_d] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceConditionsList", version: "14.3.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 {};
}
exports.dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefToTerraform;
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;
}
exports.dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefToHclTerraform;
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;
_e = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefOutputReference[_e] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefOutputReference", version: "14.3.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;
_f = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefList[_f] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceSecretKeyRefList", version: "14.3.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 {};
}
exports.dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceToTerraform;
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;
}
exports.dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceToHclTerraform;
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;
_g = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceOutputReference[_g] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceOutputReference", version: "14.3.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;
_h = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceList[_h] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceTemplateContainersEnvValueSourceList", version: "14.3.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 {};
}
exports.dataGoogleCloudRunV2ServiceTemplateContainersEnvToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersEnvToTerraform;
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;
}
exports.dataGoogleCloudRunV2ServiceTemplateContainersEnvToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersEnvToHclTerraform;
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;
_j = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceTemplateContainersEnvOutputReference[_j] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceTemplateContainersEnvOutputReference", version: "14.3.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;
_k = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceTemplateContainersEnvList[_k] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceTemplateContainersEnvList", version: "14.3.0" };
function dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcToTerraform(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 {};
}
exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcToTerraform;
function dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcToHclTerraform(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;
}
exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcToHclTerraform;
class DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcOutputReference 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;
}
}
// port - computed: true, optional: false, required: false
get port() {
return this.getNumberAttribute('port');
}
// service - computed: true, optional: false, required: false
get service() {
return this.getStringAttribute('service');
}
}
exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcOutputReference = DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcOutputReference;
_l = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcOutputReference[_l] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcOutputReference", version: "14.3.0" };
class DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcList 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 DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcList = DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcList;
_m = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcList[_m] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeGrpcList", version: "14.3.0" };
function dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersToTerraform(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 {};
}
exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersToTerraform;
function dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersToHclTerraform(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;
}
exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersToHclTerraform;
class DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersOutputReference 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;
}
}
// 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');
}
}
exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersOutputReference = DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersOutputReference;
_o = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersOutputReference[_o] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersOutputReference", version: "14.3.0" };
class DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersList 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 DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersList = DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersList;
_p = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersList[_p] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersList", version: "14.3.0" };
function dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetToTerraform(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 {};
}
exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetToTerraform;
function dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetToHclTerraform(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;
}
exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetToHclTerraform;
class DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetOutputReference 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;
// http_headers - computed: true, optional: false, required: false
this._httpHeaders = new DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetHttpHeadersList(this, "http_headers", 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 httpHeaders() {
return this._httpHeaders;
}
// path - computed: true, optional: false, required: false
get path() {
return this.getStringAttribute('path');
}
// port - computed: true, optional: false, required: false
get port() {
return this.getNumberAttribute('port');
}
}
exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetOutputReference = DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetOutputReference;
_q = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetOutputReference[_q] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetOutputReference", version: "14.3.0" };
class DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetList 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 DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetList = DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetList;
_r = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetList[_r] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeHttpGetList", version: "14.3.0" };
function dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketToTerraform(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 {};
}
exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketToTerraform = dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketToTerraform;
function dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketToHclTerraform(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;
}
exports.dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketToHclTerraform = dataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketToHclTerraform;
class DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketOutputReference 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;
}
}
// port - computed: true, optional: false, required: false
get port() {
return this.getNumberAttribute('port');
}
}
exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketOutputReference = DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketOutputReference;
_s = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketOutputReference[_s] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketOutputReference", version: "14.3.0" };
class DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketList 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 DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketList = DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketList;
_t = JSII_RTTI_SYMBOL_1;
DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeTcpSocketList[_t] = { fqn: "@cdktf/provider-google.dataGoogleCloudRunV2Service.DataGoogleCloudRunV2ServiceTemplateContainersLivenessProbeT