@cdktf/provider-azurerm
Version:
Prebuilt azurerm Provider for Terraform CDK (cdktf)
1,005 lines • 135 kB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RouteMap = exports.RouteMapTimeoutsOutputReference = exports.routeMapTimeoutsToHclTerraform = exports.routeMapTimeoutsToTerraform = exports.RouteMapRuleList = exports.RouteMapRuleOutputReference = exports.routeMapRuleToHclTerraform = exports.routeMapRuleToTerraform = exports.RouteMapRuleMatchCriterionList = exports.RouteMapRuleMatchCriterionOutputReference = exports.routeMapRuleMatchCriterionToHclTerraform = exports.routeMapRuleMatchCriterionToTerraform = exports.RouteMapRuleActionList = exports.RouteMapRuleActionOutputReference = exports.routeMapRuleActionToHclTerraform = exports.routeMapRuleActionToTerraform = exports.RouteMapRuleActionParameterList = exports.RouteMapRuleActionParameterOutputReference = exports.routeMapRuleActionParameterToHclTerraform = exports.routeMapRuleActionParameterToTerraform = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function routeMapRuleActionParameterToTerraform(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 {
as_path: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.asPath),
community: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.community),
route_prefix: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.routePrefix),
};
}
exports.routeMapRuleActionParameterToTerraform = routeMapRuleActionParameterToTerraform;
function routeMapRuleActionParameterToHclTerraform(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 = {
as_path: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.asPath),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
community: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.community),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
route_prefix: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.routePrefix),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.routeMapRuleActionParameterToHclTerraform = routeMapRuleActionParameterToHclTerraform;
class RouteMapRuleActionParameterOutputReference 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._asPath !== undefined) {
hasAnyValues = true;
internalValueResult.asPath = this._asPath;
}
if (this._community !== undefined) {
hasAnyValues = true;
internalValueResult.community = this._community;
}
if (this._routePrefix !== undefined) {
hasAnyValues = true;
internalValueResult.routePrefix = this._routePrefix;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._asPath = undefined;
this._community = undefined;
this._routePrefix = 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._asPath = value.asPath;
this._community = value.community;
this._routePrefix = value.routePrefix;
}
}
get asPath() {
return this.getListAttribute('as_path');
}
set asPath(value) {
this._asPath = value;
}
resetAsPath() {
this._asPath = undefined;
}
// Temporarily expose input value. Use with caution.
get asPathInput() {
return this._asPath;
}
get community() {
return this.getListAttribute('community');
}
set community(value) {
this._community = value;
}
resetCommunity() {
this._community = undefined;
}
// Temporarily expose input value. Use with caution.
get communityInput() {
return this._community;
}
get routePrefix() {
return this.getListAttribute('route_prefix');
}
set routePrefix(value) {
this._routePrefix = value;
}
resetRoutePrefix() {
this._routePrefix = undefined;
}
// Temporarily expose input value. Use with caution.
get routePrefixInput() {
return this._routePrefix;
}
}
exports.RouteMapRuleActionParameterOutputReference = RouteMapRuleActionParameterOutputReference;
_a = JSII_RTTI_SYMBOL_1;
RouteMapRuleActionParameterOutputReference[_a] = { fqn: "@cdktf/provider-azurerm.routeMap.RouteMapRuleActionParameterOutputReference", version: "12.27.0" };
class RouteMapRuleActionParameterList 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 RouteMapRuleActionParameterOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.RouteMapRuleActionParameterList = RouteMapRuleActionParameterList;
_b = JSII_RTTI_SYMBOL_1;
RouteMapRuleActionParameterList[_b] = { fqn: "@cdktf/provider-azurerm.routeMap.RouteMapRuleActionParameterList", version: "12.27.0" };
function routeMapRuleActionToTerraform(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 {
type: cdktf.stringToTerraform(struct.type),
parameter: cdktf.listMapper(routeMapRuleActionParameterToTerraform, true)(struct.parameter),
};
}
exports.routeMapRuleActionToTerraform = routeMapRuleActionToTerraform;
function routeMapRuleActionToHclTerraform(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 = {
type: {
value: cdktf.stringToHclTerraform(struct.type),
isBlock: false,
type: "simple",
storageClassType: "string",
},
parameter: {
value: cdktf.listMapperHcl(routeMapRuleActionParameterToHclTerraform, true)(struct.parameter),
isBlock: true,
type: "list",
storageClassType: "RouteMapRuleActionParameterList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.routeMapRuleActionToHclTerraform = routeMapRuleActionToHclTerraform;
class RouteMapRuleActionOutputReference 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;
// parameter - computed: false, optional: true, required: false
this._parameter = new RouteMapRuleActionParameterList(this, "parameter", false);
}
get internalValue() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._type !== undefined) {
hasAnyValues = true;
internalValueResult.type = this._type;
}
if (this._parameter?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.parameter = this._parameter?.internalValue;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._type = undefined;
this._parameter.internalValue = 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._type = value.type;
this._parameter.internalValue = value.parameter;
}
}
get type() {
return this.getStringAttribute('type');
}
set type(value) {
this._type = value;
}
// Temporarily expose input value. Use with caution.
get typeInput() {
return this._type;
}
get parameter() {
return this._parameter;
}
putParameter(value) {
this._parameter.internalValue = value;
}
resetParameter() {
this._parameter.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get parameterInput() {
return this._parameter.internalValue;
}
}
exports.RouteMapRuleActionOutputReference = RouteMapRuleActionOutputReference;
_c = JSII_RTTI_SYMBOL_1;
RouteMapRuleActionOutputReference[_c] = { fqn: "@cdktf/provider-azurerm.routeMap.RouteMapRuleActionOutputReference", version: "12.27.0" };
class RouteMapRuleActionList 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 RouteMapRuleActionOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.RouteMapRuleActionList = RouteMapRuleActionList;
_d = JSII_RTTI_SYMBOL_1;
RouteMapRuleActionList[_d] = { fqn: "@cdktf/provider-azurerm.routeMap.RouteMapRuleActionList", version: "12.27.0" };
function routeMapRuleMatchCriterionToTerraform(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 {
as_path: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.asPath),
community: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.community),
match_condition: cdktf.stringToTerraform(struct.matchCondition),
route_prefix: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.routePrefix),
};
}
exports.routeMapRuleMatchCriterionToTerraform = routeMapRuleMatchCriterionToTerraform;
function routeMapRuleMatchCriterionToHclTerraform(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 = {
as_path: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.asPath),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
community: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.community),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
match_condition: {
value: cdktf.stringToHclTerraform(struct.matchCondition),
isBlock: false,
type: "simple",
storageClassType: "string",
},
route_prefix: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.routePrefix),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.routeMapRuleMatchCriterionToHclTerraform = routeMapRuleMatchCriterionToHclTerraform;
class RouteMapRuleMatchCriterionOutputReference 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._asPath !== undefined) {
hasAnyValues = true;
internalValueResult.asPath = this._asPath;
}
if (this._community !== undefined) {
hasAnyValues = true;
internalValueResult.community = this._community;
}
if (this._matchCondition !== undefined) {
hasAnyValues = true;
internalValueResult.matchCondition = this._matchCondition;
}
if (this._routePrefix !== undefined) {
hasAnyValues = true;
internalValueResult.routePrefix = this._routePrefix;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._asPath = undefined;
this._community = undefined;
this._matchCondition = undefined;
this._routePrefix = 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._asPath = value.asPath;
this._community = value.community;
this._matchCondition = value.matchCondition;
this._routePrefix = value.routePrefix;
}
}
get asPath() {
return this.getListAttribute('as_path');
}
set asPath(value) {
this._asPath = value;
}
resetAsPath() {
this._asPath = undefined;
}
// Temporarily expose input value. Use with caution.
get asPathInput() {
return this._asPath;
}
get community() {
return this.getListAttribute('community');
}
set community(value) {
this._community = value;
}
resetCommunity() {
this._community = undefined;
}
// Temporarily expose input value. Use with caution.
get communityInput() {
return this._community;
}
get matchCondition() {
return this.getStringAttribute('match_condition');
}
set matchCondition(value) {
this._matchCondition = value;
}
// Temporarily expose input value. Use with caution.
get matchConditionInput() {
return this._matchCondition;
}
get routePrefix() {
return this.getListAttribute('route_prefix');
}
set routePrefix(value) {
this._routePrefix = value;
}
resetRoutePrefix() {
this._routePrefix = undefined;
}
// Temporarily expose input value. Use with caution.
get routePrefixInput() {
return this._routePrefix;
}
}
exports.RouteMapRuleMatchCriterionOutputReference = RouteMapRuleMatchCriterionOutputReference;
_e = JSII_RTTI_SYMBOL_1;
RouteMapRuleMatchCriterionOutputReference[_e] = { fqn: "@cdktf/provider-azurerm.routeMap.RouteMapRuleMatchCriterionOutputReference", version: "12.27.0" };
class RouteMapRuleMatchCriterionList 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 RouteMapRuleMatchCriterionOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.RouteMapRuleMatchCriterionList = RouteMapRuleMatchCriterionList;
_f = JSII_RTTI_SYMBOL_1;
RouteMapRuleMatchCriterionList[_f] = { fqn: "@cdktf/provider-azurerm.routeMap.RouteMapRuleMatchCriterionList", version: "12.27.0" };
function routeMapRuleToTerraform(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 {
name: cdktf.stringToTerraform(struct.name),
next_step_if_matched: cdktf.stringToTerraform(struct.nextStepIfMatched),
action: cdktf.listMapper(routeMapRuleActionToTerraform, true)(struct.action),
match_criterion: cdktf.listMapper(routeMapRuleMatchCriterionToTerraform, true)(struct.matchCriterion),
};
}
exports.routeMapRuleToTerraform = routeMapRuleToTerraform;
function routeMapRuleToHclTerraform(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 = {
name: {
value: cdktf.stringToHclTerraform(struct.name),
isBlock: false,
type: "simple",
storageClassType: "string",
},
next_step_if_matched: {
value: cdktf.stringToHclTerraform(struct.nextStepIfMatched),
isBlock: false,
type: "simple",
storageClassType: "string",
},
action: {
value: cdktf.listMapperHcl(routeMapRuleActionToHclTerraform, true)(struct.action),
isBlock: true,
type: "list",
storageClassType: "RouteMapRuleActionList",
},
match_criterion: {
value: cdktf.listMapperHcl(routeMapRuleMatchCriterionToHclTerraform, true)(struct.matchCriterion),
isBlock: true,
type: "list",
storageClassType: "RouteMapRuleMatchCriterionList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.routeMapRuleToHclTerraform = routeMapRuleToHclTerraform;
class RouteMapRuleOutputReference 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;
// action - computed: false, optional: true, required: false
this._action = new RouteMapRuleActionList(this, "action", false);
// match_criterion - computed: false, optional: true, required: false
this._matchCriterion = new RouteMapRuleMatchCriterionList(this, "match_criterion", false);
}
get internalValue() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._name !== undefined) {
hasAnyValues = true;
internalValueResult.name = this._name;
}
if (this._nextStepIfMatched !== undefined) {
hasAnyValues = true;
internalValueResult.nextStepIfMatched = this._nextStepIfMatched;
}
if (this._action?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.action = this._action?.internalValue;
}
if (this._matchCriterion?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.matchCriterion = this._matchCriterion?.internalValue;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._name = undefined;
this._nextStepIfMatched = undefined;
this._action.internalValue = undefined;
this._matchCriterion.internalValue = 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._name = value.name;
this._nextStepIfMatched = value.nextStepIfMatched;
this._action.internalValue = value.action;
this._matchCriterion.internalValue = value.matchCriterion;
}
}
get name() {
return this.getStringAttribute('name');
}
set name(value) {
this._name = value;
}
// Temporarily expose input value. Use with caution.
get nameInput() {
return this._name;
}
get nextStepIfMatched() {
return this.getStringAttribute('next_step_if_matched');
}
set nextStepIfMatched(value) {
this._nextStepIfMatched = value;
}
resetNextStepIfMatched() {
this._nextStepIfMatched = undefined;
}
// Temporarily expose input value. Use with caution.
get nextStepIfMatchedInput() {
return this._nextStepIfMatched;
}
get action() {
return this._action;
}
putAction(value) {
this._action.internalValue = value;
}
resetAction() {
this._action.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get actionInput() {
return this._action.internalValue;
}
get matchCriterion() {
return this._matchCriterion;
}
putMatchCriterion(value) {
this._matchCriterion.internalValue = value;
}
resetMatchCriterion() {
this._matchCriterion.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get matchCriterionInput() {
return this._matchCriterion.internalValue;
}
}
exports.RouteMapRuleOutputReference = RouteMapRuleOutputReference;
_g = JSII_RTTI_SYMBOL_1;
RouteMapRuleOutputReference[_g] = { fqn: "@cdktf/provider-azurerm.routeMap.RouteMapRuleOutputReference", version: "12.27.0" };
class RouteMapRuleList 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 RouteMapRuleOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.RouteMapRuleList = RouteMapRuleList;
_h = JSII_RTTI_SYMBOL_1;
RouteMapRuleList[_h] = { fqn: "@cdktf/provider-azurerm.routeMap.RouteMapRuleList", version: "12.27.0" };
function routeMapTimeoutsToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
create: cdktf.stringToTerraform(struct.create),
delete: cdktf.stringToTerraform(struct.delete),
read: cdktf.stringToTerraform(struct.read),
update: cdktf.stringToTerraform(struct.update),
};
}
exports.routeMapTimeoutsToTerraform = routeMapTimeoutsToTerraform;
function routeMapTimeoutsToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {
create: {
value: cdktf.stringToHclTerraform(struct.create),
isBlock: false,
type: "simple",
storageClassType: "string",
},
delete: {
value: cdktf.stringToHclTerraform(struct.delete),
isBlock: false,
type: "simple",
storageClassType: "string",
},
read: {
value: cdktf.stringToHclTerraform(struct.read),
isBlock: false,
type: "simple",
storageClassType: "string",
},
update: {
value: cdktf.stringToHclTerraform(struct.update),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.routeMapTimeoutsToHclTerraform = routeMapTimeoutsToHclTerraform;
class RouteMapTimeoutsOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false);
this.isEmptyObject = false;
}
get internalValue() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._create !== undefined) {
hasAnyValues = true;
internalValueResult.create = this._create;
}
if (this._delete !== undefined) {
hasAnyValues = true;
internalValueResult.delete = this._delete;
}
if (this._read !== undefined) {
hasAnyValues = true;
internalValueResult.read = this._read;
}
if (this._update !== undefined) {
hasAnyValues = true;
internalValueResult.update = this._update;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._create = undefined;
this._delete = undefined;
this._read = undefined;
this._update = 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._create = value.create;
this._delete = value.delete;
this._read = value.read;
this._update = value.update;
}
}
get create() {
return this.getStringAttribute('create');
}
set create(value) {
this._create = value;
}
resetCreate() {
this._create = undefined;
}
// Temporarily expose input value. Use with caution.
get createInput() {
return this._create;
}
get delete() {
return this.getStringAttribute('delete');
}
set delete(value) {
this._delete = value;
}
resetDelete() {
this._delete = undefined;
}
// Temporarily expose input value. Use with caution.
get deleteInput() {
return this._delete;
}
get read() {
return this.getStringAttribute('read');
}
set read(value) {
this._read = value;
}
resetRead() {
this._read = undefined;
}
// Temporarily expose input value. Use with caution.
get readInput() {
return this._read;
}
get update() {
return this.getStringAttribute('update');
}
set update(value) {
this._update = value;
}
resetUpdate() {
this._update = undefined;
}
// Temporarily expose input value. Use with caution.
get updateInput() {
return this._update;
}
}
exports.RouteMapTimeoutsOutputReference = RouteMapTimeoutsOutputReference;
_j = JSII_RTTI_SYMBOL_1;
RouteMapTimeoutsOutputReference[_j] = { fqn: "@cdktf/provider-azurerm.routeMap.RouteMapTimeoutsOutputReference", version: "12.27.0" };
/**
* Represents a {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/route_map azurerm_route_map}
*/
class RouteMap extends cdktf.TerraformResource {
// ==============
// STATIC Methods
// ==============
/**
* Generates CDKTF code for importing a RouteMap resource upon running "cdktf plan <stack-name>"
* @param scope The scope in which to define this construct
* @param importToId The construct id used in the generated config for the RouteMap to import
* @param importFromId The id of the existing RouteMap that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/route_map#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the RouteMap to import is found
*/
static generateConfigForImport(scope, importToId, importFromId, provider) {
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "azurerm_route_map", importId: importFromId, provider });
}
// ===========
// INITIALIZER
// ===========
/**
* Create a new {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/route_map azurerm_route_map} Resource
*
* @param scope The scope in which to define this construct
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
* @param options RouteMapConfig
*/
constructor(scope, id, config) {
super(scope, id, {
terraformResourceType: 'azurerm_route_map',
terraformGeneratorMetadata: {
providerName: 'azurerm',
providerVersion: '3.116.0',
providerVersionConstraint: '~> 3.10'
},
provider: config.provider,
dependsOn: config.dependsOn,
count: config.count,
lifecycle: config.lifecycle,
provisioners: config.provisioners,
connection: config.connection,
forEach: config.forEach
});
// rule - computed: false, optional: true, required: false
this._rule = new RouteMapRuleList(this, "rule", false);
// timeouts - computed: false, optional: true, required: false
this._timeouts = new RouteMapTimeoutsOutputReference(this, "timeouts");
this._id = config.id;
this._name = config.name;
this._virtualHubId = config.virtualHubId;
this._rule.internalValue = config.rule;
this._timeouts.internalValue = config.timeouts;
}
get id() {
return this.getStringAttribute('id');
}
set id(value) {
this._id = value;
}
resetId() {
this._id = undefined;
}
// Temporarily expose input value. Use with caution.
get idInput() {
return this._id;
}
get name() {
return this.getStringAttribute('name');
}
set name(value) {
this._name = value;
}
// Temporarily expose input value. Use with caution.
get nameInput() {
return this._name;
}
get virtualHubId() {
return this.getStringAttribute('virtual_hub_id');
}
set virtualHubId(value) {
this._virtualHubId = value;
}
// Temporarily expose input value. Use with caution.
get virtualHubIdInput() {
return this._virtualHubId;
}
get rule() {
return this._rule;
}
putRule(value) {
this._rule.internalValue = value;
}
resetRule() {
this._rule.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get ruleInput() {
return this._rule.internalValue;
}
get timeouts() {
return this._timeouts;
}
putTimeouts(value) {
this._timeouts.internalValue = value;
}
resetTimeouts() {
this._timeouts.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get timeoutsInput() {
return this._timeouts.internalValue;
}
// =========
// SYNTHESIS
// =========
synthesizeAttributes() {
return {
id: cdktf.stringToTerraform(this._id),
name: cdktf.stringToTerraform(this._name),
virtual_hub_id: cdktf.stringToTerraform(this._virtualHubId),
rule: cdktf.listMapper(routeMapRuleToTerraform, true)(this._rule.internalValue),
timeouts: routeMapTimeoutsToTerraform(this._timeouts.internalValue),
};
}
synthesizeHclAttributes() {
const attrs = {
id: {
value: cdktf.stringToHclTerraform(this._id),
isBlock: false,
type: "simple",
storageClassType: "string",
},
name: {
value: cdktf.stringToHclTerraform(this._name),
isBlock: false,
type: "simple",
storageClassType: "string",
},
virtual_hub_id: {
value: cdktf.stringToHclTerraform(this._virtualHubId),
isBlock: false,
type: "simple",
storageClassType: "string",
},
rule: {
value: cdktf.listMapperHcl(routeMapRuleToHclTerraform, true)(this._rule.internalValue),
isBlock: true,
type: "list",
storageClassType: "RouteMapRuleList",
},
timeouts: {
value: routeMapTimeoutsToHclTerraform(this._timeouts.internalValue),
isBlock: true,
type: "struct",
storageClassType: "RouteMapTimeouts",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
}
exports.RouteMap = RouteMap;
_k = JSII_RTTI_SYMBOL_1;
RouteMap[_k] = { fqn: "@cdktf/provider-azurerm.routeMap.RouteMap", version: "12.27.0" };
// =================
// STATIC PROPERTIES
// =================
RouteMap.tfResourceType = "azurerm_route_map";
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmN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