@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
839 lines • 522 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;
Object.defineProperty(exports, "__esModule", { value: true });
exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesGatewayServiceMeshToHclTerraform = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesGatewayServiceMeshToTerraform = exports.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesGatewayServiceMeshRouteDestinationsOutputReference = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesGatewayServiceMeshRouteDestinationsToHclTerraform = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesGatewayServiceMeshRouteDestinationsToTerraform = exports.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigCloudRunOutputReference = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigCloudRunToHclTerraform = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigCloudRunToTerraform = exports.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentOutputReference = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentToHclTerraform = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentToTerraform = exports.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsList = exports.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsOutputReference = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsToHclTerraform = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsToTerraform = exports.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPredeployOutputReference = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPredeployToHclTerraform = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPredeployToTerraform = exports.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPostdeployOutputReference = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPostdeployToHclTerraform = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPostdeployToTerraform = exports.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentOutputReference = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentToHclTerraform = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentToTerraform = exports.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeployOutputReference = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeployToHclTerraform = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeployToTerraform = exports.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeployOutputReference = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeployToHclTerraform = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeployToTerraform = exports.ClouddeployDeliveryPipelineSerialPipelineStagesDeployParametersList = exports.ClouddeployDeliveryPipelineSerialPipelineStagesDeployParametersOutputReference = exports.clouddeployDeliveryPipelineSerialPipelineStagesDeployParametersToHclTerraform = exports.clouddeployDeliveryPipelineSerialPipelineStagesDeployParametersToTerraform = exports.ClouddeployDeliveryPipelineConditionList = exports.ClouddeployDeliveryPipelineConditionOutputReference = exports.clouddeployDeliveryPipelineConditionToHclTerraform = exports.clouddeployDeliveryPipelineConditionToTerraform = exports.ClouddeployDeliveryPipelineConditionTargetsTypeConditionList = exports.ClouddeployDeliveryPipelineConditionTargetsTypeConditionOutputReference = exports.clouddeployDeliveryPipelineConditionTargetsTypeConditionToHclTerraform = exports.clouddeployDeliveryPipelineConditionTargetsTypeConditionToTerraform = exports.ClouddeployDeliveryPipelineConditionTargetsPresentConditionList = exports.ClouddeployDeliveryPipelineConditionTargetsPresentConditionOutputReference = exports.clouddeployDeliveryPipelineConditionTargetsPresentConditionToHclTerraform = exports.clouddeployDeliveryPipelineConditionTargetsPresentConditionToTerraform = exports.ClouddeployDeliveryPipelineConditionPipelineReadyConditionList = exports.ClouddeployDeliveryPipelineConditionPipelineReadyConditionOutputReference = exports.clouddeployDeliveryPipelineConditionPipelineReadyConditionToHclTerraform = exports.clouddeployDeliveryPipelineConditionPipelineReadyConditionToTerraform = void 0;
exports.ClouddeployDeliveryPipeline = exports.ClouddeployDeliveryPipelineTimeoutsOutputReference = exports.clouddeployDeliveryPipelineTimeoutsToHclTerraform = exports.clouddeployDeliveryPipelineTimeoutsToTerraform = exports.ClouddeployDeliveryPipelineSerialPipelineOutputReference = exports.clouddeployDeliveryPipelineSerialPipelineToHclTerraform = exports.clouddeployDeliveryPipelineSerialPipelineToTerraform = exports.ClouddeployDeliveryPipelineSerialPipelineStagesList = exports.ClouddeployDeliveryPipelineSerialPipelineStagesOutputReference = exports.clouddeployDeliveryPipelineSerialPipelineStagesToHclTerraform = exports.clouddeployDeliveryPipelineSerialPipelineStagesToTerraform = exports.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyOutputReference = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyToHclTerraform = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyToTerraform = exports.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyStandardOutputReference = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyStandardToHclTerraform = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyStandardToTerraform = exports.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyStandardPredeployOutputReference = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyStandardPredeployToHclTerraform = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyStandardPredeployToTerraform = exports.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyStandardPostdeployOutputReference = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyStandardPostdeployToHclTerraform = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyStandardPostdeployToTerraform = exports.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryOutputReference = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryToHclTerraform = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryToTerraform = exports.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigOutputReference = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigToHclTerraform = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigToTerraform = exports.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesOutputReference = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesToHclTerraform = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesToTerraform = exports.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesServiceNetworkingOutputReference = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesServiceNetworkingToHclTerraform = exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesServiceNetworkingToTerraform = exports.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryRuntimeConfigKubernetesGatewayServiceMeshOutputReference = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function clouddeployDeliveryPipelineConditionPipelineReadyConditionToTerraform(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.clouddeployDeliveryPipelineConditionPipelineReadyConditionToTerraform = clouddeployDeliveryPipelineConditionPipelineReadyConditionToTerraform;
function clouddeployDeliveryPipelineConditionPipelineReadyConditionToHclTerraform(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.clouddeployDeliveryPipelineConditionPipelineReadyConditionToHclTerraform = clouddeployDeliveryPipelineConditionPipelineReadyConditionToHclTerraform;
class ClouddeployDeliveryPipelineConditionPipelineReadyConditionOutputReference 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;
}
}
// status - computed: true, optional: false, required: false
get status() {
return this.getBooleanAttribute('status');
}
// update_time - computed: true, optional: false, required: false
get updateTime() {
return this.getStringAttribute('update_time');
}
}
exports.ClouddeployDeliveryPipelineConditionPipelineReadyConditionOutputReference = ClouddeployDeliveryPipelineConditionPipelineReadyConditionOutputReference;
_a = JSII_RTTI_SYMBOL_1;
ClouddeployDeliveryPipelineConditionPipelineReadyConditionOutputReference[_a] = { fqn: "@cdktf/provider-google.clouddeployDeliveryPipeline.ClouddeployDeliveryPipelineConditionPipelineReadyConditionOutputReference", version: "14.12.0" };
class ClouddeployDeliveryPipelineConditionPipelineReadyConditionList 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 ClouddeployDeliveryPipelineConditionPipelineReadyConditionOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.ClouddeployDeliveryPipelineConditionPipelineReadyConditionList = ClouddeployDeliveryPipelineConditionPipelineReadyConditionList;
_b = JSII_RTTI_SYMBOL_1;
ClouddeployDeliveryPipelineConditionPipelineReadyConditionList[_b] = { fqn: "@cdktf/provider-google.clouddeployDeliveryPipeline.ClouddeployDeliveryPipelineConditionPipelineReadyConditionList", version: "14.12.0" };
function clouddeployDeliveryPipelineConditionTargetsPresentConditionToTerraform(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.clouddeployDeliveryPipelineConditionTargetsPresentConditionToTerraform = clouddeployDeliveryPipelineConditionTargetsPresentConditionToTerraform;
function clouddeployDeliveryPipelineConditionTargetsPresentConditionToHclTerraform(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.clouddeployDeliveryPipelineConditionTargetsPresentConditionToHclTerraform = clouddeployDeliveryPipelineConditionTargetsPresentConditionToHclTerraform;
class ClouddeployDeliveryPipelineConditionTargetsPresentConditionOutputReference 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;
}
}
// missing_targets - computed: true, optional: false, required: false
get missingTargets() {
return this.getListAttribute('missing_targets');
}
// status - computed: true, optional: false, required: false
get status() {
return this.getBooleanAttribute('status');
}
// update_time - computed: true, optional: false, required: false
get updateTime() {
return this.getStringAttribute('update_time');
}
}
exports.ClouddeployDeliveryPipelineConditionTargetsPresentConditionOutputReference = ClouddeployDeliveryPipelineConditionTargetsPresentConditionOutputReference;
_c = JSII_RTTI_SYMBOL_1;
ClouddeployDeliveryPipelineConditionTargetsPresentConditionOutputReference[_c] = { fqn: "@cdktf/provider-google.clouddeployDeliveryPipeline.ClouddeployDeliveryPipelineConditionTargetsPresentConditionOutputReference", version: "14.12.0" };
class ClouddeployDeliveryPipelineConditionTargetsPresentConditionList 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 ClouddeployDeliveryPipelineConditionTargetsPresentConditionOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.ClouddeployDeliveryPipelineConditionTargetsPresentConditionList = ClouddeployDeliveryPipelineConditionTargetsPresentConditionList;
_d = JSII_RTTI_SYMBOL_1;
ClouddeployDeliveryPipelineConditionTargetsPresentConditionList[_d] = { fqn: "@cdktf/provider-google.clouddeployDeliveryPipeline.ClouddeployDeliveryPipelineConditionTargetsPresentConditionList", version: "14.12.0" };
function clouddeployDeliveryPipelineConditionTargetsTypeConditionToTerraform(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.clouddeployDeliveryPipelineConditionTargetsTypeConditionToTerraform = clouddeployDeliveryPipelineConditionTargetsTypeConditionToTerraform;
function clouddeployDeliveryPipelineConditionTargetsTypeConditionToHclTerraform(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.clouddeployDeliveryPipelineConditionTargetsTypeConditionToHclTerraform = clouddeployDeliveryPipelineConditionTargetsTypeConditionToHclTerraform;
class ClouddeployDeliveryPipelineConditionTargetsTypeConditionOutputReference 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;
}
}
// error_details - computed: true, optional: false, required: false
get errorDetails() {
return this.getStringAttribute('error_details');
}
// status - computed: true, optional: false, required: false
get status() {
return this.getBooleanAttribute('status');
}
}
exports.ClouddeployDeliveryPipelineConditionTargetsTypeConditionOutputReference = ClouddeployDeliveryPipelineConditionTargetsTypeConditionOutputReference;
_e = JSII_RTTI_SYMBOL_1;
ClouddeployDeliveryPipelineConditionTargetsTypeConditionOutputReference[_e] = { fqn: "@cdktf/provider-google.clouddeployDeliveryPipeline.ClouddeployDeliveryPipelineConditionTargetsTypeConditionOutputReference", version: "14.12.0" };
class ClouddeployDeliveryPipelineConditionTargetsTypeConditionList 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 ClouddeployDeliveryPipelineConditionTargetsTypeConditionOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.ClouddeployDeliveryPipelineConditionTargetsTypeConditionList = ClouddeployDeliveryPipelineConditionTargetsTypeConditionList;
_f = JSII_RTTI_SYMBOL_1;
ClouddeployDeliveryPipelineConditionTargetsTypeConditionList[_f] = { fqn: "@cdktf/provider-google.clouddeployDeliveryPipeline.ClouddeployDeliveryPipelineConditionTargetsTypeConditionList", version: "14.12.0" };
function clouddeployDeliveryPipelineConditionToTerraform(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.clouddeployDeliveryPipelineConditionToTerraform = clouddeployDeliveryPipelineConditionToTerraform;
function clouddeployDeliveryPipelineConditionToHclTerraform(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.clouddeployDeliveryPipelineConditionToHclTerraform = clouddeployDeliveryPipelineConditionToHclTerraform;
class ClouddeployDeliveryPipelineConditionOutputReference 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;
// pipeline_ready_condition - computed: true, optional: false, required: false
this._pipelineReadyCondition = new ClouddeployDeliveryPipelineConditionPipelineReadyConditionList(this, "pipeline_ready_condition", false);
// targets_present_condition - computed: true, optional: false, required: false
this._targetsPresentCondition = new ClouddeployDeliveryPipelineConditionTargetsPresentConditionList(this, "targets_present_condition", false);
// targets_type_condition - computed: true, optional: false, required: false
this._targetsTypeCondition = new ClouddeployDeliveryPipelineConditionTargetsTypeConditionList(this, "targets_type_condition", 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 pipelineReadyCondition() {
return this._pipelineReadyCondition;
}
get targetsPresentCondition() {
return this._targetsPresentCondition;
}
get targetsTypeCondition() {
return this._targetsTypeCondition;
}
}
exports.ClouddeployDeliveryPipelineConditionOutputReference = ClouddeployDeliveryPipelineConditionOutputReference;
_g = JSII_RTTI_SYMBOL_1;
ClouddeployDeliveryPipelineConditionOutputReference[_g] = { fqn: "@cdktf/provider-google.clouddeployDeliveryPipeline.ClouddeployDeliveryPipelineConditionOutputReference", version: "14.12.0" };
class ClouddeployDeliveryPipelineConditionList 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 ClouddeployDeliveryPipelineConditionOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.ClouddeployDeliveryPipelineConditionList = ClouddeployDeliveryPipelineConditionList;
_h = JSII_RTTI_SYMBOL_1;
ClouddeployDeliveryPipelineConditionList[_h] = { fqn: "@cdktf/provider-google.clouddeployDeliveryPipeline.ClouddeployDeliveryPipelineConditionList", version: "14.12.0" };
function clouddeployDeliveryPipelineSerialPipelineStagesDeployParametersToTerraform(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 {
match_target_labels: cdktf.hashMapper(cdktf.stringToTerraform)(struct.matchTargetLabels),
values: cdktf.hashMapper(cdktf.stringToTerraform)(struct.values),
};
}
exports.clouddeployDeliveryPipelineSerialPipelineStagesDeployParametersToTerraform = clouddeployDeliveryPipelineSerialPipelineStagesDeployParametersToTerraform;
function clouddeployDeliveryPipelineSerialPipelineStagesDeployParametersToHclTerraform(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 = {
match_target_labels: {
value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(struct.matchTargetLabels),
isBlock: false,
type: "map",
storageClassType: "stringMap",
},
values: {
value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(struct.values),
isBlock: false,
type: "map",
storageClassType: "stringMap",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.clouddeployDeliveryPipelineSerialPipelineStagesDeployParametersToHclTerraform = clouddeployDeliveryPipelineSerialPipelineStagesDeployParametersToHclTerraform;
class ClouddeployDeliveryPipelineSerialPipelineStagesDeployParametersOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._matchTargetLabels !== undefined) {
hasAnyValues = true;
internalValueResult.matchTargetLabels = this._matchTargetLabels;
}
if (this._values !== undefined) {
hasAnyValues = true;
internalValueResult.values = this._values;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._matchTargetLabels = undefined;
this._values = undefined;
}
else if (cdktf.Tokenization.isResolvable(value)) {
this.isEmptyObject = false;
this.resolvableValue = value;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this.resolvableValue = undefined;
this._matchTargetLabels = value.matchTargetLabels;
this._values = value.values;
}
}
get matchTargetLabels() {
return this.getStringMapAttribute('match_target_labels');
}
set matchTargetLabels(value) {
this._matchTargetLabels = value;
}
resetMatchTargetLabels() {
this._matchTargetLabels = undefined;
}
// Temporarily expose input value. Use with caution.
get matchTargetLabelsInput() {
return this._matchTargetLabels;
}
get values() {
return this.getStringMapAttribute('values');
}
set values(value) {
this._values = value;
}
// Temporarily expose input value. Use with caution.
get valuesInput() {
return this._values;
}
}
exports.ClouddeployDeliveryPipelineSerialPipelineStagesDeployParametersOutputReference = ClouddeployDeliveryPipelineSerialPipelineStagesDeployParametersOutputReference;
_j = JSII_RTTI_SYMBOL_1;
ClouddeployDeliveryPipelineSerialPipelineStagesDeployParametersOutputReference[_j] = { fqn: "@cdktf/provider-google.clouddeployDeliveryPipeline.ClouddeployDeliveryPipelineSerialPipelineStagesDeployParametersOutputReference", version: "14.12.0" };
class ClouddeployDeliveryPipelineSerialPipelineStagesDeployParametersList 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 ClouddeployDeliveryPipelineSerialPipelineStagesDeployParametersOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.ClouddeployDeliveryPipelineSerialPipelineStagesDeployParametersList = ClouddeployDeliveryPipelineSerialPipelineStagesDeployParametersList;
_k = JSII_RTTI_SYMBOL_1;
ClouddeployDeliveryPipelineSerialPipelineStagesDeployParametersList[_k] = { fqn: "@cdktf/provider-google.clouddeployDeliveryPipeline.ClouddeployDeliveryPipelineSerialPipelineStagesDeployParametersList", version: "14.12.0" };
function clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeployToTerraform(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 {
actions: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.actions),
};
}
exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeployToTerraform = clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeployToTerraform;
function clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeployToHclTerraform(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 = {
actions: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.actions),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeployToHclTerraform = clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeployToHclTerraform;
class ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeployOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false, 0);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._actions !== undefined) {
hasAnyValues = true;
internalValueResult.actions = this._actions;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._actions = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._actions = value.actions;
}
}
get actions() {
return this.getListAttribute('actions');
}
set actions(value) {
this._actions = value;
}
resetActions() {
this._actions = undefined;
}
// Temporarily expose input value. Use with caution.
get actionsInput() {
return this._actions;
}
}
exports.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeployOutputReference = ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeployOutputReference;
_l = JSII_RTTI_SYMBOL_1;
ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeployOutputReference[_l] = { fqn: "@cdktf/provider-google.clouddeployDeliveryPipeline.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeployOutputReference", version: "14.12.0" };
function clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeployToTerraform(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 {
actions: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.actions),
};
}
exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeployToTerraform = clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeployToTerraform;
function clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeployToHclTerraform(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 = {
actions: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.actions),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeployToHclTerraform = clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeployToHclTerraform;
class ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeployOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false, 0);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._actions !== undefined) {
hasAnyValues = true;
internalValueResult.actions = this._actions;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._actions = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._actions = value.actions;
}
}
get actions() {
return this.getListAttribute('actions');
}
set actions(value) {
this._actions = value;
}
resetActions() {
this._actions = undefined;
}
// Temporarily expose input value. Use with caution.
get actionsInput() {
return this._actions;
}
}
exports.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeployOutputReference = ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeployOutputReference;
_m = JSII_RTTI_SYMBOL_1;
ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeployOutputReference[_m] = { fqn: "@cdktf/provider-google.clouddeployDeliveryPipeline.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeployOutputReference", version: "14.12.0" };
function clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentToTerraform(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 {
percentages: cdktf.listMapper(cdktf.numberToTerraform, false)(struct.percentages),
verify: cdktf.booleanToTerraform(struct.verify),
postdeploy: clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeployToTerraform(struct.postdeploy),
predeploy: clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeployToTerraform(struct.predeploy),
};
}
exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentToTerraform = clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentToTerraform;
function clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentToHclTerraform(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 = {
percentages: {
value: cdktf.listMapperHcl(cdktf.numberToHclTerraform, false)(struct.percentages),
isBlock: false,
type: "list",
storageClassType: "numberList",
},
verify: {
value: cdktf.booleanToHclTerraform(struct.verify),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
postdeploy: {
value: clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeployToHclTerraform(struct.postdeploy),
isBlock: true,
type: "list",
storageClassType: "ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeployList",
},
predeploy: {
value: clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeployToHclTerraform(struct.predeploy),
isBlock: true,
type: "list",
storageClassType: "ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeployList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentToHclTerraform = clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentToHclTerraform;
class ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false, 0);
this.isEmptyObject = false;
// postdeploy - computed: false, optional: true, required: false
this._postdeploy = new ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPostdeployOutputReference(this, "postdeploy");
// predeploy - computed: false, optional: true, required: false
this._predeploy = new ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentPredeployOutputReference(this, "predeploy");
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._percentages !== undefined) {
hasAnyValues = true;
internalValueResult.percentages = this._percentages;
}
if (this._verify !== undefined) {
hasAnyValues = true;
internalValueResult.verify = this._verify;
}
if (this._postdeploy?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.postdeploy = this._postdeploy?.internalValue;
}
if (this._predeploy?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.predeploy = this._predeploy?.internalValue;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._percentages = undefined;
this._verify = undefined;
this._postdeploy.internalValue = undefined;
this._predeploy.internalValue = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._percentages = value.percentages;
this._verify = value.verify;
this._postdeploy.internalValue = value.postdeploy;
this._predeploy.internalValue = value.predeploy;
}
}
get percentages() {
return this.getNumberListAttribute('percentages');
}
set percentages(value) {
this._percentages = value;
}
// Temporarily expose input value. Use with caution.
get percentagesInput() {
return this._percentages;
}
get verify() {
return this.getBooleanAttribute('verify');
}
set verify(value) {
this._verify = value;
}
resetVerify() {
this._verify = undefined;
}
// Temporarily expose input value. Use with caution.
get verifyInput() {
return this._verify;
}
get postdeploy() {
return this._postdeploy;
}
putPostdeploy(value) {
this._postdeploy.internalValue = value;
}
resetPostdeploy() {
this._postdeploy.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get postdeployInput() {
return this._postdeploy.internalValue;
}
get predeploy() {
return this._predeploy;
}
putPredeploy(value) {
this._predeploy.internalValue = value;
}
resetPredeploy() {
this._predeploy.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get predeployInput() {
return this._predeploy.internalValue;
}
}
exports.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentOutputReference = ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentOutputReference;
_o = JSII_RTTI_SYMBOL_1;
ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentOutputReference[_o] = { fqn: "@cdktf/provider-google.clouddeployDeliveryPipeline.ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCanaryDeploymentOutputReference", version: "14.12.0" };
function clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPostdeployToTerraform(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 {
actions: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.actions),
};
}
exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPostdeployToTerraform = clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPostdeployToTerraform;
function clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPostdeployToHclTerraform(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 = {
actions: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.actions),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPostdeployToHclTerraform = clouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPostdeployToHclTerraform;
class ClouddeployDeliveryPipelineSerialPipelineStagesStrategyCanaryCustomCanaryDeploymentPhaseConfigsPostdeployOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false, 0);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._actions !== undefined) {
hasAnyValues = true;
internalValueResult.actions = this._actions;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._actions = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._actions = value.actions;
}
}
get actions() {
return this.getListAttribute('actions');
}
set actions(value) {
this._actions = value;
}
r