@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,542 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
export function fqdnDomainNamesToTerraform(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
|
+
action: cdktf.stringToTerraform(struct.action),
|
|
13
|
+
fqdn: cdktf.stringToTerraform(struct.fqdn),
|
|
14
|
+
port: cdktf.stringToTerraform(struct.port),
|
|
15
|
+
proto: cdktf.stringToTerraform(struct.proto),
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export function fqdnDomainNamesToHclTerraform(struct) {
|
|
19
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
20
|
+
return struct;
|
|
21
|
+
}
|
|
22
|
+
if (cdktf.isComplexElement(struct)) {
|
|
23
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
24
|
+
}
|
|
25
|
+
const attrs = {
|
|
26
|
+
action: {
|
|
27
|
+
value: cdktf.stringToHclTerraform(struct.action),
|
|
28
|
+
isBlock: false,
|
|
29
|
+
type: "simple",
|
|
30
|
+
storageClassType: "string",
|
|
31
|
+
},
|
|
32
|
+
fqdn: {
|
|
33
|
+
value: cdktf.stringToHclTerraform(struct.fqdn),
|
|
34
|
+
isBlock: false,
|
|
35
|
+
type: "simple",
|
|
36
|
+
storageClassType: "string",
|
|
37
|
+
},
|
|
38
|
+
port: {
|
|
39
|
+
value: cdktf.stringToHclTerraform(struct.port),
|
|
40
|
+
isBlock: false,
|
|
41
|
+
type: "simple",
|
|
42
|
+
storageClassType: "string",
|
|
43
|
+
},
|
|
44
|
+
proto: {
|
|
45
|
+
value: cdktf.stringToHclTerraform(struct.proto),
|
|
46
|
+
isBlock: false,
|
|
47
|
+
type: "simple",
|
|
48
|
+
storageClassType: "string",
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
// remove undefined attributes
|
|
52
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
53
|
+
}
|
|
54
|
+
export class FqdnDomainNamesOutputReference extends cdktf.ComplexObject {
|
|
55
|
+
isEmptyObject = false;
|
|
56
|
+
resolvableValue;
|
|
57
|
+
/**
|
|
58
|
+
* @param terraformResource The parent resource
|
|
59
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
60
|
+
* @param complexObjectIndex the index of this item in the list
|
|
61
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
62
|
+
*/
|
|
63
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
64
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
65
|
+
}
|
|
66
|
+
get internalValue() {
|
|
67
|
+
if (this.resolvableValue) {
|
|
68
|
+
return this.resolvableValue;
|
|
69
|
+
}
|
|
70
|
+
let hasAnyValues = this.isEmptyObject;
|
|
71
|
+
const internalValueResult = {};
|
|
72
|
+
if (this._action !== undefined) {
|
|
73
|
+
hasAnyValues = true;
|
|
74
|
+
internalValueResult.action = this._action;
|
|
75
|
+
}
|
|
76
|
+
if (this._fqdn !== undefined) {
|
|
77
|
+
hasAnyValues = true;
|
|
78
|
+
internalValueResult.fqdn = this._fqdn;
|
|
79
|
+
}
|
|
80
|
+
if (this._port !== undefined) {
|
|
81
|
+
hasAnyValues = true;
|
|
82
|
+
internalValueResult.port = this._port;
|
|
83
|
+
}
|
|
84
|
+
if (this._proto !== undefined) {
|
|
85
|
+
hasAnyValues = true;
|
|
86
|
+
internalValueResult.proto = this._proto;
|
|
87
|
+
}
|
|
88
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
89
|
+
}
|
|
90
|
+
set internalValue(value) {
|
|
91
|
+
if (value === undefined) {
|
|
92
|
+
this.isEmptyObject = false;
|
|
93
|
+
this.resolvableValue = undefined;
|
|
94
|
+
this._action = undefined;
|
|
95
|
+
this._fqdn = undefined;
|
|
96
|
+
this._port = undefined;
|
|
97
|
+
this._proto = undefined;
|
|
98
|
+
}
|
|
99
|
+
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
100
|
+
this.isEmptyObject = false;
|
|
101
|
+
this.resolvableValue = value;
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
105
|
+
this.resolvableValue = undefined;
|
|
106
|
+
this._action = value.action;
|
|
107
|
+
this._fqdn = value.fqdn;
|
|
108
|
+
this._port = value.port;
|
|
109
|
+
this._proto = value.proto;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
// action - computed: false, optional: true, required: false
|
|
113
|
+
_action;
|
|
114
|
+
get action() {
|
|
115
|
+
return this.getStringAttribute('action');
|
|
116
|
+
}
|
|
117
|
+
set action(value) {
|
|
118
|
+
this._action = value;
|
|
119
|
+
}
|
|
120
|
+
resetAction() {
|
|
121
|
+
this._action = undefined;
|
|
122
|
+
}
|
|
123
|
+
// Temporarily expose input value. Use with caution.
|
|
124
|
+
get actionInput() {
|
|
125
|
+
return this._action;
|
|
126
|
+
}
|
|
127
|
+
// fqdn - computed: false, optional: false, required: true
|
|
128
|
+
_fqdn;
|
|
129
|
+
get fqdn() {
|
|
130
|
+
return this.getStringAttribute('fqdn');
|
|
131
|
+
}
|
|
132
|
+
set fqdn(value) {
|
|
133
|
+
this._fqdn = value;
|
|
134
|
+
}
|
|
135
|
+
// Temporarily expose input value. Use with caution.
|
|
136
|
+
get fqdnInput() {
|
|
137
|
+
return this._fqdn;
|
|
138
|
+
}
|
|
139
|
+
// port - computed: false, optional: false, required: true
|
|
140
|
+
_port;
|
|
141
|
+
get port() {
|
|
142
|
+
return this.getStringAttribute('port');
|
|
143
|
+
}
|
|
144
|
+
set port(value) {
|
|
145
|
+
this._port = value;
|
|
146
|
+
}
|
|
147
|
+
// Temporarily expose input value. Use with caution.
|
|
148
|
+
get portInput() {
|
|
149
|
+
return this._port;
|
|
150
|
+
}
|
|
151
|
+
// proto - computed: false, optional: false, required: true
|
|
152
|
+
_proto;
|
|
153
|
+
get proto() {
|
|
154
|
+
return this.getStringAttribute('proto');
|
|
155
|
+
}
|
|
156
|
+
set proto(value) {
|
|
157
|
+
this._proto = value;
|
|
158
|
+
}
|
|
159
|
+
// Temporarily expose input value. Use with caution.
|
|
160
|
+
get protoInput() {
|
|
161
|
+
return this._proto;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
export class FqdnDomainNamesList extends cdktf.ComplexList {
|
|
165
|
+
terraformResource;
|
|
166
|
+
terraformAttribute;
|
|
167
|
+
wrapsSet;
|
|
168
|
+
internalValue;
|
|
169
|
+
/**
|
|
170
|
+
* @param terraformResource The parent resource
|
|
171
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
172
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
173
|
+
*/
|
|
174
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
175
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
176
|
+
this.terraformResource = terraformResource;
|
|
177
|
+
this.terraformAttribute = terraformAttribute;
|
|
178
|
+
this.wrapsSet = wrapsSet;
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* @param index the index of the item to return
|
|
182
|
+
*/
|
|
183
|
+
get(index) {
|
|
184
|
+
return new FqdnDomainNamesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
export function fqdnGwFilterTagListStructToTerraform(struct) {
|
|
188
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
189
|
+
return struct;
|
|
190
|
+
}
|
|
191
|
+
if (cdktf.isComplexElement(struct)) {
|
|
192
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
193
|
+
}
|
|
194
|
+
return {
|
|
195
|
+
gw_name: cdktf.stringToTerraform(struct.gwName),
|
|
196
|
+
source_ip_list: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.sourceIpList),
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
export function fqdnGwFilterTagListStructToHclTerraform(struct) {
|
|
200
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
201
|
+
return struct;
|
|
202
|
+
}
|
|
203
|
+
if (cdktf.isComplexElement(struct)) {
|
|
204
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
205
|
+
}
|
|
206
|
+
const attrs = {
|
|
207
|
+
gw_name: {
|
|
208
|
+
value: cdktf.stringToHclTerraform(struct.gwName),
|
|
209
|
+
isBlock: false,
|
|
210
|
+
type: "simple",
|
|
211
|
+
storageClassType: "string",
|
|
212
|
+
},
|
|
213
|
+
source_ip_list: {
|
|
214
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.sourceIpList),
|
|
215
|
+
isBlock: false,
|
|
216
|
+
type: "set",
|
|
217
|
+
storageClassType: "stringList",
|
|
218
|
+
},
|
|
219
|
+
};
|
|
220
|
+
// remove undefined attributes
|
|
221
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
222
|
+
}
|
|
223
|
+
export class FqdnGwFilterTagListStructOutputReference extends cdktf.ComplexObject {
|
|
224
|
+
isEmptyObject = false;
|
|
225
|
+
resolvableValue;
|
|
226
|
+
/**
|
|
227
|
+
* @param terraformResource The parent resource
|
|
228
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
229
|
+
* @param complexObjectIndex the index of this item in the list
|
|
230
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
231
|
+
*/
|
|
232
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
233
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
234
|
+
}
|
|
235
|
+
get internalValue() {
|
|
236
|
+
if (this.resolvableValue) {
|
|
237
|
+
return this.resolvableValue;
|
|
238
|
+
}
|
|
239
|
+
let hasAnyValues = this.isEmptyObject;
|
|
240
|
+
const internalValueResult = {};
|
|
241
|
+
if (this._gwName !== undefined) {
|
|
242
|
+
hasAnyValues = true;
|
|
243
|
+
internalValueResult.gwName = this._gwName;
|
|
244
|
+
}
|
|
245
|
+
if (this._sourceIpList !== undefined) {
|
|
246
|
+
hasAnyValues = true;
|
|
247
|
+
internalValueResult.sourceIpList = this._sourceIpList;
|
|
248
|
+
}
|
|
249
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
250
|
+
}
|
|
251
|
+
set internalValue(value) {
|
|
252
|
+
if (value === undefined) {
|
|
253
|
+
this.isEmptyObject = false;
|
|
254
|
+
this.resolvableValue = undefined;
|
|
255
|
+
this._gwName = undefined;
|
|
256
|
+
this._sourceIpList = undefined;
|
|
257
|
+
}
|
|
258
|
+
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
259
|
+
this.isEmptyObject = false;
|
|
260
|
+
this.resolvableValue = value;
|
|
261
|
+
}
|
|
262
|
+
else {
|
|
263
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
264
|
+
this.resolvableValue = undefined;
|
|
265
|
+
this._gwName = value.gwName;
|
|
266
|
+
this._sourceIpList = value.sourceIpList;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
// gw_name - computed: false, optional: false, required: true
|
|
270
|
+
_gwName;
|
|
271
|
+
get gwName() {
|
|
272
|
+
return this.getStringAttribute('gw_name');
|
|
273
|
+
}
|
|
274
|
+
set gwName(value) {
|
|
275
|
+
this._gwName = value;
|
|
276
|
+
}
|
|
277
|
+
// Temporarily expose input value. Use with caution.
|
|
278
|
+
get gwNameInput() {
|
|
279
|
+
return this._gwName;
|
|
280
|
+
}
|
|
281
|
+
// source_ip_list - computed: false, optional: true, required: false
|
|
282
|
+
_sourceIpList;
|
|
283
|
+
get sourceIpList() {
|
|
284
|
+
return cdktf.Fn.tolist(this.getListAttribute('source_ip_list'));
|
|
285
|
+
}
|
|
286
|
+
set sourceIpList(value) {
|
|
287
|
+
this._sourceIpList = value;
|
|
288
|
+
}
|
|
289
|
+
resetSourceIpList() {
|
|
290
|
+
this._sourceIpList = undefined;
|
|
291
|
+
}
|
|
292
|
+
// Temporarily expose input value. Use with caution.
|
|
293
|
+
get sourceIpListInput() {
|
|
294
|
+
return this._sourceIpList;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
export class FqdnGwFilterTagListStructList extends cdktf.ComplexList {
|
|
298
|
+
terraformResource;
|
|
299
|
+
terraformAttribute;
|
|
300
|
+
wrapsSet;
|
|
301
|
+
internalValue;
|
|
302
|
+
/**
|
|
303
|
+
* @param terraformResource The parent resource
|
|
304
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
305
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
306
|
+
*/
|
|
307
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
308
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
309
|
+
this.terraformResource = terraformResource;
|
|
310
|
+
this.terraformAttribute = terraformAttribute;
|
|
311
|
+
this.wrapsSet = wrapsSet;
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* @param index the index of the item to return
|
|
315
|
+
*/
|
|
316
|
+
get(index) {
|
|
317
|
+
return new FqdnGwFilterTagListStructOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn aviatrix_fqdn}
|
|
322
|
+
*/
|
|
323
|
+
export class Fqdn extends cdktf.TerraformResource {
|
|
324
|
+
// =================
|
|
325
|
+
// STATIC PROPERTIES
|
|
326
|
+
// =================
|
|
327
|
+
static tfResourceType = "aviatrix_fqdn";
|
|
328
|
+
// ==============
|
|
329
|
+
// STATIC Methods
|
|
330
|
+
// ==============
|
|
331
|
+
/**
|
|
332
|
+
* Generates CDKTF code for importing a Fqdn resource upon running "cdktf plan <stack-name>"
|
|
333
|
+
* @param scope The scope in which to define this construct
|
|
334
|
+
* @param importToId The construct id used in the generated config for the Fqdn to import
|
|
335
|
+
* @param importFromId The id of the existing Fqdn that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn#import import section} in the documentation of this resource for the id to use
|
|
336
|
+
* @param provider? Optional instance of the provider where the Fqdn to import is found
|
|
337
|
+
*/
|
|
338
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
339
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_fqdn", importId: importFromId, provider });
|
|
340
|
+
}
|
|
341
|
+
// ===========
|
|
342
|
+
// INITIALIZER
|
|
343
|
+
// ===========
|
|
344
|
+
/**
|
|
345
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn aviatrix_fqdn} Resource
|
|
346
|
+
*
|
|
347
|
+
* @param scope The scope in which to define this construct
|
|
348
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
349
|
+
* @param options FqdnConfig
|
|
350
|
+
*/
|
|
351
|
+
constructor(scope, id, config) {
|
|
352
|
+
super(scope, id, {
|
|
353
|
+
terraformResourceType: 'aviatrix_fqdn',
|
|
354
|
+
terraformGeneratorMetadata: {
|
|
355
|
+
providerName: 'aviatrix',
|
|
356
|
+
providerVersion: '8.1.10',
|
|
357
|
+
providerVersionConstraint: '8.1.10'
|
|
358
|
+
},
|
|
359
|
+
provider: config.provider,
|
|
360
|
+
dependsOn: config.dependsOn,
|
|
361
|
+
count: config.count,
|
|
362
|
+
lifecycle: config.lifecycle,
|
|
363
|
+
provisioners: config.provisioners,
|
|
364
|
+
connection: config.connection,
|
|
365
|
+
forEach: config.forEach
|
|
366
|
+
});
|
|
367
|
+
this._fqdnEnabled = config.fqdnEnabled;
|
|
368
|
+
this._fqdnMode = config.fqdnMode;
|
|
369
|
+
this._fqdnTag = config.fqdnTag;
|
|
370
|
+
this._id = config.id;
|
|
371
|
+
this._manageDomainNames = config.manageDomainNames;
|
|
372
|
+
this._domainNames.internalValue = config.domainNames;
|
|
373
|
+
this._gwFilterTagList.internalValue = config.gwFilterTagList;
|
|
374
|
+
}
|
|
375
|
+
// ==========
|
|
376
|
+
// ATTRIBUTES
|
|
377
|
+
// ==========
|
|
378
|
+
// fqdn_enabled - computed: false, optional: true, required: false
|
|
379
|
+
_fqdnEnabled;
|
|
380
|
+
get fqdnEnabled() {
|
|
381
|
+
return this.getBooleanAttribute('fqdn_enabled');
|
|
382
|
+
}
|
|
383
|
+
set fqdnEnabled(value) {
|
|
384
|
+
this._fqdnEnabled = value;
|
|
385
|
+
}
|
|
386
|
+
resetFqdnEnabled() {
|
|
387
|
+
this._fqdnEnabled = undefined;
|
|
388
|
+
}
|
|
389
|
+
// Temporarily expose input value. Use with caution.
|
|
390
|
+
get fqdnEnabledInput() {
|
|
391
|
+
return this._fqdnEnabled;
|
|
392
|
+
}
|
|
393
|
+
// fqdn_mode - computed: false, optional: true, required: false
|
|
394
|
+
_fqdnMode;
|
|
395
|
+
get fqdnMode() {
|
|
396
|
+
return this.getStringAttribute('fqdn_mode');
|
|
397
|
+
}
|
|
398
|
+
set fqdnMode(value) {
|
|
399
|
+
this._fqdnMode = value;
|
|
400
|
+
}
|
|
401
|
+
resetFqdnMode() {
|
|
402
|
+
this._fqdnMode = undefined;
|
|
403
|
+
}
|
|
404
|
+
// Temporarily expose input value. Use with caution.
|
|
405
|
+
get fqdnModeInput() {
|
|
406
|
+
return this._fqdnMode;
|
|
407
|
+
}
|
|
408
|
+
// fqdn_tag - computed: false, optional: false, required: true
|
|
409
|
+
_fqdnTag;
|
|
410
|
+
get fqdnTag() {
|
|
411
|
+
return this.getStringAttribute('fqdn_tag');
|
|
412
|
+
}
|
|
413
|
+
set fqdnTag(value) {
|
|
414
|
+
this._fqdnTag = value;
|
|
415
|
+
}
|
|
416
|
+
// Temporarily expose input value. Use with caution.
|
|
417
|
+
get fqdnTagInput() {
|
|
418
|
+
return this._fqdnTag;
|
|
419
|
+
}
|
|
420
|
+
// id - computed: true, optional: true, required: false
|
|
421
|
+
_id;
|
|
422
|
+
get id() {
|
|
423
|
+
return this.getStringAttribute('id');
|
|
424
|
+
}
|
|
425
|
+
set id(value) {
|
|
426
|
+
this._id = value;
|
|
427
|
+
}
|
|
428
|
+
resetId() {
|
|
429
|
+
this._id = undefined;
|
|
430
|
+
}
|
|
431
|
+
// Temporarily expose input value. Use with caution.
|
|
432
|
+
get idInput() {
|
|
433
|
+
return this._id;
|
|
434
|
+
}
|
|
435
|
+
// manage_domain_names - computed: false, optional: true, required: false
|
|
436
|
+
_manageDomainNames;
|
|
437
|
+
get manageDomainNames() {
|
|
438
|
+
return this.getBooleanAttribute('manage_domain_names');
|
|
439
|
+
}
|
|
440
|
+
set manageDomainNames(value) {
|
|
441
|
+
this._manageDomainNames = value;
|
|
442
|
+
}
|
|
443
|
+
resetManageDomainNames() {
|
|
444
|
+
this._manageDomainNames = undefined;
|
|
445
|
+
}
|
|
446
|
+
// Temporarily expose input value. Use with caution.
|
|
447
|
+
get manageDomainNamesInput() {
|
|
448
|
+
return this._manageDomainNames;
|
|
449
|
+
}
|
|
450
|
+
// domain_names - computed: false, optional: true, required: false
|
|
451
|
+
_domainNames = new FqdnDomainNamesList(this, "domain_names", false);
|
|
452
|
+
get domainNames() {
|
|
453
|
+
return this._domainNames;
|
|
454
|
+
}
|
|
455
|
+
putDomainNames(value) {
|
|
456
|
+
this._domainNames.internalValue = value;
|
|
457
|
+
}
|
|
458
|
+
resetDomainNames() {
|
|
459
|
+
this._domainNames.internalValue = undefined;
|
|
460
|
+
}
|
|
461
|
+
// Temporarily expose input value. Use with caution.
|
|
462
|
+
get domainNamesInput() {
|
|
463
|
+
return this._domainNames.internalValue;
|
|
464
|
+
}
|
|
465
|
+
// gw_filter_tag_list - computed: false, optional: true, required: false
|
|
466
|
+
_gwFilterTagList = new FqdnGwFilterTagListStructList(this, "gw_filter_tag_list", false);
|
|
467
|
+
get gwFilterTagList() {
|
|
468
|
+
return this._gwFilterTagList;
|
|
469
|
+
}
|
|
470
|
+
putGwFilterTagList(value) {
|
|
471
|
+
this._gwFilterTagList.internalValue = value;
|
|
472
|
+
}
|
|
473
|
+
resetGwFilterTagList() {
|
|
474
|
+
this._gwFilterTagList.internalValue = undefined;
|
|
475
|
+
}
|
|
476
|
+
// Temporarily expose input value. Use with caution.
|
|
477
|
+
get gwFilterTagListInput() {
|
|
478
|
+
return this._gwFilterTagList.internalValue;
|
|
479
|
+
}
|
|
480
|
+
// =========
|
|
481
|
+
// SYNTHESIS
|
|
482
|
+
// =========
|
|
483
|
+
synthesizeAttributes() {
|
|
484
|
+
return {
|
|
485
|
+
fqdn_enabled: cdktf.booleanToTerraform(this._fqdnEnabled),
|
|
486
|
+
fqdn_mode: cdktf.stringToTerraform(this._fqdnMode),
|
|
487
|
+
fqdn_tag: cdktf.stringToTerraform(this._fqdnTag),
|
|
488
|
+
id: cdktf.stringToTerraform(this._id),
|
|
489
|
+
manage_domain_names: cdktf.booleanToTerraform(this._manageDomainNames),
|
|
490
|
+
domain_names: cdktf.listMapper(fqdnDomainNamesToTerraform, true)(this._domainNames.internalValue),
|
|
491
|
+
gw_filter_tag_list: cdktf.listMapper(fqdnGwFilterTagListStructToTerraform, true)(this._gwFilterTagList.internalValue),
|
|
492
|
+
};
|
|
493
|
+
}
|
|
494
|
+
synthesizeHclAttributes() {
|
|
495
|
+
const attrs = {
|
|
496
|
+
fqdn_enabled: {
|
|
497
|
+
value: cdktf.booleanToHclTerraform(this._fqdnEnabled),
|
|
498
|
+
isBlock: false,
|
|
499
|
+
type: "simple",
|
|
500
|
+
storageClassType: "boolean",
|
|
501
|
+
},
|
|
502
|
+
fqdn_mode: {
|
|
503
|
+
value: cdktf.stringToHclTerraform(this._fqdnMode),
|
|
504
|
+
isBlock: false,
|
|
505
|
+
type: "simple",
|
|
506
|
+
storageClassType: "string",
|
|
507
|
+
},
|
|
508
|
+
fqdn_tag: {
|
|
509
|
+
value: cdktf.stringToHclTerraform(this._fqdnTag),
|
|
510
|
+
isBlock: false,
|
|
511
|
+
type: "simple",
|
|
512
|
+
storageClassType: "string",
|
|
513
|
+
},
|
|
514
|
+
id: {
|
|
515
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
516
|
+
isBlock: false,
|
|
517
|
+
type: "simple",
|
|
518
|
+
storageClassType: "string",
|
|
519
|
+
},
|
|
520
|
+
manage_domain_names: {
|
|
521
|
+
value: cdktf.booleanToHclTerraform(this._manageDomainNames),
|
|
522
|
+
isBlock: false,
|
|
523
|
+
type: "simple",
|
|
524
|
+
storageClassType: "boolean",
|
|
525
|
+
},
|
|
526
|
+
domain_names: {
|
|
527
|
+
value: cdktf.listMapperHcl(fqdnDomainNamesToHclTerraform, true)(this._domainNames.internalValue),
|
|
528
|
+
isBlock: true,
|
|
529
|
+
type: "list",
|
|
530
|
+
storageClassType: "FqdnDomainNamesList",
|
|
531
|
+
},
|
|
532
|
+
gw_filter_tag_list: {
|
|
533
|
+
value: cdktf.listMapperHcl(fqdnGwFilterTagListStructToHclTerraform, true)(this._gwFilterTagList.internalValue),
|
|
534
|
+
isBlock: true,
|
|
535
|
+
type: "list",
|
|
536
|
+
storageClassType: "FqdnGwFilterTagListStructList",
|
|
537
|
+
},
|
|
538
|
+
};
|
|
539
|
+
// remove undefined attributes
|
|
540
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
541
|
+
}
|
|
542
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface FqdnGlobalConfigConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Customized packet destination address ranges not to be filtered by FQDN. Can be selected from pre-defined RFC 1918 range, or own network range.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn_global_config#configured_ips FqdnGlobalConfig#configured_ips}
|
|
8
|
+
*/
|
|
9
|
+
readonly configuredIps?: string[];
|
|
10
|
+
/**
|
|
11
|
+
* If enabled, it caches the resolved IP address from FQDN filter.
|
|
12
|
+
*
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn_global_config#enable_caching FqdnGlobalConfig#enable_caching}
|
|
14
|
+
*/
|
|
15
|
+
readonly enableCaching?: boolean | cdktf.IResolvable;
|
|
16
|
+
/**
|
|
17
|
+
* If enabled, it customizes packet destination address ranges not to be filtered by FQDN.
|
|
18
|
+
*
|
|
19
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn_global_config#enable_custom_network_filtering FqdnGlobalConfig#enable_custom_network_filtering}
|
|
20
|
+
*/
|
|
21
|
+
readonly enableCustomNetworkFiltering?: boolean | cdktf.IResolvable;
|
|
22
|
+
/**
|
|
23
|
+
* If enabled, the resolved IP address from FQDN filter is cached so that if subsequent TCP session matches the cached IP address list, FQDN domain name is not checked and the session is allowed to pass.
|
|
24
|
+
*
|
|
25
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn_global_config#enable_exact_match FqdnGlobalConfig#enable_exact_match}
|
|
26
|
+
*/
|
|
27
|
+
readonly enableExactMatch?: boolean | cdktf.IResolvable;
|
|
28
|
+
/**
|
|
29
|
+
* If enabled, it allows packets passing through the gateway without an SNI field. Only applies to whitelist.
|
|
30
|
+
*
|
|
31
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn_global_config#enable_exception_rule FqdnGlobalConfig#enable_exception_rule}
|
|
32
|
+
*/
|
|
33
|
+
readonly enableExceptionRule?: boolean | cdktf.IResolvable;
|
|
34
|
+
/**
|
|
35
|
+
* If enabled, destination FQDN names that translate to private IP address range (RFC 1918) are subject to FQDN whitelist filtering function.
|
|
36
|
+
*
|
|
37
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn_global_config#enable_private_network_filtering FqdnGlobalConfig#enable_private_network_filtering}
|
|
38
|
+
*/
|
|
39
|
+
readonly enablePrivateNetworkFiltering?: boolean | cdktf.IResolvable;
|
|
40
|
+
/**
|
|
41
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn_global_config#id FqdnGlobalConfig#id}
|
|
42
|
+
*
|
|
43
|
+
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
44
|
+
* 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.
|
|
45
|
+
*/
|
|
46
|
+
readonly id?: string;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn_global_config aviatrix_fqdn_global_config}
|
|
50
|
+
*/
|
|
51
|
+
export declare class FqdnGlobalConfig extends cdktf.TerraformResource {
|
|
52
|
+
static readonly tfResourceType = "aviatrix_fqdn_global_config";
|
|
53
|
+
/**
|
|
54
|
+
* Generates CDKTF code for importing a FqdnGlobalConfig resource upon running "cdktf plan <stack-name>"
|
|
55
|
+
* @param scope The scope in which to define this construct
|
|
56
|
+
* @param importToId The construct id used in the generated config for the FqdnGlobalConfig to import
|
|
57
|
+
* @param importFromId The id of the existing FqdnGlobalConfig that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn_global_config#import import section} in the documentation of this resource for the id to use
|
|
58
|
+
* @param provider? Optional instance of the provider where the FqdnGlobalConfig to import is found
|
|
59
|
+
*/
|
|
60
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
61
|
+
/**
|
|
62
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/fqdn_global_config aviatrix_fqdn_global_config} Resource
|
|
63
|
+
*
|
|
64
|
+
* @param scope The scope in which to define this construct
|
|
65
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
66
|
+
* @param options FqdnGlobalConfigConfig = {}
|
|
67
|
+
*/
|
|
68
|
+
constructor(scope: Construct, id: string, config?: FqdnGlobalConfigConfig);
|
|
69
|
+
private _configuredIps?;
|
|
70
|
+
get configuredIps(): string[];
|
|
71
|
+
set configuredIps(value: string[]);
|
|
72
|
+
resetConfiguredIps(): void;
|
|
73
|
+
get configuredIpsInput(): string[];
|
|
74
|
+
private _enableCaching?;
|
|
75
|
+
get enableCaching(): boolean | cdktf.IResolvable;
|
|
76
|
+
set enableCaching(value: boolean | cdktf.IResolvable);
|
|
77
|
+
resetEnableCaching(): void;
|
|
78
|
+
get enableCachingInput(): any;
|
|
79
|
+
private _enableCustomNetworkFiltering?;
|
|
80
|
+
get enableCustomNetworkFiltering(): boolean | cdktf.IResolvable;
|
|
81
|
+
set enableCustomNetworkFiltering(value: boolean | cdktf.IResolvable);
|
|
82
|
+
resetEnableCustomNetworkFiltering(): void;
|
|
83
|
+
get enableCustomNetworkFilteringInput(): any;
|
|
84
|
+
private _enableExactMatch?;
|
|
85
|
+
get enableExactMatch(): boolean | cdktf.IResolvable;
|
|
86
|
+
set enableExactMatch(value: boolean | cdktf.IResolvable);
|
|
87
|
+
resetEnableExactMatch(): void;
|
|
88
|
+
get enableExactMatchInput(): any;
|
|
89
|
+
private _enableExceptionRule?;
|
|
90
|
+
get enableExceptionRule(): boolean | cdktf.IResolvable;
|
|
91
|
+
set enableExceptionRule(value: boolean | cdktf.IResolvable);
|
|
92
|
+
resetEnableExceptionRule(): void;
|
|
93
|
+
get enableExceptionRuleInput(): any;
|
|
94
|
+
private _enablePrivateNetworkFiltering?;
|
|
95
|
+
get enablePrivateNetworkFiltering(): boolean | cdktf.IResolvable;
|
|
96
|
+
set enablePrivateNetworkFiltering(value: boolean | cdktf.IResolvable);
|
|
97
|
+
resetEnablePrivateNetworkFiltering(): void;
|
|
98
|
+
get enablePrivateNetworkFilteringInput(): any;
|
|
99
|
+
private _id?;
|
|
100
|
+
get id(): string;
|
|
101
|
+
set id(value: string);
|
|
102
|
+
resetId(): void;
|
|
103
|
+
get idInput(): string;
|
|
104
|
+
protected synthesizeAttributes(): {
|
|
105
|
+
[name: string]: any;
|
|
106
|
+
};
|
|
107
|
+
protected synthesizeHclAttributes(): {
|
|
108
|
+
[name: string]: any;
|
|
109
|
+
};
|
|
110
|
+
}
|