@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,218 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/firewall
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
export function dataAviatrixFirewallPoliciesToTerraform(struct) {
|
|
5
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
6
|
+
return struct;
|
|
7
|
+
}
|
|
8
|
+
if (cdktf.isComplexElement(struct)) {
|
|
9
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
10
|
+
}
|
|
11
|
+
return {};
|
|
12
|
+
}
|
|
13
|
+
export function dataAviatrixFirewallPoliciesToHclTerraform(struct) {
|
|
14
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
15
|
+
return struct;
|
|
16
|
+
}
|
|
17
|
+
if (cdktf.isComplexElement(struct)) {
|
|
18
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
19
|
+
}
|
|
20
|
+
const attrs = {};
|
|
21
|
+
return attrs;
|
|
22
|
+
}
|
|
23
|
+
export class DataAviatrixFirewallPoliciesOutputReference extends cdktf.ComplexObject {
|
|
24
|
+
isEmptyObject = false;
|
|
25
|
+
/**
|
|
26
|
+
* @param terraformResource The parent resource
|
|
27
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
28
|
+
* @param complexObjectIndex the index of this item in the list
|
|
29
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
30
|
+
*/
|
|
31
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
32
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
33
|
+
}
|
|
34
|
+
get internalValue() {
|
|
35
|
+
let hasAnyValues = this.isEmptyObject;
|
|
36
|
+
const internalValueResult = {};
|
|
37
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
38
|
+
}
|
|
39
|
+
set internalValue(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
this.isEmptyObject = false;
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
// action - computed: true, optional: false, required: false
|
|
48
|
+
get action() {
|
|
49
|
+
return this.getStringAttribute('action');
|
|
50
|
+
}
|
|
51
|
+
// description - computed: true, optional: false, required: false
|
|
52
|
+
get description() {
|
|
53
|
+
return this.getStringAttribute('description');
|
|
54
|
+
}
|
|
55
|
+
// dst_ip - computed: true, optional: false, required: false
|
|
56
|
+
get dstIp() {
|
|
57
|
+
return this.getStringAttribute('dst_ip');
|
|
58
|
+
}
|
|
59
|
+
// log_enabled - computed: true, optional: false, required: false
|
|
60
|
+
get logEnabled() {
|
|
61
|
+
return this.getBooleanAttribute('log_enabled');
|
|
62
|
+
}
|
|
63
|
+
// port - computed: true, optional: false, required: false
|
|
64
|
+
get port() {
|
|
65
|
+
return this.getStringAttribute('port');
|
|
66
|
+
}
|
|
67
|
+
// protocol - computed: true, optional: false, required: false
|
|
68
|
+
get protocol() {
|
|
69
|
+
return this.getStringAttribute('protocol');
|
|
70
|
+
}
|
|
71
|
+
// src_ip - computed: true, optional: false, required: false
|
|
72
|
+
get srcIp() {
|
|
73
|
+
return this.getStringAttribute('src_ip');
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
export class DataAviatrixFirewallPoliciesList extends cdktf.ComplexList {
|
|
77
|
+
terraformResource;
|
|
78
|
+
terraformAttribute;
|
|
79
|
+
wrapsSet;
|
|
80
|
+
/**
|
|
81
|
+
* @param terraformResource The parent resource
|
|
82
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
83
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
84
|
+
*/
|
|
85
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
86
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
87
|
+
this.terraformResource = terraformResource;
|
|
88
|
+
this.terraformAttribute = terraformAttribute;
|
|
89
|
+
this.wrapsSet = wrapsSet;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* @param index the index of the item to return
|
|
93
|
+
*/
|
|
94
|
+
get(index) {
|
|
95
|
+
return new DataAviatrixFirewallPoliciesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/firewall aviatrix_firewall}
|
|
100
|
+
*/
|
|
101
|
+
export class DataAviatrixFirewall extends cdktf.TerraformDataSource {
|
|
102
|
+
// =================
|
|
103
|
+
// STATIC PROPERTIES
|
|
104
|
+
// =================
|
|
105
|
+
static tfResourceType = "aviatrix_firewall";
|
|
106
|
+
// ==============
|
|
107
|
+
// STATIC Methods
|
|
108
|
+
// ==============
|
|
109
|
+
/**
|
|
110
|
+
* Generates CDKTF code for importing a DataAviatrixFirewall resource upon running "cdktf plan <stack-name>"
|
|
111
|
+
* @param scope The scope in which to define this construct
|
|
112
|
+
* @param importToId The construct id used in the generated config for the DataAviatrixFirewall to import
|
|
113
|
+
* @param importFromId The id of the existing DataAviatrixFirewall that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/firewall#import import section} in the documentation of this resource for the id to use
|
|
114
|
+
* @param provider? Optional instance of the provider where the DataAviatrixFirewall to import is found
|
|
115
|
+
*/
|
|
116
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
117
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_firewall", importId: importFromId, provider });
|
|
118
|
+
}
|
|
119
|
+
// ===========
|
|
120
|
+
// INITIALIZER
|
|
121
|
+
// ===========
|
|
122
|
+
/**
|
|
123
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/firewall aviatrix_firewall} Data Source
|
|
124
|
+
*
|
|
125
|
+
* @param scope The scope in which to define this construct
|
|
126
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
127
|
+
* @param options DataAviatrixFirewallConfig
|
|
128
|
+
*/
|
|
129
|
+
constructor(scope, id, config) {
|
|
130
|
+
super(scope, id, {
|
|
131
|
+
terraformResourceType: 'aviatrix_firewall',
|
|
132
|
+
terraformGeneratorMetadata: {
|
|
133
|
+
providerName: 'aviatrix',
|
|
134
|
+
providerVersion: '8.1.10',
|
|
135
|
+
providerVersionConstraint: '8.1.10'
|
|
136
|
+
},
|
|
137
|
+
provider: config.provider,
|
|
138
|
+
dependsOn: config.dependsOn,
|
|
139
|
+
count: config.count,
|
|
140
|
+
lifecycle: config.lifecycle,
|
|
141
|
+
provisioners: config.provisioners,
|
|
142
|
+
connection: config.connection,
|
|
143
|
+
forEach: config.forEach
|
|
144
|
+
});
|
|
145
|
+
this._gwName = config.gwName;
|
|
146
|
+
this._id = config.id;
|
|
147
|
+
}
|
|
148
|
+
// ==========
|
|
149
|
+
// ATTRIBUTES
|
|
150
|
+
// ==========
|
|
151
|
+
// base_log_enabled - computed: true, optional: false, required: false
|
|
152
|
+
get baseLogEnabled() {
|
|
153
|
+
return this.getBooleanAttribute('base_log_enabled');
|
|
154
|
+
}
|
|
155
|
+
// base_policy - computed: true, optional: false, required: false
|
|
156
|
+
get basePolicy() {
|
|
157
|
+
return this.getStringAttribute('base_policy');
|
|
158
|
+
}
|
|
159
|
+
// gw_name - computed: false, optional: false, required: true
|
|
160
|
+
_gwName;
|
|
161
|
+
get gwName() {
|
|
162
|
+
return this.getStringAttribute('gw_name');
|
|
163
|
+
}
|
|
164
|
+
set gwName(value) {
|
|
165
|
+
this._gwName = value;
|
|
166
|
+
}
|
|
167
|
+
// Temporarily expose input value. Use with caution.
|
|
168
|
+
get gwNameInput() {
|
|
169
|
+
return this._gwName;
|
|
170
|
+
}
|
|
171
|
+
// id - computed: true, optional: true, required: false
|
|
172
|
+
_id;
|
|
173
|
+
get id() {
|
|
174
|
+
return this.getStringAttribute('id');
|
|
175
|
+
}
|
|
176
|
+
set id(value) {
|
|
177
|
+
this._id = value;
|
|
178
|
+
}
|
|
179
|
+
resetId() {
|
|
180
|
+
this._id = undefined;
|
|
181
|
+
}
|
|
182
|
+
// Temporarily expose input value. Use with caution.
|
|
183
|
+
get idInput() {
|
|
184
|
+
return this._id;
|
|
185
|
+
}
|
|
186
|
+
// policies - computed: true, optional: false, required: false
|
|
187
|
+
_policies = new DataAviatrixFirewallPoliciesList(this, "policies", false);
|
|
188
|
+
get policies() {
|
|
189
|
+
return this._policies;
|
|
190
|
+
}
|
|
191
|
+
// =========
|
|
192
|
+
// SYNTHESIS
|
|
193
|
+
// =========
|
|
194
|
+
synthesizeAttributes() {
|
|
195
|
+
return {
|
|
196
|
+
gw_name: cdktf.stringToTerraform(this._gwName),
|
|
197
|
+
id: cdktf.stringToTerraform(this._id),
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
synthesizeHclAttributes() {
|
|
201
|
+
const attrs = {
|
|
202
|
+
gw_name: {
|
|
203
|
+
value: cdktf.stringToHclTerraform(this._gwName),
|
|
204
|
+
isBlock: false,
|
|
205
|
+
type: "simple",
|
|
206
|
+
storageClassType: "string",
|
|
207
|
+
},
|
|
208
|
+
id: {
|
|
209
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
210
|
+
isBlock: false,
|
|
211
|
+
type: "simple",
|
|
212
|
+
storageClassType: "string",
|
|
213
|
+
},
|
|
214
|
+
};
|
|
215
|
+
// remove undefined attributes
|
|
216
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
217
|
+
}
|
|
218
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface DataAviatrixFirewallInstanceImagesConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/firewall_instance_images#id DataAviatrixFirewallInstanceImages#id}
|
|
6
|
+
*
|
|
7
|
+
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
8
|
+
* 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.
|
|
9
|
+
*/
|
|
10
|
+
readonly id?: string;
|
|
11
|
+
/**
|
|
12
|
+
* VPC ID.
|
|
13
|
+
*
|
|
14
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/firewall_instance_images#vpc_id DataAviatrixFirewallInstanceImages#vpc_id}
|
|
15
|
+
*/
|
|
16
|
+
readonly vpcId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface DataAviatrixFirewallInstanceImagesFirewallImages {
|
|
19
|
+
}
|
|
20
|
+
export declare function dataAviatrixFirewallInstanceImagesFirewallImagesToTerraform(struct?: DataAviatrixFirewallInstanceImagesFirewallImages): any;
|
|
21
|
+
export declare function dataAviatrixFirewallInstanceImagesFirewallImagesToHclTerraform(struct?: DataAviatrixFirewallInstanceImagesFirewallImages): any;
|
|
22
|
+
export declare class DataAviatrixFirewallInstanceImagesFirewallImagesOutputReference extends cdktf.ComplexObject {
|
|
23
|
+
private isEmptyObject;
|
|
24
|
+
/**
|
|
25
|
+
* @param terraformResource The parent resource
|
|
26
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
27
|
+
* @param complexObjectIndex the index of this item in the list
|
|
28
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
29
|
+
*/
|
|
30
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
31
|
+
get internalValue(): DataAviatrixFirewallInstanceImagesFirewallImages | undefined;
|
|
32
|
+
set internalValue(value: DataAviatrixFirewallInstanceImagesFirewallImages | undefined);
|
|
33
|
+
get firewallImage(): any;
|
|
34
|
+
get firewallImageVersion(): any;
|
|
35
|
+
get firewallSize(): any;
|
|
36
|
+
}
|
|
37
|
+
export declare class DataAviatrixFirewallInstanceImagesFirewallImagesList extends cdktf.ComplexList {
|
|
38
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
39
|
+
protected terraformAttribute: string;
|
|
40
|
+
protected wrapsSet: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* @param terraformResource The parent resource
|
|
43
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
44
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
45
|
+
*/
|
|
46
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
47
|
+
/**
|
|
48
|
+
* @param index the index of the item to return
|
|
49
|
+
*/
|
|
50
|
+
get(index: number): DataAviatrixFirewallInstanceImagesFirewallImagesOutputReference;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/firewall_instance_images aviatrix_firewall_instance_images}
|
|
54
|
+
*/
|
|
55
|
+
export declare class DataAviatrixFirewallInstanceImages extends cdktf.TerraformDataSource {
|
|
56
|
+
static readonly tfResourceType = "aviatrix_firewall_instance_images";
|
|
57
|
+
/**
|
|
58
|
+
* Generates CDKTF code for importing a DataAviatrixFirewallInstanceImages resource upon running "cdktf plan <stack-name>"
|
|
59
|
+
* @param scope The scope in which to define this construct
|
|
60
|
+
* @param importToId The construct id used in the generated config for the DataAviatrixFirewallInstanceImages to import
|
|
61
|
+
* @param importFromId The id of the existing DataAviatrixFirewallInstanceImages that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/firewall_instance_images#import import section} in the documentation of this resource for the id to use
|
|
62
|
+
* @param provider? Optional instance of the provider where the DataAviatrixFirewallInstanceImages to import is found
|
|
63
|
+
*/
|
|
64
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
65
|
+
/**
|
|
66
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/firewall_instance_images aviatrix_firewall_instance_images} Data Source
|
|
67
|
+
*
|
|
68
|
+
* @param scope The scope in which to define this construct
|
|
69
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
70
|
+
* @param options DataAviatrixFirewallInstanceImagesConfig
|
|
71
|
+
*/
|
|
72
|
+
constructor(scope: Construct, id: string, config: DataAviatrixFirewallInstanceImagesConfig);
|
|
73
|
+
private _firewallImages;
|
|
74
|
+
get firewallImages(): DataAviatrixFirewallInstanceImagesFirewallImagesList;
|
|
75
|
+
private _id?;
|
|
76
|
+
get id(): string;
|
|
77
|
+
set id(value: string);
|
|
78
|
+
resetId(): void;
|
|
79
|
+
get idInput(): string;
|
|
80
|
+
private _vpcId?;
|
|
81
|
+
get vpcId(): string;
|
|
82
|
+
set vpcId(value: string);
|
|
83
|
+
get vpcIdInput(): string;
|
|
84
|
+
protected synthesizeAttributes(): {
|
|
85
|
+
[name: string]: any;
|
|
86
|
+
};
|
|
87
|
+
protected synthesizeHclAttributes(): {
|
|
88
|
+
[name: string]: any;
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/firewall_instance_images
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
export function dataAviatrixFirewallInstanceImagesFirewallImagesToTerraform(struct) {
|
|
5
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
6
|
+
return struct;
|
|
7
|
+
}
|
|
8
|
+
if (cdktf.isComplexElement(struct)) {
|
|
9
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
10
|
+
}
|
|
11
|
+
return {};
|
|
12
|
+
}
|
|
13
|
+
export function dataAviatrixFirewallInstanceImagesFirewallImagesToHclTerraform(struct) {
|
|
14
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
15
|
+
return struct;
|
|
16
|
+
}
|
|
17
|
+
if (cdktf.isComplexElement(struct)) {
|
|
18
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
19
|
+
}
|
|
20
|
+
const attrs = {};
|
|
21
|
+
return attrs;
|
|
22
|
+
}
|
|
23
|
+
export class DataAviatrixFirewallInstanceImagesFirewallImagesOutputReference extends cdktf.ComplexObject {
|
|
24
|
+
isEmptyObject = false;
|
|
25
|
+
/**
|
|
26
|
+
* @param terraformResource The parent resource
|
|
27
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
28
|
+
* @param complexObjectIndex the index of this item in the list
|
|
29
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
30
|
+
*/
|
|
31
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
32
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
33
|
+
}
|
|
34
|
+
get internalValue() {
|
|
35
|
+
let hasAnyValues = this.isEmptyObject;
|
|
36
|
+
const internalValueResult = {};
|
|
37
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
38
|
+
}
|
|
39
|
+
set internalValue(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
this.isEmptyObject = false;
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
// firewall_image - computed: true, optional: false, required: false
|
|
48
|
+
get firewallImage() {
|
|
49
|
+
return this.getStringAttribute('firewall_image');
|
|
50
|
+
}
|
|
51
|
+
// firewall_image_version - computed: true, optional: false, required: false
|
|
52
|
+
get firewallImageVersion() {
|
|
53
|
+
return this.getListAttribute('firewall_image_version');
|
|
54
|
+
}
|
|
55
|
+
// firewall_size - computed: true, optional: false, required: false
|
|
56
|
+
get firewallSize() {
|
|
57
|
+
return this.getListAttribute('firewall_size');
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
export class DataAviatrixFirewallInstanceImagesFirewallImagesList extends cdktf.ComplexList {
|
|
61
|
+
terraformResource;
|
|
62
|
+
terraformAttribute;
|
|
63
|
+
wrapsSet;
|
|
64
|
+
/**
|
|
65
|
+
* @param terraformResource The parent resource
|
|
66
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
67
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
68
|
+
*/
|
|
69
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
70
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
71
|
+
this.terraformResource = terraformResource;
|
|
72
|
+
this.terraformAttribute = terraformAttribute;
|
|
73
|
+
this.wrapsSet = wrapsSet;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* @param index the index of the item to return
|
|
77
|
+
*/
|
|
78
|
+
get(index) {
|
|
79
|
+
return new DataAviatrixFirewallInstanceImagesFirewallImagesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/firewall_instance_images aviatrix_firewall_instance_images}
|
|
84
|
+
*/
|
|
85
|
+
export class DataAviatrixFirewallInstanceImages extends cdktf.TerraformDataSource {
|
|
86
|
+
// =================
|
|
87
|
+
// STATIC PROPERTIES
|
|
88
|
+
// =================
|
|
89
|
+
static tfResourceType = "aviatrix_firewall_instance_images";
|
|
90
|
+
// ==============
|
|
91
|
+
// STATIC Methods
|
|
92
|
+
// ==============
|
|
93
|
+
/**
|
|
94
|
+
* Generates CDKTF code for importing a DataAviatrixFirewallInstanceImages resource upon running "cdktf plan <stack-name>"
|
|
95
|
+
* @param scope The scope in which to define this construct
|
|
96
|
+
* @param importToId The construct id used in the generated config for the DataAviatrixFirewallInstanceImages to import
|
|
97
|
+
* @param importFromId The id of the existing DataAviatrixFirewallInstanceImages that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/firewall_instance_images#import import section} in the documentation of this resource for the id to use
|
|
98
|
+
* @param provider? Optional instance of the provider where the DataAviatrixFirewallInstanceImages to import is found
|
|
99
|
+
*/
|
|
100
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
101
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_firewall_instance_images", importId: importFromId, provider });
|
|
102
|
+
}
|
|
103
|
+
// ===========
|
|
104
|
+
// INITIALIZER
|
|
105
|
+
// ===========
|
|
106
|
+
/**
|
|
107
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/firewall_instance_images aviatrix_firewall_instance_images} Data Source
|
|
108
|
+
*
|
|
109
|
+
* @param scope The scope in which to define this construct
|
|
110
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
111
|
+
* @param options DataAviatrixFirewallInstanceImagesConfig
|
|
112
|
+
*/
|
|
113
|
+
constructor(scope, id, config) {
|
|
114
|
+
super(scope, id, {
|
|
115
|
+
terraformResourceType: 'aviatrix_firewall_instance_images',
|
|
116
|
+
terraformGeneratorMetadata: {
|
|
117
|
+
providerName: 'aviatrix',
|
|
118
|
+
providerVersion: '8.1.10',
|
|
119
|
+
providerVersionConstraint: '8.1.10'
|
|
120
|
+
},
|
|
121
|
+
provider: config.provider,
|
|
122
|
+
dependsOn: config.dependsOn,
|
|
123
|
+
count: config.count,
|
|
124
|
+
lifecycle: config.lifecycle,
|
|
125
|
+
provisioners: config.provisioners,
|
|
126
|
+
connection: config.connection,
|
|
127
|
+
forEach: config.forEach
|
|
128
|
+
});
|
|
129
|
+
this._id = config.id;
|
|
130
|
+
this._vpcId = config.vpcId;
|
|
131
|
+
}
|
|
132
|
+
// ==========
|
|
133
|
+
// ATTRIBUTES
|
|
134
|
+
// ==========
|
|
135
|
+
// firewall_images - computed: true, optional: false, required: false
|
|
136
|
+
_firewallImages = new DataAviatrixFirewallInstanceImagesFirewallImagesList(this, "firewall_images", false);
|
|
137
|
+
get firewallImages() {
|
|
138
|
+
return this._firewallImages;
|
|
139
|
+
}
|
|
140
|
+
// id - computed: true, optional: true, required: false
|
|
141
|
+
_id;
|
|
142
|
+
get id() {
|
|
143
|
+
return this.getStringAttribute('id');
|
|
144
|
+
}
|
|
145
|
+
set id(value) {
|
|
146
|
+
this._id = value;
|
|
147
|
+
}
|
|
148
|
+
resetId() {
|
|
149
|
+
this._id = undefined;
|
|
150
|
+
}
|
|
151
|
+
// Temporarily expose input value. Use with caution.
|
|
152
|
+
get idInput() {
|
|
153
|
+
return this._id;
|
|
154
|
+
}
|
|
155
|
+
// vpc_id - computed: false, optional: false, required: true
|
|
156
|
+
_vpcId;
|
|
157
|
+
get vpcId() {
|
|
158
|
+
return this.getStringAttribute('vpc_id');
|
|
159
|
+
}
|
|
160
|
+
set vpcId(value) {
|
|
161
|
+
this._vpcId = value;
|
|
162
|
+
}
|
|
163
|
+
// Temporarily expose input value. Use with caution.
|
|
164
|
+
get vpcIdInput() {
|
|
165
|
+
return this._vpcId;
|
|
166
|
+
}
|
|
167
|
+
// =========
|
|
168
|
+
// SYNTHESIS
|
|
169
|
+
// =========
|
|
170
|
+
synthesizeAttributes() {
|
|
171
|
+
return {
|
|
172
|
+
id: cdktf.stringToTerraform(this._id),
|
|
173
|
+
vpc_id: cdktf.stringToTerraform(this._vpcId),
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
synthesizeHclAttributes() {
|
|
177
|
+
const attrs = {
|
|
178
|
+
id: {
|
|
179
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
180
|
+
isBlock: false,
|
|
181
|
+
type: "simple",
|
|
182
|
+
storageClassType: "string",
|
|
183
|
+
},
|
|
184
|
+
vpc_id: {
|
|
185
|
+
value: cdktf.stringToHclTerraform(this._vpcId),
|
|
186
|
+
isBlock: false,
|
|
187
|
+
type: "simple",
|
|
188
|
+
storageClassType: "string",
|
|
189
|
+
},
|
|
190
|
+
};
|
|
191
|
+
// remove undefined attributes
|
|
192
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
193
|
+
}
|
|
194
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface DataAviatrixGatewayConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Gateway name. This can be used for getting gateway.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/gateway#gw_name DataAviatrixGateway#gw_name}
|
|
8
|
+
*/
|
|
9
|
+
readonly gwName: string;
|
|
10
|
+
/**
|
|
11
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/gateway#id DataAviatrixGateway#id}
|
|
12
|
+
*
|
|
13
|
+
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
14
|
+
* 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.
|
|
15
|
+
*/
|
|
16
|
+
readonly id?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/gateway aviatrix_gateway}
|
|
20
|
+
*/
|
|
21
|
+
export declare class DataAviatrixGateway extends cdktf.TerraformDataSource {
|
|
22
|
+
static readonly tfResourceType = "aviatrix_gateway";
|
|
23
|
+
/**
|
|
24
|
+
* Generates CDKTF code for importing a DataAviatrixGateway resource upon running "cdktf plan <stack-name>"
|
|
25
|
+
* @param scope The scope in which to define this construct
|
|
26
|
+
* @param importToId The construct id used in the generated config for the DataAviatrixGateway to import
|
|
27
|
+
* @param importFromId The id of the existing DataAviatrixGateway that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/gateway#import import section} in the documentation of this resource for the id to use
|
|
28
|
+
* @param provider? Optional instance of the provider where the DataAviatrixGateway to import is found
|
|
29
|
+
*/
|
|
30
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
31
|
+
/**
|
|
32
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/gateway aviatrix_gateway} Data Source
|
|
33
|
+
*
|
|
34
|
+
* @param scope The scope in which to define this construct
|
|
35
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
36
|
+
* @param options DataAviatrixGatewayConfig
|
|
37
|
+
*/
|
|
38
|
+
constructor(scope: Construct, id: string, config: DataAviatrixGatewayConfig);
|
|
39
|
+
get accountName(): any;
|
|
40
|
+
get additionalCidrs(): any;
|
|
41
|
+
get additionalCidrsDesignatedGateway(): any;
|
|
42
|
+
get allocateNewEip(): any;
|
|
43
|
+
get availabilityDomain(): any;
|
|
44
|
+
get azureEipNameResourceGroup(): any;
|
|
45
|
+
get cloudInstanceId(): any;
|
|
46
|
+
get cloudType(): any;
|
|
47
|
+
get duoApiHostname(): any;
|
|
48
|
+
get duoIntegrationKey(): any;
|
|
49
|
+
get duoPushMode(): any;
|
|
50
|
+
get elbDnsName(): any;
|
|
51
|
+
get elbName(): any;
|
|
52
|
+
get enableDesignatedGateway(): any;
|
|
53
|
+
get enableElb(): any;
|
|
54
|
+
get enableEncryptVolume(): any;
|
|
55
|
+
get enableJumboFrame(): any;
|
|
56
|
+
get enableLdap(): any;
|
|
57
|
+
get enableMonitorGatewaySubnets(): any;
|
|
58
|
+
get enablePublicSubnetFiltering(): any;
|
|
59
|
+
get enableSpotInstance(): any;
|
|
60
|
+
get enableVpcDnsServer(): any;
|
|
61
|
+
get enableVpnNat(): any;
|
|
62
|
+
get faultDomain(): any;
|
|
63
|
+
get fqdnLanCidr(): any;
|
|
64
|
+
get fqdnLanInterface(): any;
|
|
65
|
+
get fqdnLanVpcId(): any;
|
|
66
|
+
private _gwName?;
|
|
67
|
+
get gwName(): string;
|
|
68
|
+
set gwName(value: string);
|
|
69
|
+
get gwNameInput(): string;
|
|
70
|
+
get gwSize(): any;
|
|
71
|
+
private _id?;
|
|
72
|
+
get id(): string;
|
|
73
|
+
set id(value: string);
|
|
74
|
+
resetId(): void;
|
|
75
|
+
get idInput(): string;
|
|
76
|
+
get idleTimeout(): any;
|
|
77
|
+
get imageVersion(): any;
|
|
78
|
+
get insaneMode(): any;
|
|
79
|
+
get insaneModeAz(): any;
|
|
80
|
+
get ldapBaseDn(): any;
|
|
81
|
+
get ldapBindDn(): any;
|
|
82
|
+
get ldapServer(): any;
|
|
83
|
+
get ldapUsernameAttribute(): any;
|
|
84
|
+
get maxVpnConn(): any;
|
|
85
|
+
get monitorExcludeList(): any;
|
|
86
|
+
get nameServers(): any;
|
|
87
|
+
get oktaUrl(): any;
|
|
88
|
+
get oktaUsernameSuffix(): any;
|
|
89
|
+
get otpMode(): any;
|
|
90
|
+
get peeringHaAvailabilityDomain(): any;
|
|
91
|
+
get peeringHaAzureEipNameResourceGroup(): any;
|
|
92
|
+
get peeringHaCloudInstanceId(): any;
|
|
93
|
+
get peeringHaFaultDomain(): any;
|
|
94
|
+
get peeringHaGwName(): any;
|
|
95
|
+
get peeringHaGwSize(): any;
|
|
96
|
+
get peeringHaImageVersion(): any;
|
|
97
|
+
get peeringHaInsaneModeAz(): any;
|
|
98
|
+
get peeringHaPrivateIp(): any;
|
|
99
|
+
get peeringHaPublicIp(): any;
|
|
100
|
+
get peeringHaSecurityGroupId(): any;
|
|
101
|
+
get peeringHaSoftwareVersion(): any;
|
|
102
|
+
get peeringHaSubnet(): any;
|
|
103
|
+
get peeringHaZone(): any;
|
|
104
|
+
get privateIp(): any;
|
|
105
|
+
get publicDnsServer(): any;
|
|
106
|
+
get publicIp(): any;
|
|
107
|
+
get publicSubnetFilteringGuardDutyEnforced(): any;
|
|
108
|
+
get publicSubnetFilteringHaRouteTables(): any;
|
|
109
|
+
get publicSubnetFilteringRouteTables(): any;
|
|
110
|
+
get renegotiationInterval(): any;
|
|
111
|
+
get samlEnabled(): any;
|
|
112
|
+
get searchDomains(): any;
|
|
113
|
+
get securityGroupId(): any;
|
|
114
|
+
get singleAzHa(): any;
|
|
115
|
+
get singleIpSnat(): any;
|
|
116
|
+
get softwareVersion(): any;
|
|
117
|
+
get splitTunnel(): any;
|
|
118
|
+
get spotPrice(): any;
|
|
119
|
+
get subnet(): any;
|
|
120
|
+
private _tags;
|
|
121
|
+
get tags(): any;
|
|
122
|
+
get tunnelDetectionTime(): any;
|
|
123
|
+
get vpcId(): any;
|
|
124
|
+
get vpcReg(): any;
|
|
125
|
+
get vpnAccess(): any;
|
|
126
|
+
get vpnCidr(): any;
|
|
127
|
+
get vpnProtocol(): any;
|
|
128
|
+
get zone(): any;
|
|
129
|
+
protected synthesizeAttributes(): {
|
|
130
|
+
[name: string]: any;
|
|
131
|
+
};
|
|
132
|
+
protected synthesizeHclAttributes(): {
|
|
133
|
+
[name: string]: any;
|
|
134
|
+
};
|
|
135
|
+
}
|