@cdktf-providers/aviatrixsystems-aviatrix 8.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +355 -0
- package/README.md +19 -0
- package/dist/account/index.d.ts +762 -0
- package/dist/account/index.js +1600 -0
- package/dist/account-user/index.d.ts +74 -0
- package/dist/account-user/index.js +151 -0
- package/dist/aws-guard-duty/index.d.ts +75 -0
- package/dist/aws-guard-duty/index.js +154 -0
- package/dist/aws-peer/index.d.ts +126 -0
- package/dist/aws-peer/index.js +257 -0
- package/dist/aws-tgw/index.d.ts +129 -0
- package/dist/aws-tgw/index.js +267 -0
- package/dist/aws-tgw-connect/index.d.ts +86 -0
- package/dist/aws-tgw-connect/index.js +179 -0
- package/dist/aws-tgw-connect-peer/index.d.ts +126 -0
- package/dist/aws-tgw-connect-peer/index.js +258 -0
- package/dist/aws-tgw-directconnect/index.d.ts +105 -0
- package/dist/aws-tgw-directconnect/index.js +214 -0
- package/dist/aws-tgw-intra-domain-inspection/index.d.ts +74 -0
- package/dist/aws-tgw-intra-domain-inspection/index.js +151 -0
- package/dist/aws-tgw-network-domain/index.d.ts +97 -0
- package/dist/aws-tgw-network-domain/index.js +200 -0
- package/dist/aws-tgw-peering/index.d.ts +64 -0
- package/dist/aws-tgw-peering/index.js +131 -0
- package/dist/aws-tgw-peering-domain-conn/index.d.ts +84 -0
- package/dist/aws-tgw-peering-domain-conn/index.js +171 -0
- package/dist/aws-tgw-transit-gateway-attachment/index.d.ts +94 -0
- package/dist/aws-tgw-transit-gateway-attachment/index.js +191 -0
- package/dist/aws-tgw-vpc-attachment/index.d.ts +160 -0
- package/dist/aws-tgw-vpc-attachment/index.js +329 -0
- package/dist/aws-tgw-vpn-conn/index.d.ts +225 -0
- package/dist/aws-tgw-vpn-conn/index.js +485 -0
- package/dist/azure-peer/index.d.ts +106 -0
- package/dist/azure-peer/index.js +219 -0
- package/dist/azure-spoke-native-peering/index.d.ts +84 -0
- package/dist/azure-spoke-native-peering/index.js +171 -0
- package/dist/azure-vng-conn/index.d.ts +67 -0
- package/dist/azure-vng-conn/index.js +143 -0
- package/dist/centralized-transit-firenet/index.d.ts +64 -0
- package/dist/centralized-transit-firenet/index.js +131 -0
- package/dist/cloudwatch-agent/index.d.ts +87 -0
- package/dist/cloudwatch-agent/index.js +181 -0
- package/dist/controller-access-allow-list-config/index.d.ts +119 -0
- package/dist/controller-access-allow-list-config/index.js +267 -0
- package/dist/controller-bgp-communities-auto-cloud-config/index.d.ts +64 -0
- package/dist/controller-bgp-communities-auto-cloud-config/index.js +131 -0
- package/dist/controller-bgp-communities-global-config/index.d.ts +54 -0
- package/dist/controller-bgp-communities-global-config/index.js +111 -0
- package/dist/controller-bgp-max-as-limit-config/index.d.ts +54 -0
- package/dist/controller-bgp-max-as-limit-config/index.js +111 -0
- package/dist/controller-cert-domain-config/index.d.ts +55 -0
- package/dist/controller-cert-domain-config/index.js +114 -0
- package/dist/controller-config/index.d.ts +267 -0
- package/dist/controller-config/index.js +563 -0
- package/dist/controller-email-config/index.d.ts +99 -0
- package/dist/controller-email-config/index.js +210 -0
- package/dist/controller-email-exception-notification-config/index.d.ts +55 -0
- package/dist/controller-email-exception-notification-config/index.js +114 -0
- package/dist/controller-gateway-keepalive-config/index.d.ts +54 -0
- package/dist/controller-gateway-keepalive-config/index.js +111 -0
- package/dist/controller-private-mode-config/index.d.ts +65 -0
- package/dist/controller-private-mode-config/index.js +134 -0
- package/dist/controller-private-oob/index.d.ts +55 -0
- package/dist/controller-private-oob/index.js +114 -0
- package/dist/controller-security-group-management-config/index.d.ts +65 -0
- package/dist/controller-security-group-management-config/index.js +134 -0
- package/dist/copilot-association/index.d.ts +54 -0
- package/dist/copilot-association/index.js +111 -0
- package/dist/copilot-fault-tolerant-deployment/index.d.ts +212 -0
- package/dist/copilot-fault-tolerant-deployment/index.js +468 -0
- package/dist/copilot-security-group-management-config/index.d.ts +120 -0
- package/dist/copilot-security-group-management-config/index.js +249 -0
- package/dist/copilot-simple-deployment/index.d.ts +138 -0
- package/dist/copilot-simple-deployment/index.js +285 -0
- package/dist/data-aviatrix-account/index.d.ts +73 -0
- package/dist/data-aviatrix-account/index.js +187 -0
- package/dist/data-aviatrix-caller-identity/index.d.ts +45 -0
- package/dist/data-aviatrix-caller-identity/index.js +95 -0
- package/dist/data-aviatrix-controller-metadata/index.d.ts +48 -0
- package/dist/data-aviatrix-controller-metadata/index.js +107 -0
- package/dist/data-aviatrix-device-interfaces/index.d.ts +89 -0
- package/dist/data-aviatrix-device-interfaces/index.js +190 -0
- package/dist/data-aviatrix-edge-gateway-wan-interface-discovery/index.d.ts +65 -0
- package/dist/data-aviatrix-edge-gateway-wan-interface-discovery/index.js +135 -0
- package/dist/data-aviatrix-firenet/index.d.ts +59 -0
- package/dist/data-aviatrix-firenet/index.js +131 -0
- package/dist/data-aviatrix-firenet-firewall-manager/index.d.ts +184 -0
- package/dist/data-aviatrix-firenet-firewall-manager/index.js +381 -0
- package/dist/data-aviatrix-firenet-vendor-integration/index.d.ts +195 -0
- package/dist/data-aviatrix-firenet-vendor-integration/index.js +404 -0
- package/dist/data-aviatrix-firewall/index.d.ts +96 -0
- package/dist/data-aviatrix-firewall/index.js +218 -0
- package/dist/data-aviatrix-firewall-instance-images/index.d.ts +90 -0
- package/dist/data-aviatrix-firewall-instance-images/index.js +194 -0
- package/dist/data-aviatrix-gateway/index.d.ts +135 -0
- package/dist/data-aviatrix-gateway/index.js +432 -0
- package/dist/data-aviatrix-gateway-image/index.d.ts +65 -0
- package/dist/data-aviatrix-gateway-image/index.js +135 -0
- package/dist/data-aviatrix-network-domains/index.d.ts +89 -0
- package/dist/data-aviatrix-network-domains/index.js +210 -0
- package/dist/data-aviatrix-smart-groups/index.d.ts +161 -0
- package/dist/data-aviatrix-smart-groups/index.js +373 -0
- package/dist/data-aviatrix-spoke-gateway/index.d.ts +125 -0
- package/dist/data-aviatrix-spoke-gateway/index.js +392 -0
- package/dist/data-aviatrix-spoke-gateway-inspection-subnets/index.d.ts +55 -0
- package/dist/data-aviatrix-spoke-gateway-inspection-subnets/index.js +115 -0
- package/dist/data-aviatrix-spoke-gateways/index.d.ts +130 -0
- package/dist/data-aviatrix-spoke-gateways/index.js +374 -0
- package/dist/data-aviatrix-transit-gateway/index.d.ts +208 -0
- package/dist/data-aviatrix-transit-gateway/index.js +602 -0
- package/dist/data-aviatrix-transit-gateways/index.d.ts +202 -0
- package/dist/data-aviatrix-transit-gateways/index.js +540 -0
- package/dist/data-aviatrix-vpc/index.d.ts +187 -0
- package/dist/data-aviatrix-vpc/index.js +439 -0
- package/dist/data-aviatrix-vpc-tracker/index.d.ts +165 -0
- package/dist/data-aviatrix-vpc-tracker/index.js +369 -0
- package/dist/datadog-agent/index.d.ts +88 -0
- package/dist/datadog-agent/index.js +184 -0
- package/dist/device-interface-config/index.d.ts +74 -0
- package/dist/device-interface-config/index.js +151 -0
- package/dist/distributed-firewalling-config/index.d.ts +55 -0
- package/dist/distributed-firewalling-config/index.js +114 -0
- package/dist/distributed-firewalling-default-action-rule/index.d.ts +64 -0
- package/dist/distributed-firewalling-default-action-rule/index.js +131 -0
- package/dist/distributed-firewalling-intra-vpc/index.d.ts +117 -0
- package/dist/distributed-firewalling-intra-vpc/index.js +266 -0
- package/dist/distributed-firewalling-origin-cert-enforcement-config/index.d.ts +55 -0
- package/dist/distributed-firewalling-origin-cert-enforcement-config/index.js +114 -0
- package/dist/distributed-firewalling-policy-list/index.d.ts +291 -0
- package/dist/distributed-firewalling-policy-list/index.js +705 -0
- package/dist/distributed-firewalling-proxy-ca-config/index.d.ts +69 -0
- package/dist/distributed-firewalling-proxy-ca-config/index.js +151 -0
- package/dist/edge-csp/index.d.ts +693 -0
- package/dist/edge-csp/index.js +1561 -0
- package/dist/edge-csp-ha/index.d.ts +227 -0
- package/dist/edge-csp-ha/index.js +532 -0
- package/dist/edge-equinix/index.d.ts +651 -0
- package/dist/edge-equinix/index.js +1475 -0
- package/dist/edge-equinix-ha/index.d.ts +227 -0
- package/dist/edge-equinix-ha/index.js +532 -0
- package/dist/edge-gateway-selfmanaged/index.d.ts +607 -0
- package/dist/edge-gateway-selfmanaged/index.js +1378 -0
- package/dist/edge-gateway-selfmanaged-ha/index.d.ts +246 -0
- package/dist/edge-gateway-selfmanaged-ha/index.js +558 -0
- package/dist/edge-megaport/index.d.ts +704 -0
- package/dist/edge-megaport/index.js +1600 -0
- package/dist/edge-megaport-ha/index.d.ts +206 -0
- package/dist/edge-megaport-ha/index.js +479 -0
- package/dist/edge-neo/index.d.ts +669 -0
- package/dist/edge-neo/index.js +1509 -0
- package/dist/edge-neo-device-onboarding/index.d.ts +216 -0
- package/dist/edge-neo-device-onboarding/index.js +489 -0
- package/dist/edge-neo-ha/index.d.ts +227 -0
- package/dist/edge-neo-ha/index.js +532 -0
- package/dist/edge-platform/index.d.ts +691 -0
- package/dist/edge-platform/index.js +1555 -0
- package/dist/edge-platform-device-onboarding/index.d.ts +216 -0
- package/dist/edge-platform-device-onboarding/index.js +489 -0
- package/dist/edge-platform-ha/index.d.ts +227 -0
- package/dist/edge-platform-ha/index.js +532 -0
- package/dist/edge-proxy-profile/index.d.ts +98 -0
- package/dist/edge-proxy-profile/index.js +204 -0
- package/dist/edge-spoke/index.d.ts +434 -0
- package/dist/edge-spoke/index.js +953 -0
- package/dist/edge-spoke-external-device-conn/index.d.ts +371 -0
- package/dist/edge-spoke-external-device-conn/index.js +800 -0
- package/dist/edge-spoke-transit-attachment/index.d.ts +197 -0
- package/dist/edge-spoke-transit-attachment/index.js +411 -0
- package/dist/edge-vm-selfmanaged/index.d.ts +423 -0
- package/dist/edge-vm-selfmanaged/index.js +930 -0
- package/dist/edge-vm-selfmanaged-ha/index.d.ts +202 -0
- package/dist/edge-vm-selfmanaged-ha/index.js +456 -0
- package/dist/edge-zededa/index.d.ts +693 -0
- package/dist/edge-zededa/index.js +1561 -0
- package/dist/edge-zededa-ha/index.d.ts +227 -0
- package/dist/edge-zededa-ha/index.js +532 -0
- package/dist/filebeat-forwarder/index.d.ts +98 -0
- package/dist/filebeat-forwarder/index.js +204 -0
- package/dist/firenet/index.d.ts +120 -0
- package/dist/firenet/index.js +249 -0
- package/dist/firewall/index.d.ts +204 -0
- package/dist/firewall/index.js +467 -0
- package/dist/firewall-instance/index.d.ts +384 -0
- package/dist/firewall-instance/index.js +794 -0
- package/dist/firewall-instance-association/index.d.ts +141 -0
- package/dist/firewall-instance-association/index.js +292 -0
- package/dist/firewall-management-access/index.d.ts +64 -0
- package/dist/firewall-management-access/index.js +131 -0
- package/dist/firewall-policy/index.d.ts +138 -0
- package/dist/firewall-policy/index.js +283 -0
- package/dist/firewall-tag/index.d.ts +118 -0
- package/dist/firewall-tag/index.js +264 -0
- package/dist/fqdn/index.d.ts +237 -0
- package/dist/fqdn/index.js +542 -0
- package/dist/fqdn-global-config/index.d.ts +110 -0
- package/dist/fqdn-global-config/index.js +229 -0
- package/dist/fqdn-pass-through/index.d.ts +64 -0
- package/dist/fqdn-pass-through/index.js +131 -0
- package/dist/fqdn-tag-rule/index.d.ts +95 -0
- package/dist/fqdn-tag-rule/index.js +194 -0
- package/dist/gateway/index.d.ts +913 -0
- package/dist/gateway/index.js +1904 -0
- package/dist/gateway-certificate-config/index.d.ts +64 -0
- package/dist/gateway-certificate-config/index.js +131 -0
- package/dist/gateway-dnat/index.d.ts +319 -0
- package/dist/gateway-dnat/index.js +785 -0
- package/dist/gateway-snat/index.d.ts +342 -0
- package/dist/gateway-snat/index.js +834 -0
- package/dist/geo-vpn/index.d.ts +94 -0
- package/dist/geo-vpn/index.js +191 -0
- package/dist/global-vpc-excluded-instance/index.d.ts +75 -0
- package/dist/global-vpc-excluded-instance/index.js +155 -0
- package/dist/global-vpc-tagging-settings/index.d.ts +64 -0
- package/dist/global-vpc-tagging-settings/index.js +131 -0
- package/dist/index.d.ts +150 -0
- package/dist/index.js +151 -0
- package/dist/kubernetes-cluster/index.d.ts +232 -0
- package/dist/kubernetes-cluster/index.js +534 -0
- package/dist/lazy-index.d.ts +0 -0
- package/dist/lazy-index.js +151 -0
- package/dist/link-hierarchy/index.d.ts +161 -0
- package/dist/link-hierarchy/index.js +370 -0
- package/dist/netflow-agent/index.d.ts +98 -0
- package/dist/netflow-agent/index.js +204 -0
- package/dist/periodic-ping/index.d.ts +74 -0
- package/dist/periodic-ping/index.js +151 -0
- package/dist/private-mode-lb/index.d.ts +159 -0
- package/dist/private-mode-lb/index.js +347 -0
- package/dist/private-mode-multicloud-endpoint/index.d.ts +85 -0
- package/dist/private-mode-multicloud-endpoint/index.js +175 -0
- package/dist/provider/index.d.ts +121 -0
- package/dist/provider/index.js +273 -0
- package/dist/proxy-config/index.d.ts +75 -0
- package/dist/proxy-config/index.js +154 -0
- package/dist/qos-class/index.d.ts +65 -0
- package/dist/qos-class/index.js +135 -0
- package/dist/qos-policy-list/index.d.ts +118 -0
- package/dist/qos-policy-list/index.js +270 -0
- package/dist/rbac-group/index.d.ts +65 -0
- package/dist/rbac-group/index.js +134 -0
- package/dist/rbac-group-access-account-attachment/index.d.ts +64 -0
- package/dist/rbac-group-access-account-attachment/index.js +131 -0
- package/dist/rbac-group-permission-attachment/index.d.ts +64 -0
- package/dist/rbac-group-permission-attachment/index.js +131 -0
- package/dist/rbac-group-user-attachment/index.d.ts +64 -0
- package/dist/rbac-group-user-attachment/index.js +131 -0
- package/dist/remote-syslog/index.d.ts +154 -0
- package/dist/remote-syslog/index.js +323 -0
- package/dist/saml-endpoint/index.d.ts +152 -0
- package/dist/saml-endpoint/index.js +315 -0
- package/dist/segmentation-network-domain/index.d.ts +54 -0
- package/dist/segmentation-network-domain/index.js +111 -0
- package/dist/segmentation-network-domain-association/index.d.ts +75 -0
- package/dist/segmentation-network-domain-association/index.js +154 -0
- package/dist/segmentation-network-domain-connection-policy/index.d.ts +64 -0
- package/dist/segmentation-network-domain-connection-policy/index.js +131 -0
- package/dist/site2cloud/index.d.ts +642 -0
- package/dist/site2cloud/index.js +1335 -0
- package/dist/site2cloud-ca-cert-tag/index.d.ts +112 -0
- package/dist/site2cloud-ca-cert-tag/index.js +256 -0
- package/dist/sla-class/index.d.ts +85 -0
- package/dist/sla-class/index.js +175 -0
- package/dist/smart-group/index.d.ts +336 -0
- package/dist/smart-group/index.js +789 -0
- package/dist/splunk-logging/index.d.ts +100 -0
- package/dist/splunk-logging/index.js +210 -0
- package/dist/spoke-external-device-conn/index.d.ts +638 -0
- package/dist/spoke-external-device-conn/index.js +1361 -0
- package/dist/spoke-gateway/index.d.ts +903 -0
- package/dist/spoke-gateway/index.js +1885 -0
- package/dist/spoke-gateway-subnet-group/index.d.ts +75 -0
- package/dist/spoke-gateway-subnet-group/index.js +154 -0
- package/dist/spoke-ha-gateway/index.d.ts +172 -0
- package/dist/spoke-ha-gateway/index.js +374 -0
- package/dist/spoke-transit-attachment/index.d.ts +131 -0
- package/dist/spoke-transit-attachment/index.js +273 -0
- package/dist/sumologic-forwarder/index.d.ts +98 -0
- package/dist/sumologic-forwarder/index.js +204 -0
- package/dist/traffic-classifier/index.d.ts +239 -0
- package/dist/traffic-classifier/index.js +574 -0
- package/dist/trans-peer/index.d.ts +74 -0
- package/dist/trans-peer/index.js +151 -0
- package/dist/transit-external-device-conn/index.d.ts +694 -0
- package/dist/transit-external-device-conn/index.js +1479 -0
- package/dist/transit-firenet-policy/index.d.ts +64 -0
- package/dist/transit-firenet-policy/index.js +131 -0
- package/dist/transit-gateway/index.d.ts +1566 -0
- package/dist/transit-gateway/index.js +3442 -0
- package/dist/transit-gateway-peering/index.d.ts +240 -0
- package/dist/transit-gateway-peering/index.js +499 -0
- package/dist/tunnel/index.d.ts +78 -0
- package/dist/tunnel/index.js +166 -0
- package/dist/vgw-conn/index.d.ts +158 -0
- package/dist/vgw-conn/index.js +323 -0
- package/dist/vpc/index.d.ts +339 -0
- package/dist/vpc/index.js +758 -0
- package/dist/vpn-cert-download/index.d.ts +66 -0
- package/dist/vpn-cert-download/index.js +137 -0
- package/dist/vpn-profile/index.d.ts +169 -0
- package/dist/vpn-profile/index.js +383 -0
- package/dist/vpn-user/index.d.ts +129 -0
- package/dist/vpn-user/index.js +272 -0
- package/dist/vpn-user-accelerator/index.d.ts +54 -0
- package/dist/vpn-user-accelerator/index.js +111 -0
- package/dist/web-group/index.d.ts +144 -0
- package/dist/web-group/index.js +341 -0
- package/package.json +51 -0
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/filebeat_forwarder
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/filebeat_forwarder aviatrix_filebeat_forwarder}
|
|
6
|
+
*/
|
|
7
|
+
export class FilebeatForwarder extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_filebeat_forwarder";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a FilebeatForwarder resource upon running "cdktf plan <stack-name>"
|
|
17
|
+
* @param scope The scope in which to define this construct
|
|
18
|
+
* @param importToId The construct id used in the generated config for the FilebeatForwarder to import
|
|
19
|
+
* @param importFromId The id of the existing FilebeatForwarder that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/filebeat_forwarder#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the FilebeatForwarder to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_filebeat_forwarder", importId: importFromId, provider });
|
|
24
|
+
}
|
|
25
|
+
// ===========
|
|
26
|
+
// INITIALIZER
|
|
27
|
+
// ===========
|
|
28
|
+
/**
|
|
29
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/filebeat_forwarder aviatrix_filebeat_forwarder} Resource
|
|
30
|
+
*
|
|
31
|
+
* @param scope The scope in which to define this construct
|
|
32
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
33
|
+
* @param options FilebeatForwarderConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_filebeat_forwarder',
|
|
38
|
+
terraformGeneratorMetadata: {
|
|
39
|
+
providerName: 'aviatrix',
|
|
40
|
+
providerVersion: '8.1.10',
|
|
41
|
+
providerVersionConstraint: '8.1.10'
|
|
42
|
+
},
|
|
43
|
+
provider: config.provider,
|
|
44
|
+
dependsOn: config.dependsOn,
|
|
45
|
+
count: config.count,
|
|
46
|
+
lifecycle: config.lifecycle,
|
|
47
|
+
provisioners: config.provisioners,
|
|
48
|
+
connection: config.connection,
|
|
49
|
+
forEach: config.forEach
|
|
50
|
+
});
|
|
51
|
+
this._configFile = config.configFile;
|
|
52
|
+
this._excludedGateways = config.excludedGateways;
|
|
53
|
+
this._id = config.id;
|
|
54
|
+
this._port = config.port;
|
|
55
|
+
this._server = config.server;
|
|
56
|
+
this._trustedCaFile = config.trustedCaFile;
|
|
57
|
+
}
|
|
58
|
+
// ==========
|
|
59
|
+
// ATTRIBUTES
|
|
60
|
+
// ==========
|
|
61
|
+
// config_file - computed: false, optional: true, required: false
|
|
62
|
+
_configFile;
|
|
63
|
+
get configFile() {
|
|
64
|
+
return this.getStringAttribute('config_file');
|
|
65
|
+
}
|
|
66
|
+
set configFile(value) {
|
|
67
|
+
this._configFile = value;
|
|
68
|
+
}
|
|
69
|
+
resetConfigFile() {
|
|
70
|
+
this._configFile = undefined;
|
|
71
|
+
}
|
|
72
|
+
// Temporarily expose input value. Use with caution.
|
|
73
|
+
get configFileInput() {
|
|
74
|
+
return this._configFile;
|
|
75
|
+
}
|
|
76
|
+
// excluded_gateways - computed: false, optional: true, required: false
|
|
77
|
+
_excludedGateways;
|
|
78
|
+
get excludedGateways() {
|
|
79
|
+
return cdktf.Fn.tolist(this.getListAttribute('excluded_gateways'));
|
|
80
|
+
}
|
|
81
|
+
set excludedGateways(value) {
|
|
82
|
+
this._excludedGateways = value;
|
|
83
|
+
}
|
|
84
|
+
resetExcludedGateways() {
|
|
85
|
+
this._excludedGateways = undefined;
|
|
86
|
+
}
|
|
87
|
+
// Temporarily expose input value. Use with caution.
|
|
88
|
+
get excludedGatewaysInput() {
|
|
89
|
+
return this._excludedGateways;
|
|
90
|
+
}
|
|
91
|
+
// id - computed: true, optional: true, required: false
|
|
92
|
+
_id;
|
|
93
|
+
get id() {
|
|
94
|
+
return this.getStringAttribute('id');
|
|
95
|
+
}
|
|
96
|
+
set id(value) {
|
|
97
|
+
this._id = value;
|
|
98
|
+
}
|
|
99
|
+
resetId() {
|
|
100
|
+
this._id = undefined;
|
|
101
|
+
}
|
|
102
|
+
// Temporarily expose input value. Use with caution.
|
|
103
|
+
get idInput() {
|
|
104
|
+
return this._id;
|
|
105
|
+
}
|
|
106
|
+
// port - computed: false, optional: false, required: true
|
|
107
|
+
_port;
|
|
108
|
+
get port() {
|
|
109
|
+
return this.getNumberAttribute('port');
|
|
110
|
+
}
|
|
111
|
+
set port(value) {
|
|
112
|
+
this._port = value;
|
|
113
|
+
}
|
|
114
|
+
// Temporarily expose input value. Use with caution.
|
|
115
|
+
get portInput() {
|
|
116
|
+
return this._port;
|
|
117
|
+
}
|
|
118
|
+
// server - computed: false, optional: false, required: true
|
|
119
|
+
_server;
|
|
120
|
+
get server() {
|
|
121
|
+
return this.getStringAttribute('server');
|
|
122
|
+
}
|
|
123
|
+
set server(value) {
|
|
124
|
+
this._server = value;
|
|
125
|
+
}
|
|
126
|
+
// Temporarily expose input value. Use with caution.
|
|
127
|
+
get serverInput() {
|
|
128
|
+
return this._server;
|
|
129
|
+
}
|
|
130
|
+
// status - computed: true, optional: false, required: false
|
|
131
|
+
get status() {
|
|
132
|
+
return this.getStringAttribute('status');
|
|
133
|
+
}
|
|
134
|
+
// trusted_ca_file - computed: false, optional: true, required: false
|
|
135
|
+
_trustedCaFile;
|
|
136
|
+
get trustedCaFile() {
|
|
137
|
+
return this.getStringAttribute('trusted_ca_file');
|
|
138
|
+
}
|
|
139
|
+
set trustedCaFile(value) {
|
|
140
|
+
this._trustedCaFile = value;
|
|
141
|
+
}
|
|
142
|
+
resetTrustedCaFile() {
|
|
143
|
+
this._trustedCaFile = undefined;
|
|
144
|
+
}
|
|
145
|
+
// Temporarily expose input value. Use with caution.
|
|
146
|
+
get trustedCaFileInput() {
|
|
147
|
+
return this._trustedCaFile;
|
|
148
|
+
}
|
|
149
|
+
// =========
|
|
150
|
+
// SYNTHESIS
|
|
151
|
+
// =========
|
|
152
|
+
synthesizeAttributes() {
|
|
153
|
+
return {
|
|
154
|
+
config_file: cdktf.stringToTerraform(this._configFile),
|
|
155
|
+
excluded_gateways: cdktf.listMapper(cdktf.stringToTerraform, false)(this._excludedGateways),
|
|
156
|
+
id: cdktf.stringToTerraform(this._id),
|
|
157
|
+
port: cdktf.numberToTerraform(this._port),
|
|
158
|
+
server: cdktf.stringToTerraform(this._server),
|
|
159
|
+
trusted_ca_file: cdktf.stringToTerraform(this._trustedCaFile),
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
synthesizeHclAttributes() {
|
|
163
|
+
const attrs = {
|
|
164
|
+
config_file: {
|
|
165
|
+
value: cdktf.stringToHclTerraform(this._configFile),
|
|
166
|
+
isBlock: false,
|
|
167
|
+
type: "simple",
|
|
168
|
+
storageClassType: "string",
|
|
169
|
+
},
|
|
170
|
+
excluded_gateways: {
|
|
171
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._excludedGateways),
|
|
172
|
+
isBlock: false,
|
|
173
|
+
type: "set",
|
|
174
|
+
storageClassType: "stringList",
|
|
175
|
+
},
|
|
176
|
+
id: {
|
|
177
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
178
|
+
isBlock: false,
|
|
179
|
+
type: "simple",
|
|
180
|
+
storageClassType: "string",
|
|
181
|
+
},
|
|
182
|
+
port: {
|
|
183
|
+
value: cdktf.numberToHclTerraform(this._port),
|
|
184
|
+
isBlock: false,
|
|
185
|
+
type: "simple",
|
|
186
|
+
storageClassType: "number",
|
|
187
|
+
},
|
|
188
|
+
server: {
|
|
189
|
+
value: cdktf.stringToHclTerraform(this._server),
|
|
190
|
+
isBlock: false,
|
|
191
|
+
type: "simple",
|
|
192
|
+
storageClassType: "string",
|
|
193
|
+
},
|
|
194
|
+
trusted_ca_file: {
|
|
195
|
+
value: cdktf.stringToHclTerraform(this._trustedCaFile),
|
|
196
|
+
isBlock: false,
|
|
197
|
+
type: "simple",
|
|
198
|
+
storageClassType: "string",
|
|
199
|
+
},
|
|
200
|
+
};
|
|
201
|
+
// remove undefined attributes
|
|
202
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
203
|
+
}
|
|
204
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface FirenetConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Network List Excluded From East-West Inspection. CIDRs to be excluded from inspection. Type: Set(String). Available as of provider version R2.19.2+.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/firenet#east_west_inspection_excluded_cidrs Firenet#east_west_inspection_excluded_cidrs}
|
|
8
|
+
*/
|
|
9
|
+
readonly eastWestInspectionExcludedCidrs?: string[];
|
|
10
|
+
/**
|
|
11
|
+
* Enable/Disable egress through firewall.
|
|
12
|
+
*
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/firenet#egress_enabled Firenet#egress_enabled}
|
|
14
|
+
*/
|
|
15
|
+
readonly egressEnabled?: boolean | cdktf.IResolvable;
|
|
16
|
+
/**
|
|
17
|
+
* List of egress static cidrs.
|
|
18
|
+
*
|
|
19
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/firenet#egress_static_cidrs Firenet#egress_static_cidrs}
|
|
20
|
+
*/
|
|
21
|
+
readonly egressStaticCidrs?: string[];
|
|
22
|
+
/**
|
|
23
|
+
* Hashing algorithm to load balance traffic across the firewall.
|
|
24
|
+
*
|
|
25
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/firenet#hashing_algorithm Firenet#hashing_algorithm}
|
|
26
|
+
*/
|
|
27
|
+
readonly hashingAlgorithm?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/firenet#id Firenet#id}
|
|
30
|
+
*
|
|
31
|
+
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
32
|
+
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
33
|
+
*/
|
|
34
|
+
readonly id?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Enable/Disable traffic inspection.
|
|
37
|
+
*
|
|
38
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/firenet#inspection_enabled Firenet#inspection_enabled}
|
|
39
|
+
*/
|
|
40
|
+
readonly inspectionEnabled?: boolean | cdktf.IResolvable;
|
|
41
|
+
/**
|
|
42
|
+
* Enable TGW segmentation for egress.
|
|
43
|
+
*
|
|
44
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/firenet#tgw_segmentation_for_egress_enabled Firenet#tgw_segmentation_for_egress_enabled}
|
|
45
|
+
*/
|
|
46
|
+
readonly tgwSegmentationForEgressEnabled?: boolean | cdktf.IResolvable;
|
|
47
|
+
/**
|
|
48
|
+
* VPC ID.
|
|
49
|
+
*
|
|
50
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/firenet#vpc_id Firenet#vpc_id}
|
|
51
|
+
*/
|
|
52
|
+
readonly vpcId: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/firenet aviatrix_firenet}
|
|
56
|
+
*/
|
|
57
|
+
export declare class Firenet extends cdktf.TerraformResource {
|
|
58
|
+
static readonly tfResourceType = "aviatrix_firenet";
|
|
59
|
+
/**
|
|
60
|
+
* Generates CDKTF code for importing a Firenet resource upon running "cdktf plan <stack-name>"
|
|
61
|
+
* @param scope The scope in which to define this construct
|
|
62
|
+
* @param importToId The construct id used in the generated config for the Firenet to import
|
|
63
|
+
* @param importFromId The id of the existing Firenet that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/firenet#import import section} in the documentation of this resource for the id to use
|
|
64
|
+
* @param provider? Optional instance of the provider where the Firenet to import is found
|
|
65
|
+
*/
|
|
66
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
67
|
+
/**
|
|
68
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/firenet aviatrix_firenet} Resource
|
|
69
|
+
*
|
|
70
|
+
* @param scope The scope in which to define this construct
|
|
71
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
72
|
+
* @param options FirenetConfig
|
|
73
|
+
*/
|
|
74
|
+
constructor(scope: Construct, id: string, config: FirenetConfig);
|
|
75
|
+
private _eastWestInspectionExcludedCidrs?;
|
|
76
|
+
get eastWestInspectionExcludedCidrs(): string[];
|
|
77
|
+
set eastWestInspectionExcludedCidrs(value: string[]);
|
|
78
|
+
resetEastWestInspectionExcludedCidrs(): void;
|
|
79
|
+
get eastWestInspectionExcludedCidrsInput(): string[];
|
|
80
|
+
private _egressEnabled?;
|
|
81
|
+
get egressEnabled(): boolean | cdktf.IResolvable;
|
|
82
|
+
set egressEnabled(value: boolean | cdktf.IResolvable);
|
|
83
|
+
resetEgressEnabled(): void;
|
|
84
|
+
get egressEnabledInput(): any;
|
|
85
|
+
private _egressStaticCidrs?;
|
|
86
|
+
get egressStaticCidrs(): string[];
|
|
87
|
+
set egressStaticCidrs(value: string[]);
|
|
88
|
+
resetEgressStaticCidrs(): void;
|
|
89
|
+
get egressStaticCidrsInput(): string[];
|
|
90
|
+
private _hashingAlgorithm?;
|
|
91
|
+
get hashingAlgorithm(): string;
|
|
92
|
+
set hashingAlgorithm(value: string);
|
|
93
|
+
resetHashingAlgorithm(): void;
|
|
94
|
+
get hashingAlgorithmInput(): string;
|
|
95
|
+
private _id?;
|
|
96
|
+
get id(): string;
|
|
97
|
+
set id(value: string);
|
|
98
|
+
resetId(): void;
|
|
99
|
+
get idInput(): string;
|
|
100
|
+
private _inspectionEnabled?;
|
|
101
|
+
get inspectionEnabled(): boolean | cdktf.IResolvable;
|
|
102
|
+
set inspectionEnabled(value: boolean | cdktf.IResolvable);
|
|
103
|
+
resetInspectionEnabled(): void;
|
|
104
|
+
get inspectionEnabledInput(): any;
|
|
105
|
+
private _tgwSegmentationForEgressEnabled?;
|
|
106
|
+
get tgwSegmentationForEgressEnabled(): boolean | cdktf.IResolvable;
|
|
107
|
+
set tgwSegmentationForEgressEnabled(value: boolean | cdktf.IResolvable);
|
|
108
|
+
resetTgwSegmentationForEgressEnabled(): void;
|
|
109
|
+
get tgwSegmentationForEgressEnabledInput(): any;
|
|
110
|
+
private _vpcId?;
|
|
111
|
+
get vpcId(): string;
|
|
112
|
+
set vpcId(value: string);
|
|
113
|
+
get vpcIdInput(): string;
|
|
114
|
+
protected synthesizeAttributes(): {
|
|
115
|
+
[name: string]: any;
|
|
116
|
+
};
|
|
117
|
+
protected synthesizeHclAttributes(): {
|
|
118
|
+
[name: string]: any;
|
|
119
|
+
};
|
|
120
|
+
}
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/firenet
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/firenet aviatrix_firenet}
|
|
6
|
+
*/
|
|
7
|
+
export class Firenet extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_firenet";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a Firenet resource upon running "cdktf plan <stack-name>"
|
|
17
|
+
* @param scope The scope in which to define this construct
|
|
18
|
+
* @param importToId The construct id used in the generated config for the Firenet to import
|
|
19
|
+
* @param importFromId The id of the existing Firenet that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/firenet#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the Firenet to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_firenet", importId: importFromId, provider });
|
|
24
|
+
}
|
|
25
|
+
// ===========
|
|
26
|
+
// INITIALIZER
|
|
27
|
+
// ===========
|
|
28
|
+
/**
|
|
29
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/firenet aviatrix_firenet} Resource
|
|
30
|
+
*
|
|
31
|
+
* @param scope The scope in which to define this construct
|
|
32
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
33
|
+
* @param options FirenetConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_firenet',
|
|
38
|
+
terraformGeneratorMetadata: {
|
|
39
|
+
providerName: 'aviatrix',
|
|
40
|
+
providerVersion: '8.1.10',
|
|
41
|
+
providerVersionConstraint: '8.1.10'
|
|
42
|
+
},
|
|
43
|
+
provider: config.provider,
|
|
44
|
+
dependsOn: config.dependsOn,
|
|
45
|
+
count: config.count,
|
|
46
|
+
lifecycle: config.lifecycle,
|
|
47
|
+
provisioners: config.provisioners,
|
|
48
|
+
connection: config.connection,
|
|
49
|
+
forEach: config.forEach
|
|
50
|
+
});
|
|
51
|
+
this._eastWestInspectionExcludedCidrs = config.eastWestInspectionExcludedCidrs;
|
|
52
|
+
this._egressEnabled = config.egressEnabled;
|
|
53
|
+
this._egressStaticCidrs = config.egressStaticCidrs;
|
|
54
|
+
this._hashingAlgorithm = config.hashingAlgorithm;
|
|
55
|
+
this._id = config.id;
|
|
56
|
+
this._inspectionEnabled = config.inspectionEnabled;
|
|
57
|
+
this._tgwSegmentationForEgressEnabled = config.tgwSegmentationForEgressEnabled;
|
|
58
|
+
this._vpcId = config.vpcId;
|
|
59
|
+
}
|
|
60
|
+
// ==========
|
|
61
|
+
// ATTRIBUTES
|
|
62
|
+
// ==========
|
|
63
|
+
// east_west_inspection_excluded_cidrs - computed: false, optional: true, required: false
|
|
64
|
+
_eastWestInspectionExcludedCidrs;
|
|
65
|
+
get eastWestInspectionExcludedCidrs() {
|
|
66
|
+
return cdktf.Fn.tolist(this.getListAttribute('east_west_inspection_excluded_cidrs'));
|
|
67
|
+
}
|
|
68
|
+
set eastWestInspectionExcludedCidrs(value) {
|
|
69
|
+
this._eastWestInspectionExcludedCidrs = value;
|
|
70
|
+
}
|
|
71
|
+
resetEastWestInspectionExcludedCidrs() {
|
|
72
|
+
this._eastWestInspectionExcludedCidrs = undefined;
|
|
73
|
+
}
|
|
74
|
+
// Temporarily expose input value. Use with caution.
|
|
75
|
+
get eastWestInspectionExcludedCidrsInput() {
|
|
76
|
+
return this._eastWestInspectionExcludedCidrs;
|
|
77
|
+
}
|
|
78
|
+
// egress_enabled - computed: false, optional: true, required: false
|
|
79
|
+
_egressEnabled;
|
|
80
|
+
get egressEnabled() {
|
|
81
|
+
return this.getBooleanAttribute('egress_enabled');
|
|
82
|
+
}
|
|
83
|
+
set egressEnabled(value) {
|
|
84
|
+
this._egressEnabled = value;
|
|
85
|
+
}
|
|
86
|
+
resetEgressEnabled() {
|
|
87
|
+
this._egressEnabled = undefined;
|
|
88
|
+
}
|
|
89
|
+
// Temporarily expose input value. Use with caution.
|
|
90
|
+
get egressEnabledInput() {
|
|
91
|
+
return this._egressEnabled;
|
|
92
|
+
}
|
|
93
|
+
// egress_static_cidrs - computed: false, optional: true, required: false
|
|
94
|
+
_egressStaticCidrs;
|
|
95
|
+
get egressStaticCidrs() {
|
|
96
|
+
return cdktf.Fn.tolist(this.getListAttribute('egress_static_cidrs'));
|
|
97
|
+
}
|
|
98
|
+
set egressStaticCidrs(value) {
|
|
99
|
+
this._egressStaticCidrs = value;
|
|
100
|
+
}
|
|
101
|
+
resetEgressStaticCidrs() {
|
|
102
|
+
this._egressStaticCidrs = undefined;
|
|
103
|
+
}
|
|
104
|
+
// Temporarily expose input value. Use with caution.
|
|
105
|
+
get egressStaticCidrsInput() {
|
|
106
|
+
return this._egressStaticCidrs;
|
|
107
|
+
}
|
|
108
|
+
// hashing_algorithm - computed: false, optional: true, required: false
|
|
109
|
+
_hashingAlgorithm;
|
|
110
|
+
get hashingAlgorithm() {
|
|
111
|
+
return this.getStringAttribute('hashing_algorithm');
|
|
112
|
+
}
|
|
113
|
+
set hashingAlgorithm(value) {
|
|
114
|
+
this._hashingAlgorithm = value;
|
|
115
|
+
}
|
|
116
|
+
resetHashingAlgorithm() {
|
|
117
|
+
this._hashingAlgorithm = undefined;
|
|
118
|
+
}
|
|
119
|
+
// Temporarily expose input value. Use with caution.
|
|
120
|
+
get hashingAlgorithmInput() {
|
|
121
|
+
return this._hashingAlgorithm;
|
|
122
|
+
}
|
|
123
|
+
// id - computed: true, optional: true, required: false
|
|
124
|
+
_id;
|
|
125
|
+
get id() {
|
|
126
|
+
return this.getStringAttribute('id');
|
|
127
|
+
}
|
|
128
|
+
set id(value) {
|
|
129
|
+
this._id = value;
|
|
130
|
+
}
|
|
131
|
+
resetId() {
|
|
132
|
+
this._id = undefined;
|
|
133
|
+
}
|
|
134
|
+
// Temporarily expose input value. Use with caution.
|
|
135
|
+
get idInput() {
|
|
136
|
+
return this._id;
|
|
137
|
+
}
|
|
138
|
+
// inspection_enabled - computed: false, optional: true, required: false
|
|
139
|
+
_inspectionEnabled;
|
|
140
|
+
get inspectionEnabled() {
|
|
141
|
+
return this.getBooleanAttribute('inspection_enabled');
|
|
142
|
+
}
|
|
143
|
+
set inspectionEnabled(value) {
|
|
144
|
+
this._inspectionEnabled = value;
|
|
145
|
+
}
|
|
146
|
+
resetInspectionEnabled() {
|
|
147
|
+
this._inspectionEnabled = undefined;
|
|
148
|
+
}
|
|
149
|
+
// Temporarily expose input value. Use with caution.
|
|
150
|
+
get inspectionEnabledInput() {
|
|
151
|
+
return this._inspectionEnabled;
|
|
152
|
+
}
|
|
153
|
+
// tgw_segmentation_for_egress_enabled - computed: false, optional: true, required: false
|
|
154
|
+
_tgwSegmentationForEgressEnabled;
|
|
155
|
+
get tgwSegmentationForEgressEnabled() {
|
|
156
|
+
return this.getBooleanAttribute('tgw_segmentation_for_egress_enabled');
|
|
157
|
+
}
|
|
158
|
+
set tgwSegmentationForEgressEnabled(value) {
|
|
159
|
+
this._tgwSegmentationForEgressEnabled = value;
|
|
160
|
+
}
|
|
161
|
+
resetTgwSegmentationForEgressEnabled() {
|
|
162
|
+
this._tgwSegmentationForEgressEnabled = undefined;
|
|
163
|
+
}
|
|
164
|
+
// Temporarily expose input value. Use with caution.
|
|
165
|
+
get tgwSegmentationForEgressEnabledInput() {
|
|
166
|
+
return this._tgwSegmentationForEgressEnabled;
|
|
167
|
+
}
|
|
168
|
+
// vpc_id - computed: false, optional: false, required: true
|
|
169
|
+
_vpcId;
|
|
170
|
+
get vpcId() {
|
|
171
|
+
return this.getStringAttribute('vpc_id');
|
|
172
|
+
}
|
|
173
|
+
set vpcId(value) {
|
|
174
|
+
this._vpcId = value;
|
|
175
|
+
}
|
|
176
|
+
// Temporarily expose input value. Use with caution.
|
|
177
|
+
get vpcIdInput() {
|
|
178
|
+
return this._vpcId;
|
|
179
|
+
}
|
|
180
|
+
// =========
|
|
181
|
+
// SYNTHESIS
|
|
182
|
+
// =========
|
|
183
|
+
synthesizeAttributes() {
|
|
184
|
+
return {
|
|
185
|
+
east_west_inspection_excluded_cidrs: cdktf.listMapper(cdktf.stringToTerraform, false)(this._eastWestInspectionExcludedCidrs),
|
|
186
|
+
egress_enabled: cdktf.booleanToTerraform(this._egressEnabled),
|
|
187
|
+
egress_static_cidrs: cdktf.listMapper(cdktf.stringToTerraform, false)(this._egressStaticCidrs),
|
|
188
|
+
hashing_algorithm: cdktf.stringToTerraform(this._hashingAlgorithm),
|
|
189
|
+
id: cdktf.stringToTerraform(this._id),
|
|
190
|
+
inspection_enabled: cdktf.booleanToTerraform(this._inspectionEnabled),
|
|
191
|
+
tgw_segmentation_for_egress_enabled: cdktf.booleanToTerraform(this._tgwSegmentationForEgressEnabled),
|
|
192
|
+
vpc_id: cdktf.stringToTerraform(this._vpcId),
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
synthesizeHclAttributes() {
|
|
196
|
+
const attrs = {
|
|
197
|
+
east_west_inspection_excluded_cidrs: {
|
|
198
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._eastWestInspectionExcludedCidrs),
|
|
199
|
+
isBlock: false,
|
|
200
|
+
type: "set",
|
|
201
|
+
storageClassType: "stringList",
|
|
202
|
+
},
|
|
203
|
+
egress_enabled: {
|
|
204
|
+
value: cdktf.booleanToHclTerraform(this._egressEnabled),
|
|
205
|
+
isBlock: false,
|
|
206
|
+
type: "simple",
|
|
207
|
+
storageClassType: "boolean",
|
|
208
|
+
},
|
|
209
|
+
egress_static_cidrs: {
|
|
210
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._egressStaticCidrs),
|
|
211
|
+
isBlock: false,
|
|
212
|
+
type: "set",
|
|
213
|
+
storageClassType: "stringList",
|
|
214
|
+
},
|
|
215
|
+
hashing_algorithm: {
|
|
216
|
+
value: cdktf.stringToHclTerraform(this._hashingAlgorithm),
|
|
217
|
+
isBlock: false,
|
|
218
|
+
type: "simple",
|
|
219
|
+
storageClassType: "string",
|
|
220
|
+
},
|
|
221
|
+
id: {
|
|
222
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
223
|
+
isBlock: false,
|
|
224
|
+
type: "simple",
|
|
225
|
+
storageClassType: "string",
|
|
226
|
+
},
|
|
227
|
+
inspection_enabled: {
|
|
228
|
+
value: cdktf.booleanToHclTerraform(this._inspectionEnabled),
|
|
229
|
+
isBlock: false,
|
|
230
|
+
type: "simple",
|
|
231
|
+
storageClassType: "boolean",
|
|
232
|
+
},
|
|
233
|
+
tgw_segmentation_for_egress_enabled: {
|
|
234
|
+
value: cdktf.booleanToHclTerraform(this._tgwSegmentationForEgressEnabled),
|
|
235
|
+
isBlock: false,
|
|
236
|
+
type: "simple",
|
|
237
|
+
storageClassType: "boolean",
|
|
238
|
+
},
|
|
239
|
+
vpc_id: {
|
|
240
|
+
value: cdktf.stringToHclTerraform(this._vpcId),
|
|
241
|
+
isBlock: false,
|
|
242
|
+
type: "simple",
|
|
243
|
+
storageClassType: "string",
|
|
244
|
+
},
|
|
245
|
+
};
|
|
246
|
+
// remove undefined attributes
|
|
247
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
248
|
+
}
|
|
249
|
+
}
|