@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
971 lines • 142 kB
JavaScript
"use strict";
var _a, _b, _c, _d, _e;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ComputeFirewallPolicyRule = exports.ComputeFirewallPolicyRuleTimeoutsOutputReference = exports.computeFirewallPolicyRuleTimeoutsToHclTerraform = exports.computeFirewallPolicyRuleTimeoutsToTerraform = exports.ComputeFirewallPolicyRuleMatchOutputReference = exports.computeFirewallPolicyRuleMatchToHclTerraform = exports.computeFirewallPolicyRuleMatchToTerraform = exports.ComputeFirewallPolicyRuleMatchLayer4ConfigsList = exports.ComputeFirewallPolicyRuleMatchLayer4ConfigsOutputReference = exports.computeFirewallPolicyRuleMatchLayer4ConfigsToHclTerraform = exports.computeFirewallPolicyRuleMatchLayer4ConfigsToTerraform = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function computeFirewallPolicyRuleMatchLayer4ConfigsToTerraform(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 {
ip_protocol: cdktf.stringToTerraform(struct.ipProtocol),
ports: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.ports),
};
}
exports.computeFirewallPolicyRuleMatchLayer4ConfigsToTerraform = computeFirewallPolicyRuleMatchLayer4ConfigsToTerraform;
function computeFirewallPolicyRuleMatchLayer4ConfigsToHclTerraform(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 = {
ip_protocol: {
value: cdktf.stringToHclTerraform(struct.ipProtocol),
isBlock: false,
type: "simple",
storageClassType: "string",
},
ports: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.ports),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.computeFirewallPolicyRuleMatchLayer4ConfigsToHclTerraform = computeFirewallPolicyRuleMatchLayer4ConfigsToHclTerraform;
class ComputeFirewallPolicyRuleMatchLayer4ConfigsOutputReference 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._ipProtocol !== undefined) {
hasAnyValues = true;
internalValueResult.ipProtocol = this._ipProtocol;
}
if (this._ports !== undefined) {
hasAnyValues = true;
internalValueResult.ports = this._ports;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._ipProtocol = undefined;
this._ports = 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._ipProtocol = value.ipProtocol;
this._ports = value.ports;
}
}
get ipProtocol() {
return this.getStringAttribute('ip_protocol');
}
set ipProtocol(value) {
this._ipProtocol = value;
}
// Temporarily expose input value. Use with caution.
get ipProtocolInput() {
return this._ipProtocol;
}
get ports() {
return this.getListAttribute('ports');
}
set ports(value) {
this._ports = value;
}
resetPorts() {
this._ports = undefined;
}
// Temporarily expose input value. Use with caution.
get portsInput() {
return this._ports;
}
}
exports.ComputeFirewallPolicyRuleMatchLayer4ConfigsOutputReference = ComputeFirewallPolicyRuleMatchLayer4ConfigsOutputReference;
_a = JSII_RTTI_SYMBOL_1;
ComputeFirewallPolicyRuleMatchLayer4ConfigsOutputReference[_a] = { fqn: "@cdktf/provider-google.computeFirewallPolicyRule.ComputeFirewallPolicyRuleMatchLayer4ConfigsOutputReference", version: "14.12.0" };
class ComputeFirewallPolicyRuleMatchLayer4ConfigsList 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 ComputeFirewallPolicyRuleMatchLayer4ConfigsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.ComputeFirewallPolicyRuleMatchLayer4ConfigsList = ComputeFirewallPolicyRuleMatchLayer4ConfigsList;
_b = JSII_RTTI_SYMBOL_1;
ComputeFirewallPolicyRuleMatchLayer4ConfigsList[_b] = { fqn: "@cdktf/provider-google.computeFirewallPolicyRule.ComputeFirewallPolicyRuleMatchLayer4ConfigsList", version: "14.12.0" };
function computeFirewallPolicyRuleMatchToTerraform(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 {
dest_address_groups: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.destAddressGroups),
dest_fqdns: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.destFqdns),
dest_ip_ranges: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.destIpRanges),
dest_region_codes: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.destRegionCodes),
dest_threat_intelligences: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.destThreatIntelligences),
src_address_groups: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.srcAddressGroups),
src_fqdns: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.srcFqdns),
src_ip_ranges: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.srcIpRanges),
src_region_codes: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.srcRegionCodes),
src_threat_intelligences: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.srcThreatIntelligences),
layer4_configs: cdktf.listMapper(computeFirewallPolicyRuleMatchLayer4ConfigsToTerraform, true)(struct.layer4Configs),
};
}
exports.computeFirewallPolicyRuleMatchToTerraform = computeFirewallPolicyRuleMatchToTerraform;
function computeFirewallPolicyRuleMatchToHclTerraform(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 = {
dest_address_groups: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.destAddressGroups),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
dest_fqdns: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.destFqdns),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
dest_ip_ranges: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.destIpRanges),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
dest_region_codes: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.destRegionCodes),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
dest_threat_intelligences: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.destThreatIntelligences),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
src_address_groups: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.srcAddressGroups),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
src_fqdns: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.srcFqdns),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
src_ip_ranges: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.srcIpRanges),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
src_region_codes: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.srcRegionCodes),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
src_threat_intelligences: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.srcThreatIntelligences),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
layer4_configs: {
value: cdktf.listMapperHcl(computeFirewallPolicyRuleMatchLayer4ConfigsToHclTerraform, true)(struct.layer4Configs),
isBlock: true,
type: "list",
storageClassType: "ComputeFirewallPolicyRuleMatchLayer4ConfigsList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.computeFirewallPolicyRuleMatchToHclTerraform = computeFirewallPolicyRuleMatchToHclTerraform;
class ComputeFirewallPolicyRuleMatchOutputReference 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;
// layer4_configs - computed: false, optional: false, required: true
this._layer4Configs = new ComputeFirewallPolicyRuleMatchLayer4ConfigsList(this, "layer4_configs", false);
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._destAddressGroups !== undefined) {
hasAnyValues = true;
internalValueResult.destAddressGroups = this._destAddressGroups;
}
if (this._destFqdns !== undefined) {
hasAnyValues = true;
internalValueResult.destFqdns = this._destFqdns;
}
if (this._destIpRanges !== undefined) {
hasAnyValues = true;
internalValueResult.destIpRanges = this._destIpRanges;
}
if (this._destRegionCodes !== undefined) {
hasAnyValues = true;
internalValueResult.destRegionCodes = this._destRegionCodes;
}
if (this._destThreatIntelligences !== undefined) {
hasAnyValues = true;
internalValueResult.destThreatIntelligences = this._destThreatIntelligences;
}
if (this._srcAddressGroups !== undefined) {
hasAnyValues = true;
internalValueResult.srcAddressGroups = this._srcAddressGroups;
}
if (this._srcFqdns !== undefined) {
hasAnyValues = true;
internalValueResult.srcFqdns = this._srcFqdns;
}
if (this._srcIpRanges !== undefined) {
hasAnyValues = true;
internalValueResult.srcIpRanges = this._srcIpRanges;
}
if (this._srcRegionCodes !== undefined) {
hasAnyValues = true;
internalValueResult.srcRegionCodes = this._srcRegionCodes;
}
if (this._srcThreatIntelligences !== undefined) {
hasAnyValues = true;
internalValueResult.srcThreatIntelligences = this._srcThreatIntelligences;
}
if (this._layer4Configs?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.layer4Configs = this._layer4Configs?.internalValue;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._destAddressGroups = undefined;
this._destFqdns = undefined;
this._destIpRanges = undefined;
this._destRegionCodes = undefined;
this._destThreatIntelligences = undefined;
this._srcAddressGroups = undefined;
this._srcFqdns = undefined;
this._srcIpRanges = undefined;
this._srcRegionCodes = undefined;
this._srcThreatIntelligences = undefined;
this._layer4Configs.internalValue = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._destAddressGroups = value.destAddressGroups;
this._destFqdns = value.destFqdns;
this._destIpRanges = value.destIpRanges;
this._destRegionCodes = value.destRegionCodes;
this._destThreatIntelligences = value.destThreatIntelligences;
this._srcAddressGroups = value.srcAddressGroups;
this._srcFqdns = value.srcFqdns;
this._srcIpRanges = value.srcIpRanges;
this._srcRegionCodes = value.srcRegionCodes;
this._srcThreatIntelligences = value.srcThreatIntelligences;
this._layer4Configs.internalValue = value.layer4Configs;
}
}
get destAddressGroups() {
return this.getListAttribute('dest_address_groups');
}
set destAddressGroups(value) {
this._destAddressGroups = value;
}
resetDestAddressGroups() {
this._destAddressGroups = undefined;
}
// Temporarily expose input value. Use with caution.
get destAddressGroupsInput() {
return this._destAddressGroups;
}
get destFqdns() {
return this.getListAttribute('dest_fqdns');
}
set destFqdns(value) {
this._destFqdns = value;
}
resetDestFqdns() {
this._destFqdns = undefined;
}
// Temporarily expose input value. Use with caution.
get destFqdnsInput() {
return this._destFqdns;
}
get destIpRanges() {
return this.getListAttribute('dest_ip_ranges');
}
set destIpRanges(value) {
this._destIpRanges = value;
}
resetDestIpRanges() {
this._destIpRanges = undefined;
}
// Temporarily expose input value. Use with caution.
get destIpRangesInput() {
return this._destIpRanges;
}
get destRegionCodes() {
return this.getListAttribute('dest_region_codes');
}
set destRegionCodes(value) {
this._destRegionCodes = value;
}
resetDestRegionCodes() {
this._destRegionCodes = undefined;
}
// Temporarily expose input value. Use with caution.
get destRegionCodesInput() {
return this._destRegionCodes;
}
get destThreatIntelligences() {
return this.getListAttribute('dest_threat_intelligences');
}
set destThreatIntelligences(value) {
this._destThreatIntelligences = value;
}
resetDestThreatIntelligences() {
this._destThreatIntelligences = undefined;
}
// Temporarily expose input value. Use with caution.
get destThreatIntelligencesInput() {
return this._destThreatIntelligences;
}
get srcAddressGroups() {
return this.getListAttribute('src_address_groups');
}
set srcAddressGroups(value) {
this._srcAddressGroups = value;
}
resetSrcAddressGroups() {
this._srcAddressGroups = undefined;
}
// Temporarily expose input value. Use with caution.
get srcAddressGroupsInput() {
return this._srcAddressGroups;
}
get srcFqdns() {
return this.getListAttribute('src_fqdns');
}
set srcFqdns(value) {
this._srcFqdns = value;
}
resetSrcFqdns() {
this._srcFqdns = undefined;
}
// Temporarily expose input value. Use with caution.
get srcFqdnsInput() {
return this._srcFqdns;
}
get srcIpRanges() {
return this.getListAttribute('src_ip_ranges');
}
set srcIpRanges(value) {
this._srcIpRanges = value;
}
resetSrcIpRanges() {
this._srcIpRanges = undefined;
}
// Temporarily expose input value. Use with caution.
get srcIpRangesInput() {
return this._srcIpRanges;
}
get srcRegionCodes() {
return this.getListAttribute('src_region_codes');
}
set srcRegionCodes(value) {
this._srcRegionCodes = value;
}
resetSrcRegionCodes() {
this._srcRegionCodes = undefined;
}
// Temporarily expose input value. Use with caution.
get srcRegionCodesInput() {
return this._srcRegionCodes;
}
get srcThreatIntelligences() {
return this.getListAttribute('src_threat_intelligences');
}
set srcThreatIntelligences(value) {
this._srcThreatIntelligences = value;
}
resetSrcThreatIntelligences() {
this._srcThreatIntelligences = undefined;
}
// Temporarily expose input value. Use with caution.
get srcThreatIntelligencesInput() {
return this._srcThreatIntelligences;
}
get layer4Configs() {
return this._layer4Configs;
}
putLayer4Configs(value) {
this._layer4Configs.internalValue = value;
}
// Temporarily expose input value. Use with caution.
get layer4ConfigsInput() {
return this._layer4Configs.internalValue;
}
}
exports.ComputeFirewallPolicyRuleMatchOutputReference = ComputeFirewallPolicyRuleMatchOutputReference;
_c = JSII_RTTI_SYMBOL_1;
ComputeFirewallPolicyRuleMatchOutputReference[_c] = { fqn: "@cdktf/provider-google.computeFirewallPolicyRule.ComputeFirewallPolicyRuleMatchOutputReference", version: "14.12.0" };
function computeFirewallPolicyRuleTimeoutsToTerraform(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),
update: cdktf.stringToTerraform(struct.update),
};
}
exports.computeFirewallPolicyRuleTimeoutsToTerraform = computeFirewallPolicyRuleTimeoutsToTerraform;
function computeFirewallPolicyRuleTimeoutsToHclTerraform(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",
},
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.computeFirewallPolicyRuleTimeoutsToHclTerraform = computeFirewallPolicyRuleTimeoutsToHclTerraform;
class ComputeFirewallPolicyRuleTimeoutsOutputReference 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._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._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._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 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.ComputeFirewallPolicyRuleTimeoutsOutputReference = ComputeFirewallPolicyRuleTimeoutsOutputReference;
_d = JSII_RTTI_SYMBOL_1;
ComputeFirewallPolicyRuleTimeoutsOutputReference[_d] = { fqn: "@cdktf/provider-google.computeFirewallPolicyRule.ComputeFirewallPolicyRuleTimeoutsOutputReference", version: "14.12.0" };
/**
* Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_firewall_policy_rule google_compute_firewall_policy_rule}
*/
class ComputeFirewallPolicyRule extends cdktf.TerraformResource {
// ==============
// STATIC Methods
// ==============
/**
* Generates CDKTF code for importing a ComputeFirewallPolicyRule 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 ComputeFirewallPolicyRule to import
* @param importFromId The id of the existing ComputeFirewallPolicyRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_firewall_policy_rule#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the ComputeFirewallPolicyRule to import is found
*/
static generateConfigForImport(scope, importToId, importFromId, provider) {
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "google_compute_firewall_policy_rule", importId: importFromId, provider });
}
// ===========
// INITIALIZER
// ===========
/**
* Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_firewall_policy_rule google_compute_firewall_policy_rule} 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 ComputeFirewallPolicyRuleConfig
*/
constructor(scope, id, config) {
super(scope, id, {
terraformResourceType: 'google_compute_firewall_policy_rule',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '6.13.0',
providerVersionConstraint: '~> 6.0'
},
provider: config.provider,
dependsOn: config.dependsOn,
count: config.count,
lifecycle: config.lifecycle,
provisioners: config.provisioners,
connection: config.connection,
forEach: config.forEach
});
// match - computed: false, optional: false, required: true
this._match = new ComputeFirewallPolicyRuleMatchOutputReference(this, "match");
// timeouts - computed: false, optional: true, required: false
this._timeouts = new ComputeFirewallPolicyRuleTimeoutsOutputReference(this, "timeouts");
this._action = config.action;
this._description = config.description;
this._direction = config.direction;
this._disabled = config.disabled;
this._enableLogging = config.enableLogging;
this._firewallPolicy = config.firewallPolicy;
this._id = config.id;
this._priority = config.priority;
this._securityProfileGroup = config.securityProfileGroup;
this._targetResources = config.targetResources;
this._targetServiceAccounts = config.targetServiceAccounts;
this._tlsInspect = config.tlsInspect;
this._match.internalValue = config.match;
this._timeouts.internalValue = config.timeouts;
}
get action() {
return this.getStringAttribute('action');
}
set action(value) {
this._action = value;
}
// Temporarily expose input value. Use with caution.
get actionInput() {
return this._action;
}
// creation_timestamp - computed: true, optional: false, required: false
get creationTimestamp() {
return this.getStringAttribute('creation_timestamp');
}
get description() {
return this.getStringAttribute('description');
}
set description(value) {
this._description = value;
}
resetDescription() {
this._description = undefined;
}
// Temporarily expose input value. Use with caution.
get descriptionInput() {
return this._description;
}
get direction() {
return this.getStringAttribute('direction');
}
set direction(value) {
this._direction = value;
}
// Temporarily expose input value. Use with caution.
get directionInput() {
return this._direction;
}
get disabled() {
return this.getBooleanAttribute('disabled');
}
set disabled(value) {
this._disabled = value;
}
resetDisabled() {
this._disabled = undefined;
}
// Temporarily expose input value. Use with caution.
get disabledInput() {
return this._disabled;
}
get enableLogging() {
return this.getBooleanAttribute('enable_logging');
}
set enableLogging(value) {
this._enableLogging = value;
}
resetEnableLogging() {
this._enableLogging = undefined;
}
// Temporarily expose input value. Use with caution.
get enableLoggingInput() {
return this._enableLogging;
}
get firewallPolicy() {
return this.getStringAttribute('firewall_policy');
}
set firewallPolicy(value) {
this._firewallPolicy = value;
}
// Temporarily expose input value. Use with caution.
get firewallPolicyInput() {
return this._firewallPolicy;
}
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;
}
// kind - computed: true, optional: false, required: false
get kind() {
return this.getStringAttribute('kind');
}
get priority() {
return this.getNumberAttribute('priority');
}
set priority(value) {
this._priority = value;
}
// Temporarily expose input value. Use with caution.
get priorityInput() {
return this._priority;
}
// rule_tuple_count - computed: true, optional: false, required: false
get ruleTupleCount() {
return this.getNumberAttribute('rule_tuple_count');
}
get securityProfileGroup() {
return this.getStringAttribute('security_profile_group');
}
set securityProfileGroup(value) {
this._securityProfileGroup = value;
}
resetSecurityProfileGroup() {
this._securityProfileGroup = undefined;
}
// Temporarily expose input value. Use with caution.
get securityProfileGroupInput() {
return this._securityProfileGroup;
}
get targetResources() {
return this.getListAttribute('target_resources');
}
set targetResources(value) {
this._targetResources = value;
}
resetTargetResources() {
this._targetResources = undefined;
}
// Temporarily expose input value. Use with caution.
get targetResourcesInput() {
return this._targetResources;
}
get targetServiceAccounts() {
return this.getListAttribute('target_service_accounts');
}
set targetServiceAccounts(value) {
this._targetServiceAccounts = value;
}
resetTargetServiceAccounts() {
this._targetServiceAccounts = undefined;
}
// Temporarily expose input value. Use with caution.
get targetServiceAccountsInput() {
return this._targetServiceAccounts;
}
get tlsInspect() {
return this.getBooleanAttribute('tls_inspect');
}
set tlsInspect(value) {
this._tlsInspect = value;
}
resetTlsInspect() {
this._tlsInspect = undefined;
}
// Temporarily expose input value. Use with caution.
get tlsInspectInput() {
return this._tlsInspect;
}
get match() {
return this._match;
}
putMatch(value) {
this._match.internalValue = value;
}
// Temporarily expose input value. Use with caution.
get matchInput() {
return this._match.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 {
action: cdktf.stringToTerraform(this._action),
description: cdktf.stringToTerraform(this._description),
direction: cdktf.stringToTerraform(this._direction),
disabled: cdktf.booleanToTerraform(this._disabled),
enable_logging: cdktf.booleanToTerraform(this._enableLogging),
firewall_policy: cdktf.stringToTerraform(this._firewallPolicy),
id: cdktf.stringToTerraform(this._id),
priority: cdktf.numberToTerraform(this._priority),
security_profile_group: cdktf.stringToTerraform(this._securityProfileGroup),
target_resources: cdktf.listMapper(cdktf.stringToTerraform, false)(this._targetResources),
target_service_accounts: cdktf.listMapper(cdktf.stringToTerraform, false)(this._targetServiceAccounts),
tls_inspect: cdktf.booleanToTerraform(this._tlsInspect),
match: computeFirewallPolicyRuleMatchToTerraform(this._match.internalValue),
timeouts: computeFirewallPolicyRuleTimeoutsToTerraform(this._timeouts.internalValue),
};
}
synthesizeHclAttributes() {
const attrs = {
action: {
value: cdktf.stringToHclTerraform(this._action),
isBlock: false,
type: "simple",
storageClassType: "string",
},
description: {
value: cdktf.stringToHclTerraform(this._description),
isBlock: false,
type: "simple",
storageClassType: "string",
},
direction: {
value: cdktf.stringToHclTerraform(this._direction),
isBlock: false,
type: "simple",
storageClassType: "string",
},
disabled: {
value: cdktf.booleanToHclTerraform(this._disabled),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
enable_logging: {
value: cdktf.booleanToHclTerraform(this._enableLogging),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
firewall_policy: {
value: cdktf.stringToHclTerraform(this._firewallPolicy),
isBlock: false,
type: "simple",
storageClassType: "string",
},
id: {
value: cdktf.stringToHclTerraform(this._id),
isBlock: false,
type: "simple",
storageClassType: "string",
},
priority: {
value: cdktf.numberToHclTerraform(this._priority),
isBlock: false,
type: "simple",
storageClassType: "number",
},
security_profile_group: {
value: cdktf.stringToHclTerraform(this._securityProfileGroup),
isBlock: false,
type: "simple",
storageClassType: "string",
},
target_resources: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._targetResources),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
target_service_accounts: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._targetServiceAccounts),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
tls_inspect: {
value: cdktf.booleanToHclTerraform(this._tlsInspect),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
match: {
value: computeFirewallPolicyRuleMatchToHclTerraform(this._match.internalValue),
isBlock: true,
type: "list",
storageClassType: "ComputeFirewallPolicyRuleMatchList",
},
timeouts: {
value: computeFirewallPolicyRuleTimeoutsToHclTerraform(this._timeouts.internalValue),
isBlock: true,
type: "struct",
storageClassType: "ComputeFirewallPolicyRuleTimeouts",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
}
exports.ComputeFirewallPolicyRule = ComputeFirewallPolicyRule;
_e = JSII_RTTI_SYMBOL_1;
ComputeFirewallPolicyRule[_e] = { fqn: "@cdktf/provider-google.computeFirewallPolicyRule.ComputeFirewallPolicyRule", version: "14.12.0" };
// =================
// STATIC PROPERTIES
// =================
ComputeFirewallPolicyRule.tfResourceType = "google_compute_firewall_policy_rule";
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvY29tcHV0ZS1maXJld2FsbC1wb2xpY3ktcnVsZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQVNBLCtCQUErQjtBQXdIL0IsU0FBZ0Isc0RBQXNELENBQUMsTUFBd0U7SUFDN0ksSUFBSSxDQUFDLEtBQUssQ0FBQyxVQUFVLENBQUMsTUFBTSxDQUFDLElBQUksS0FBSyxDQUFDLFlBQVksQ0FBQyxZQUFZLENBQUMsTUFBTSxDQUFDLEVBQUUsQ0FBQztRQUFDLE9BQU8sTUFBTSxDQUFDO0lBQUMsQ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