@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
958 lines • 137 kB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ComputeFirewall = exports.ComputeFirewallTimeoutsOutputReference = exports.computeFirewallTimeoutsToHclTerraform = exports.computeFirewallTimeoutsToTerraform = exports.ComputeFirewallLogConfigOutputReference = exports.computeFirewallLogConfigToHclTerraform = exports.computeFirewallLogConfigToTerraform = exports.ComputeFirewallDenyList = exports.ComputeFirewallDenyOutputReference = exports.computeFirewallDenyToHclTerraform = exports.computeFirewallDenyToTerraform = exports.ComputeFirewallAllowList = exports.ComputeFirewallAllowOutputReference = exports.computeFirewallAllowToHclTerraform = exports.computeFirewallAllowToTerraform = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function computeFirewallAllowToTerraform(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 {
ports: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.ports),
protocol: cdktf.stringToTerraform(struct.protocol),
};
}
exports.computeFirewallAllowToTerraform = computeFirewallAllowToTerraform;
function computeFirewallAllowToHclTerraform(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 = {
ports: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.ports),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
protocol: {
value: cdktf.stringToHclTerraform(struct.protocol),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.computeFirewallAllowToHclTerraform = computeFirewallAllowToHclTerraform;
class ComputeFirewallAllowOutputReference 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._ports !== undefined) {
hasAnyValues = true;
internalValueResult.ports = this._ports;
}
if (this._protocol !== undefined) {
hasAnyValues = true;
internalValueResult.protocol = this._protocol;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._ports = undefined;
this._protocol = 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._ports = value.ports;
this._protocol = value.protocol;
}
}
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;
}
get protocol() {
return this.getStringAttribute('protocol');
}
set protocol(value) {
this._protocol = value;
}
// Temporarily expose input value. Use with caution.
get protocolInput() {
return this._protocol;
}
}
exports.ComputeFirewallAllowOutputReference = ComputeFirewallAllowOutputReference;
_a = JSII_RTTI_SYMBOL_1;
ComputeFirewallAllowOutputReference[_a] = { fqn: "@cdktf/provider-google.computeFirewall.ComputeFirewallAllowOutputReference", version: "14.12.0" };
class ComputeFirewallAllowList 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 ComputeFirewallAllowOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.ComputeFirewallAllowList = ComputeFirewallAllowList;
_b = JSII_RTTI_SYMBOL_1;
ComputeFirewallAllowList[_b] = { fqn: "@cdktf/provider-google.computeFirewall.ComputeFirewallAllowList", version: "14.12.0" };
function computeFirewallDenyToTerraform(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 {
ports: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.ports),
protocol: cdktf.stringToTerraform(struct.protocol),
};
}
exports.computeFirewallDenyToTerraform = computeFirewallDenyToTerraform;
function computeFirewallDenyToHclTerraform(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 = {
ports: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.ports),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
protocol: {
value: cdktf.stringToHclTerraform(struct.protocol),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.computeFirewallDenyToHclTerraform = computeFirewallDenyToHclTerraform;
class ComputeFirewallDenyOutputReference 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._ports !== undefined) {
hasAnyValues = true;
internalValueResult.ports = this._ports;
}
if (this._protocol !== undefined) {
hasAnyValues = true;
internalValueResult.protocol = this._protocol;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._ports = undefined;
this._protocol = 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._ports = value.ports;
this._protocol = value.protocol;
}
}
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;
}
get protocol() {
return this.getStringAttribute('protocol');
}
set protocol(value) {
this._protocol = value;
}
// Temporarily expose input value. Use with caution.
get protocolInput() {
return this._protocol;
}
}
exports.ComputeFirewallDenyOutputReference = ComputeFirewallDenyOutputReference;
_c = JSII_RTTI_SYMBOL_1;
ComputeFirewallDenyOutputReference[_c] = { fqn: "@cdktf/provider-google.computeFirewall.ComputeFirewallDenyOutputReference", version: "14.12.0" };
class ComputeFirewallDenyList 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 ComputeFirewallDenyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.ComputeFirewallDenyList = ComputeFirewallDenyList;
_d = JSII_RTTI_SYMBOL_1;
ComputeFirewallDenyList[_d] = { fqn: "@cdktf/provider-google.computeFirewall.ComputeFirewallDenyList", version: "14.12.0" };
function computeFirewallLogConfigToTerraform(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 {
metadata: cdktf.stringToTerraform(struct.metadata),
};
}
exports.computeFirewallLogConfigToTerraform = computeFirewallLogConfigToTerraform;
function computeFirewallLogConfigToHclTerraform(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 = {
metadata: {
value: cdktf.stringToHclTerraform(struct.metadata),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.computeFirewallLogConfigToHclTerraform = computeFirewallLogConfigToHclTerraform;
class ComputeFirewallLogConfigOutputReference 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._metadata !== undefined) {
hasAnyValues = true;
internalValueResult.metadata = this._metadata;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._metadata = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._metadata = value.metadata;
}
}
get metadata() {
return this.getStringAttribute('metadata');
}
set metadata(value) {
this._metadata = value;
}
// Temporarily expose input value. Use with caution.
get metadataInput() {
return this._metadata;
}
}
exports.ComputeFirewallLogConfigOutputReference = ComputeFirewallLogConfigOutputReference;
_e = JSII_RTTI_SYMBOL_1;
ComputeFirewallLogConfigOutputReference[_e] = { fqn: "@cdktf/provider-google.computeFirewall.ComputeFirewallLogConfigOutputReference", version: "14.12.0" };
function computeFirewallTimeoutsToTerraform(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.computeFirewallTimeoutsToTerraform = computeFirewallTimeoutsToTerraform;
function computeFirewallTimeoutsToHclTerraform(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.computeFirewallTimeoutsToHclTerraform = computeFirewallTimeoutsToHclTerraform;
class ComputeFirewallTimeoutsOutputReference 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.ComputeFirewallTimeoutsOutputReference = ComputeFirewallTimeoutsOutputReference;
_f = JSII_RTTI_SYMBOL_1;
ComputeFirewallTimeoutsOutputReference[_f] = { fqn: "@cdktf/provider-google.computeFirewall.ComputeFirewallTimeoutsOutputReference", version: "14.12.0" };
/**
* Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_firewall google_compute_firewall}
*/
class ComputeFirewall extends cdktf.TerraformResource {
// ==============
// STATIC Methods
// ==============
/**
* Generates CDKTF code for importing a ComputeFirewall 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 ComputeFirewall to import
* @param importFromId The id of the existing ComputeFirewall that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_firewall#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the ComputeFirewall to import is found
*/
static generateConfigForImport(scope, importToId, importFromId, provider) {
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "google_compute_firewall", importId: importFromId, provider });
}
// ===========
// INITIALIZER
// ===========
/**
* Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_firewall google_compute_firewall} 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 ComputeFirewallConfig
*/
constructor(scope, id, config) {
super(scope, id, {
terraformResourceType: 'google_compute_firewall',
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
});
// allow - computed: false, optional: true, required: false
this._allow = new ComputeFirewallAllowList(this, "allow", true);
// deny - computed: false, optional: true, required: false
this._deny = new ComputeFirewallDenyList(this, "deny", true);
// log_config - computed: false, optional: true, required: false
this._logConfig = new ComputeFirewallLogConfigOutputReference(this, "log_config");
// timeouts - computed: false, optional: true, required: false
this._timeouts = new ComputeFirewallTimeoutsOutputReference(this, "timeouts");
this._description = config.description;
this._destinationRanges = config.destinationRanges;
this._direction = config.direction;
this._disabled = config.disabled;
this._enableLogging = config.enableLogging;
this._id = config.id;
this._name = config.name;
this._network = config.network;
this._priority = config.priority;
this._project = config.project;
this._sourceRanges = config.sourceRanges;
this._sourceServiceAccounts = config.sourceServiceAccounts;
this._sourceTags = config.sourceTags;
this._targetServiceAccounts = config.targetServiceAccounts;
this._targetTags = config.targetTags;
this._allow.internalValue = config.allow;
this._deny.internalValue = config.deny;
this._logConfig.internalValue = config.logConfig;
this._timeouts.internalValue = config.timeouts;
}
// ==========
// ATTRIBUTES
// ==========
// 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 destinationRanges() {
return cdktf.Fn.tolist(this.getListAttribute('destination_ranges'));
}
set destinationRanges(value) {
this._destinationRanges = value;
}
resetDestinationRanges() {
this._destinationRanges = undefined;
}
// Temporarily expose input value. Use with caution.
get destinationRangesInput() {
return this._destinationRanges;
}
get direction() {
return this.getStringAttribute('direction');
}
set direction(value) {
this._direction = value;
}
resetDirection() {
this._direction = undefined;
}
// 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 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 network() {
return this.getStringAttribute('network');
}
set network(value) {
this._network = value;
}
// Temporarily expose input value. Use with caution.
get networkInput() {
return this._network;
}
get priority() {
return this.getNumberAttribute('priority');
}
set priority(value) {
this._priority = value;
}
resetPriority() {
this._priority = undefined;
}
// Temporarily expose input value. Use with caution.
get priorityInput() {
return this._priority;
}
get project() {
return this.getStringAttribute('project');
}
set project(value) {
this._project = value;
}
resetProject() {
this._project = undefined;
}
// Temporarily expose input value. Use with caution.
get projectInput() {
return this._project;
}
// self_link - computed: true, optional: false, required: false
get selfLink() {
return this.getStringAttribute('self_link');
}
get sourceRanges() {
return cdktf.Fn.tolist(this.getListAttribute('source_ranges'));
}
set sourceRanges(value) {
this._sourceRanges = value;
}
resetSourceRanges() {
this._sourceRanges = undefined;
}
// Temporarily expose input value. Use with caution.
get sourceRangesInput() {
return this._sourceRanges;
}
get sourceServiceAccounts() {
return cdktf.Fn.tolist(this.getListAttribute('source_service_accounts'));
}
set sourceServiceAccounts(value) {
this._sourceServiceAccounts = value;
}
resetSourceServiceAccounts() {
this._sourceServiceAccounts = undefined;
}
// Temporarily expose input value. Use with caution.
get sourceServiceAccountsInput() {
return this._sourceServiceAccounts;
}
get sourceTags() {
return cdktf.Fn.tolist(this.getListAttribute('source_tags'));
}
set sourceTags(value) {
this._sourceTags = value;
}
resetSourceTags() {
this._sourceTags = undefined;
}
// Temporarily expose input value. Use with caution.
get sourceTagsInput() {
return this._sourceTags;
}
get targetServiceAccounts() {
return cdktf.Fn.tolist(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 targetTags() {
return cdktf.Fn.tolist(this.getListAttribute('target_tags'));
}
set targetTags(value) {
this._targetTags = value;
}
resetTargetTags() {
this._targetTags = undefined;
}
// Temporarily expose input value. Use with caution.
get targetTagsInput() {
return this._targetTags;
}
get allow() {
return this._allow;
}
putAllow(value) {
this._allow.internalValue = value;
}
resetAllow() {
this._allow.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get allowInput() {
return this._allow.internalValue;
}
get deny() {
return this._deny;
}
putDeny(value) {
this._deny.internalValue = value;
}
resetDeny() {
this._deny.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get denyInput() {
return this._deny.internalValue;
}
get logConfig() {
return this._logConfig;
}
putLogConfig(value) {
this._logConfig.internalValue = value;
}
resetLogConfig() {
this._logConfig.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get logConfigInput() {
return this._logConfig.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 {
description: cdktf.stringToTerraform(this._description),
destination_ranges: cdktf.listMapper(cdktf.stringToTerraform, false)(this._destinationRanges),
direction: cdktf.stringToTerraform(this._direction),
disabled: cdktf.booleanToTerraform(this._disabled),
enable_logging: cdktf.booleanToTerraform(this._enableLogging),
id: cdktf.stringToTerraform(this._id),
name: cdktf.stringToTerraform(this._name),
network: cdktf.stringToTerraform(this._network),
priority: cdktf.numberToTerraform(this._priority),
project: cdktf.stringToTerraform(this._project),
source_ranges: cdktf.listMapper(cdktf.stringToTerraform, false)(this._sourceRanges),
source_service_accounts: cdktf.listMapper(cdktf.stringToTerraform, false)(this._sourceServiceAccounts),
source_tags: cdktf.listMapper(cdktf.stringToTerraform, false)(this._sourceTags),
target_service_accounts: cdktf.listMapper(cdktf.stringToTerraform, false)(this._targetServiceAccounts),
target_tags: cdktf.listMapper(cdktf.stringToTerraform, false)(this._targetTags),
allow: cdktf.listMapper(computeFirewallAllowToTerraform, true)(this._allow.internalValue),
deny: cdktf.listMapper(computeFirewallDenyToTerraform, true)(this._deny.internalValue),
log_config: computeFirewallLogConfigToTerraform(this._logConfig.internalValue),
timeouts: computeFirewallTimeoutsToTerraform(this._timeouts.internalValue),
};
}
synthesizeHclAttributes() {
const attrs = {
description: {
value: cdktf.stringToHclTerraform(this._description),
isBlock: false,
type: "simple",
storageClassType: "string",
},
destination_ranges: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._destinationRanges),
isBlock: false,
type: "set",
storageClassType: "stringList",
},
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",
},
id: {
value: cdktf.stringToHclTerraform(this._id),
isBlock: false,
type: "simple",
storageClassType: "string",
},
name: {
value: cdktf.stringToHclTerraform(this._name),
isBlock: false,
type: "simple",
storageClassType: "string",
},
network: {
value: cdktf.stringToHclTerraform(this._network),
isBlock: false,
type: "simple",
storageClassType: "string",
},
priority: {
value: cdktf.numberToHclTerraform(this._priority),
isBlock: false,
type: "simple",
storageClassType: "number",
},
project: {
value: cdktf.stringToHclTerraform(this._project),
isBlock: false,
type: "simple",
storageClassType: "string",
},
source_ranges: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._sourceRanges),
isBlock: false,
type: "set",
storageClassType: "stringList",
},
source_service_accounts: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._sourceServiceAccounts),
isBlock: false,
type: "set",
storageClassType: "stringList",
},
source_tags: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._sourceTags),
isBlock: false,
type: "set",
storageClassType: "stringList",
},
target_service_accounts: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._targetServiceAccounts),
isBlock: false,
type: "set",
storageClassType: "stringList",
},
target_tags: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._targetTags),
isBlock: false,
type: "set",
storageClassType: "stringList",
},
allow: {
value: cdktf.listMapperHcl(computeFirewallAllowToHclTerraform, true)(this._allow.internalValue),
isBlock: true,
type: "set",
storageClassType: "ComputeFirewallAllowList",
},
deny: {
value: cdktf.listMapperHcl(computeFirewallDenyToHclTerraform, true)(this._deny.internalValue),
isBlock: true,
type: "set",
storageClassType: "ComputeFirewallDenyList",
},
log_config: {
value: computeFirewallLogConfigToHclTerraform(this._logConfig.internalValue),
isBlock: true,
type: "list",
storageClassType: "ComputeFirewallLogConfigList",
},
timeouts: {
value: computeFirewallTimeoutsToHclTerraform(this._timeouts.internalValue),
isBlock: true,
type: "struct",
storageClassType: "ComputeFirewallTimeouts",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
}
exports.ComputeFirewall = ComputeFirewall;
_g = JSII_RTTI_SYMBOL_1;
ComputeFirewall[_g] = { fqn: "@cdktf/provider-google.computeFirewall.ComputeFirewall", version: "14.12.0" };
// =================
// STATIC PROPERTIES
// =================
ComputeFirewall.tfResourceType = "google_compute_firewall";
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvY29tcHV0ZS1maXJld2FsbC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQVNBLCtCQUErQjtBQXNNL0IsU0FBZ0IsK0JBQStCLENBQUMsTUFBaUQ7SUFDL0YsSUFBSSxDQUFDLEtBQUssQ0FBQyxVQUFVLENBQUMsTUFBTSxDQUFDLElBQUksS0FBSyxDQUFDLFlBQVksQ0FBQyxZQUFZLENBQUMsTUFBTSxDQUFDLEVBQUUsQ0FBQztRQUFDLE9BQU8sTUFBTSxDQUFDO0lBQUMsQ0FBQztJQUM1RixJQUFJLEtBQUssQ0FBQyxnQkFBZ0IsQ0FBQyxNQUFNLENBQUMsRUFBRSxDQUFDO1FBQ25DLE1BQU0sSUFBSSxLQUFLLENBQUMsb0hBQW9ILENBQUMsQ0FBQztJQUN4SSxDQUFDO0lBQ0QsT0FBTztRQUNMLE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