@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,540 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/transit_gateways
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
export function dataAviatrixTransitGatewaysGatewayListBgpLanInterfacesToTerraform(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 dataAviatrixTransitGatewaysGatewayListBgpLanInterfacesToHclTerraform(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 DataAviatrixTransitGatewaysGatewayListBgpLanInterfacesOutputReference 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
|
+
// subnet - computed: true, optional: false, required: false
|
|
48
|
+
get subnet() {
|
|
49
|
+
return this.getStringAttribute('subnet');
|
|
50
|
+
}
|
|
51
|
+
// vpc_id - computed: true, optional: false, required: false
|
|
52
|
+
get vpcId() {
|
|
53
|
+
return this.getStringAttribute('vpc_id');
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
export class DataAviatrixTransitGatewaysGatewayListBgpLanInterfacesList extends cdktf.ComplexList {
|
|
57
|
+
terraformResource;
|
|
58
|
+
terraformAttribute;
|
|
59
|
+
wrapsSet;
|
|
60
|
+
/**
|
|
61
|
+
* @param terraformResource The parent resource
|
|
62
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
63
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
64
|
+
*/
|
|
65
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
66
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
67
|
+
this.terraformResource = terraformResource;
|
|
68
|
+
this.terraformAttribute = terraformAttribute;
|
|
69
|
+
this.wrapsSet = wrapsSet;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* @param index the index of the item to return
|
|
73
|
+
*/
|
|
74
|
+
get(index) {
|
|
75
|
+
return new DataAviatrixTransitGatewaysGatewayListBgpLanInterfacesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
export function dataAviatrixTransitGatewaysGatewayListHaBgpLanInterfacesToTerraform(struct) {
|
|
79
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
80
|
+
return struct;
|
|
81
|
+
}
|
|
82
|
+
if (cdktf.isComplexElement(struct)) {
|
|
83
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
84
|
+
}
|
|
85
|
+
return {};
|
|
86
|
+
}
|
|
87
|
+
export function dataAviatrixTransitGatewaysGatewayListHaBgpLanInterfacesToHclTerraform(struct) {
|
|
88
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
89
|
+
return struct;
|
|
90
|
+
}
|
|
91
|
+
if (cdktf.isComplexElement(struct)) {
|
|
92
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
93
|
+
}
|
|
94
|
+
const attrs = {};
|
|
95
|
+
return attrs;
|
|
96
|
+
}
|
|
97
|
+
export class DataAviatrixTransitGatewaysGatewayListHaBgpLanInterfacesOutputReference extends cdktf.ComplexObject {
|
|
98
|
+
isEmptyObject = false;
|
|
99
|
+
/**
|
|
100
|
+
* @param terraformResource The parent resource
|
|
101
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
102
|
+
* @param complexObjectIndex the index of this item in the list
|
|
103
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
104
|
+
*/
|
|
105
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
106
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
107
|
+
}
|
|
108
|
+
get internalValue() {
|
|
109
|
+
let hasAnyValues = this.isEmptyObject;
|
|
110
|
+
const internalValueResult = {};
|
|
111
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
112
|
+
}
|
|
113
|
+
set internalValue(value) {
|
|
114
|
+
if (value === undefined) {
|
|
115
|
+
this.isEmptyObject = false;
|
|
116
|
+
}
|
|
117
|
+
else {
|
|
118
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
// subnet - computed: true, optional: false, required: false
|
|
122
|
+
get subnet() {
|
|
123
|
+
return this.getStringAttribute('subnet');
|
|
124
|
+
}
|
|
125
|
+
// vpc_id - computed: true, optional: false, required: false
|
|
126
|
+
get vpcId() {
|
|
127
|
+
return this.getStringAttribute('vpc_id');
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
export class DataAviatrixTransitGatewaysGatewayListHaBgpLanInterfacesList extends cdktf.ComplexList {
|
|
131
|
+
terraformResource;
|
|
132
|
+
terraformAttribute;
|
|
133
|
+
wrapsSet;
|
|
134
|
+
/**
|
|
135
|
+
* @param terraformResource The parent resource
|
|
136
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
137
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
138
|
+
*/
|
|
139
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
140
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
141
|
+
this.terraformResource = terraformResource;
|
|
142
|
+
this.terraformAttribute = terraformAttribute;
|
|
143
|
+
this.wrapsSet = wrapsSet;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* @param index the index of the item to return
|
|
147
|
+
*/
|
|
148
|
+
get(index) {
|
|
149
|
+
return new DataAviatrixTransitGatewaysGatewayListHaBgpLanInterfacesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
export function dataAviatrixTransitGatewaysGatewayListStructToTerraform(struct) {
|
|
153
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
154
|
+
return struct;
|
|
155
|
+
}
|
|
156
|
+
if (cdktf.isComplexElement(struct)) {
|
|
157
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
158
|
+
}
|
|
159
|
+
return {};
|
|
160
|
+
}
|
|
161
|
+
export function dataAviatrixTransitGatewaysGatewayListStructToHclTerraform(struct) {
|
|
162
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
163
|
+
return struct;
|
|
164
|
+
}
|
|
165
|
+
if (cdktf.isComplexElement(struct)) {
|
|
166
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
167
|
+
}
|
|
168
|
+
const attrs = {};
|
|
169
|
+
return attrs;
|
|
170
|
+
}
|
|
171
|
+
export class DataAviatrixTransitGatewaysGatewayListStructOutputReference extends cdktf.ComplexObject {
|
|
172
|
+
isEmptyObject = false;
|
|
173
|
+
/**
|
|
174
|
+
* @param terraformResource The parent resource
|
|
175
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
176
|
+
* @param complexObjectIndex the index of this item in the list
|
|
177
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
178
|
+
*/
|
|
179
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
180
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
181
|
+
}
|
|
182
|
+
get internalValue() {
|
|
183
|
+
let hasAnyValues = this.isEmptyObject;
|
|
184
|
+
const internalValueResult = {};
|
|
185
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
186
|
+
}
|
|
187
|
+
set internalValue(value) {
|
|
188
|
+
if (value === undefined) {
|
|
189
|
+
this.isEmptyObject = false;
|
|
190
|
+
}
|
|
191
|
+
else {
|
|
192
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
// account_name - computed: true, optional: false, required: false
|
|
196
|
+
get accountName() {
|
|
197
|
+
return this.getStringAttribute('account_name');
|
|
198
|
+
}
|
|
199
|
+
// allocate_new_eip - computed: true, optional: false, required: false
|
|
200
|
+
get allocateNewEip() {
|
|
201
|
+
return this.getBooleanAttribute('allocate_new_eip');
|
|
202
|
+
}
|
|
203
|
+
// availability_domain - computed: true, optional: false, required: false
|
|
204
|
+
get availabilityDomain() {
|
|
205
|
+
return this.getStringAttribute('availability_domain');
|
|
206
|
+
}
|
|
207
|
+
// azure_eip_name_resource_group - computed: true, optional: false, required: false
|
|
208
|
+
get azureEipNameResourceGroup() {
|
|
209
|
+
return this.getStringAttribute('azure_eip_name_resource_group');
|
|
210
|
+
}
|
|
211
|
+
// bgp_ecmp - computed: true, optional: false, required: false
|
|
212
|
+
get bgpEcmp() {
|
|
213
|
+
return this.getBooleanAttribute('bgp_ecmp');
|
|
214
|
+
}
|
|
215
|
+
// bgp_hold_time - computed: true, optional: false, required: false
|
|
216
|
+
get bgpHoldTime() {
|
|
217
|
+
return this.getNumberAttribute('bgp_hold_time');
|
|
218
|
+
}
|
|
219
|
+
// bgp_lan_interfaces - computed: true, optional: false, required: false
|
|
220
|
+
_bgpLanInterfaces = new DataAviatrixTransitGatewaysGatewayListBgpLanInterfacesList(this, "bgp_lan_interfaces", false);
|
|
221
|
+
get bgpLanInterfaces() {
|
|
222
|
+
return this._bgpLanInterfaces;
|
|
223
|
+
}
|
|
224
|
+
// bgp_lan_ip_list - computed: true, optional: false, required: false
|
|
225
|
+
get bgpLanIpList() {
|
|
226
|
+
return this.getListAttribute('bgp_lan_ip_list');
|
|
227
|
+
}
|
|
228
|
+
// bgp_polling_time - computed: true, optional: false, required: false
|
|
229
|
+
get bgpPollingTime() {
|
|
230
|
+
return this.getStringAttribute('bgp_polling_time');
|
|
231
|
+
}
|
|
232
|
+
// cloud_instance_id - computed: true, optional: false, required: false
|
|
233
|
+
get cloudInstanceId() {
|
|
234
|
+
return this.getStringAttribute('cloud_instance_id');
|
|
235
|
+
}
|
|
236
|
+
// cloud_type - computed: true, optional: false, required: false
|
|
237
|
+
get cloudType() {
|
|
238
|
+
return this.getNumberAttribute('cloud_type');
|
|
239
|
+
}
|
|
240
|
+
// connected_transit - computed: true, optional: false, required: false
|
|
241
|
+
get connectedTransit() {
|
|
242
|
+
return this.getBooleanAttribute('connected_transit');
|
|
243
|
+
}
|
|
244
|
+
// customized_spoke_vpc_routes - computed: true, optional: false, required: false
|
|
245
|
+
get customizedSpokeVpcRoutes() {
|
|
246
|
+
return this.getStringAttribute('customized_spoke_vpc_routes');
|
|
247
|
+
}
|
|
248
|
+
// enable_active_standby - computed: true, optional: false, required: false
|
|
249
|
+
get enableActiveStandby() {
|
|
250
|
+
return this.getBooleanAttribute('enable_active_standby');
|
|
251
|
+
}
|
|
252
|
+
// enable_active_standby_preemptive - computed: true, optional: false, required: false
|
|
253
|
+
get enableActiveStandbyPreemptive() {
|
|
254
|
+
return this.getBooleanAttribute('enable_active_standby_preemptive');
|
|
255
|
+
}
|
|
256
|
+
// enable_bgp_over_lan - computed: true, optional: false, required: false
|
|
257
|
+
get enableBgpOverLan() {
|
|
258
|
+
return this.getBooleanAttribute('enable_bgp_over_lan');
|
|
259
|
+
}
|
|
260
|
+
// enable_encrypt_volume - computed: true, optional: false, required: false
|
|
261
|
+
get enableEncryptVolume() {
|
|
262
|
+
return this.getBooleanAttribute('enable_encrypt_volume');
|
|
263
|
+
}
|
|
264
|
+
// enable_gateway_load_balancer - computed: true, optional: false, required: false
|
|
265
|
+
get enableGatewayLoadBalancer() {
|
|
266
|
+
return this.getBooleanAttribute('enable_gateway_load_balancer');
|
|
267
|
+
}
|
|
268
|
+
// enable_hybrid_connection - computed: true, optional: false, required: false
|
|
269
|
+
get enableHybridConnection() {
|
|
270
|
+
return this.getBooleanAttribute('enable_hybrid_connection');
|
|
271
|
+
}
|
|
272
|
+
// enable_jumbo_frame - computed: true, optional: false, required: false
|
|
273
|
+
get enableJumboFrame() {
|
|
274
|
+
return this.getBooleanAttribute('enable_jumbo_frame');
|
|
275
|
+
}
|
|
276
|
+
// enable_monitor_gateway_subnets - computed: true, optional: false, required: false
|
|
277
|
+
get enableMonitorGatewaySubnets() {
|
|
278
|
+
return this.getBooleanAttribute('enable_monitor_gateway_subnets');
|
|
279
|
+
}
|
|
280
|
+
// enable_multi_tier_transit - computed: true, optional: false, required: false
|
|
281
|
+
get enableMultiTierTransit() {
|
|
282
|
+
return this.getBooleanAttribute('enable_multi_tier_transit');
|
|
283
|
+
}
|
|
284
|
+
// enable_private_oob - computed: true, optional: false, required: false
|
|
285
|
+
get enablePrivateOob() {
|
|
286
|
+
return this.getBooleanAttribute('enable_private_oob');
|
|
287
|
+
}
|
|
288
|
+
// enable_segmentation - computed: true, optional: false, required: false
|
|
289
|
+
get enableSegmentation() {
|
|
290
|
+
return this.getBooleanAttribute('enable_segmentation');
|
|
291
|
+
}
|
|
292
|
+
// enable_spot_instance - computed: true, optional: false, required: false
|
|
293
|
+
get enableSpotInstance() {
|
|
294
|
+
return this.getBooleanAttribute('enable_spot_instance');
|
|
295
|
+
}
|
|
296
|
+
// enable_transit_summarize_cidr_to_tgw - computed: true, optional: false, required: false
|
|
297
|
+
get enableTransitSummarizeCidrToTgw() {
|
|
298
|
+
return this.getBooleanAttribute('enable_transit_summarize_cidr_to_tgw');
|
|
299
|
+
}
|
|
300
|
+
// enable_vpc_dns_server - computed: true, optional: false, required: false
|
|
301
|
+
get enableVpcDnsServer() {
|
|
302
|
+
return this.getBooleanAttribute('enable_vpc_dns_server');
|
|
303
|
+
}
|
|
304
|
+
// excluded_advertised_spoke_routes - computed: true, optional: false, required: false
|
|
305
|
+
get excludedAdvertisedSpokeRoutes() {
|
|
306
|
+
return this.getStringAttribute('excluded_advertised_spoke_routes');
|
|
307
|
+
}
|
|
308
|
+
// fault_domain - computed: true, optional: false, required: false
|
|
309
|
+
get faultDomain() {
|
|
310
|
+
return this.getStringAttribute('fault_domain');
|
|
311
|
+
}
|
|
312
|
+
// filtered_spoke_vpc_routes - computed: true, optional: false, required: false
|
|
313
|
+
get filteredSpokeVpcRoutes() {
|
|
314
|
+
return this.getStringAttribute('filtered_spoke_vpc_routes');
|
|
315
|
+
}
|
|
316
|
+
// gw_name - computed: true, optional: false, required: false
|
|
317
|
+
get gwName() {
|
|
318
|
+
return this.getStringAttribute('gw_name');
|
|
319
|
+
}
|
|
320
|
+
// gw_size - computed: true, optional: false, required: false
|
|
321
|
+
get gwSize() {
|
|
322
|
+
return this.getStringAttribute('gw_size');
|
|
323
|
+
}
|
|
324
|
+
// ha_bgp_lan_interfaces - computed: true, optional: false, required: false
|
|
325
|
+
_haBgpLanInterfaces = new DataAviatrixTransitGatewaysGatewayListHaBgpLanInterfacesList(this, "ha_bgp_lan_interfaces", false);
|
|
326
|
+
get haBgpLanInterfaces() {
|
|
327
|
+
return this._haBgpLanInterfaces;
|
|
328
|
+
}
|
|
329
|
+
// ha_bgp_lan_ip_list - computed: true, optional: false, required: false
|
|
330
|
+
get haBgpLanIpList() {
|
|
331
|
+
return this.getListAttribute('ha_bgp_lan_ip_list');
|
|
332
|
+
}
|
|
333
|
+
// image_version - computed: true, optional: false, required: false
|
|
334
|
+
get imageVersion() {
|
|
335
|
+
return this.getStringAttribute('image_version');
|
|
336
|
+
}
|
|
337
|
+
// insane_mode - computed: true, optional: false, required: false
|
|
338
|
+
get insaneMode() {
|
|
339
|
+
return this.getBooleanAttribute('insane_mode');
|
|
340
|
+
}
|
|
341
|
+
// insane_mode_az - computed: true, optional: false, required: false
|
|
342
|
+
get insaneModeAz() {
|
|
343
|
+
return this.getStringAttribute('insane_mode_az');
|
|
344
|
+
}
|
|
345
|
+
// lan_private_subnet - computed: true, optional: false, required: false
|
|
346
|
+
get lanPrivateSubnet() {
|
|
347
|
+
return this.getStringAttribute('lan_private_subnet');
|
|
348
|
+
}
|
|
349
|
+
// lan_vpc_id - computed: true, optional: false, required: false
|
|
350
|
+
get lanVpcId() {
|
|
351
|
+
return this.getStringAttribute('lan_vpc_id');
|
|
352
|
+
}
|
|
353
|
+
// learned_cidrs_approval_mode - computed: true, optional: false, required: false
|
|
354
|
+
get learnedCidrsApprovalMode() {
|
|
355
|
+
return this.getStringAttribute('learned_cidrs_approval_mode');
|
|
356
|
+
}
|
|
357
|
+
// local_as_number - computed: true, optional: false, required: false
|
|
358
|
+
get localAsNumber() {
|
|
359
|
+
return this.getStringAttribute('local_as_number');
|
|
360
|
+
}
|
|
361
|
+
// monitor_exclude_list - computed: true, optional: false, required: false
|
|
362
|
+
get monitorExcludeList() {
|
|
363
|
+
return cdktf.Fn.tolist(this.getListAttribute('monitor_exclude_list'));
|
|
364
|
+
}
|
|
365
|
+
// oob_availability_zone - computed: true, optional: false, required: false
|
|
366
|
+
get oobAvailabilityZone() {
|
|
367
|
+
return this.getStringAttribute('oob_availability_zone');
|
|
368
|
+
}
|
|
369
|
+
// oob_management_subnet - computed: true, optional: false, required: false
|
|
370
|
+
get oobManagementSubnet() {
|
|
371
|
+
return this.getStringAttribute('oob_management_subnet');
|
|
372
|
+
}
|
|
373
|
+
// prepend_as_path - computed: true, optional: false, required: false
|
|
374
|
+
get prependAsPath() {
|
|
375
|
+
return this.getListAttribute('prepend_as_path');
|
|
376
|
+
}
|
|
377
|
+
// private_ip - computed: true, optional: false, required: false
|
|
378
|
+
get privateIp() {
|
|
379
|
+
return this.getStringAttribute('private_ip');
|
|
380
|
+
}
|
|
381
|
+
// public_ip - computed: true, optional: false, required: false
|
|
382
|
+
get publicIp() {
|
|
383
|
+
return this.getStringAttribute('public_ip');
|
|
384
|
+
}
|
|
385
|
+
// security_group_id - computed: true, optional: false, required: false
|
|
386
|
+
get securityGroupId() {
|
|
387
|
+
return this.getStringAttribute('security_group_id');
|
|
388
|
+
}
|
|
389
|
+
// single_az_ha - computed: true, optional: false, required: false
|
|
390
|
+
get singleAzHa() {
|
|
391
|
+
return this.getBooleanAttribute('single_az_ha');
|
|
392
|
+
}
|
|
393
|
+
// single_ip_snat - computed: true, optional: false, required: false
|
|
394
|
+
get singleIpSnat() {
|
|
395
|
+
return this.getBooleanAttribute('single_ip_snat');
|
|
396
|
+
}
|
|
397
|
+
// software_version - computed: true, optional: false, required: false
|
|
398
|
+
get softwareVersion() {
|
|
399
|
+
return this.getStringAttribute('software_version');
|
|
400
|
+
}
|
|
401
|
+
// spot_price - computed: true, optional: false, required: false
|
|
402
|
+
get spotPrice() {
|
|
403
|
+
return this.getStringAttribute('spot_price');
|
|
404
|
+
}
|
|
405
|
+
// subnet - computed: true, optional: false, required: false
|
|
406
|
+
get subnet() {
|
|
407
|
+
return this.getStringAttribute('subnet');
|
|
408
|
+
}
|
|
409
|
+
// tunnel_detection_time - computed: true, optional: false, required: false
|
|
410
|
+
get tunnelDetectionTime() {
|
|
411
|
+
return this.getNumberAttribute('tunnel_detection_time');
|
|
412
|
+
}
|
|
413
|
+
// vpc_id - computed: true, optional: false, required: false
|
|
414
|
+
get vpcId() {
|
|
415
|
+
return this.getStringAttribute('vpc_id');
|
|
416
|
+
}
|
|
417
|
+
// vpc_reg - computed: true, optional: false, required: false
|
|
418
|
+
get vpcReg() {
|
|
419
|
+
return this.getStringAttribute('vpc_reg');
|
|
420
|
+
}
|
|
421
|
+
// zone - computed: true, optional: false, required: false
|
|
422
|
+
get zone() {
|
|
423
|
+
return this.getStringAttribute('zone');
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
export class DataAviatrixTransitGatewaysGatewayListStructList extends cdktf.ComplexList {
|
|
427
|
+
terraformResource;
|
|
428
|
+
terraformAttribute;
|
|
429
|
+
wrapsSet;
|
|
430
|
+
/**
|
|
431
|
+
* @param terraformResource The parent resource
|
|
432
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
433
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
434
|
+
*/
|
|
435
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
436
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
437
|
+
this.terraformResource = terraformResource;
|
|
438
|
+
this.terraformAttribute = terraformAttribute;
|
|
439
|
+
this.wrapsSet = wrapsSet;
|
|
440
|
+
}
|
|
441
|
+
/**
|
|
442
|
+
* @param index the index of the item to return
|
|
443
|
+
*/
|
|
444
|
+
get(index) {
|
|
445
|
+
return new DataAviatrixTransitGatewaysGatewayListStructOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
/**
|
|
449
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/transit_gateways aviatrix_transit_gateways}
|
|
450
|
+
*/
|
|
451
|
+
export class DataAviatrixTransitGateways extends cdktf.TerraformDataSource {
|
|
452
|
+
// =================
|
|
453
|
+
// STATIC PROPERTIES
|
|
454
|
+
// =================
|
|
455
|
+
static tfResourceType = "aviatrix_transit_gateways";
|
|
456
|
+
// ==============
|
|
457
|
+
// STATIC Methods
|
|
458
|
+
// ==============
|
|
459
|
+
/**
|
|
460
|
+
* Generates CDKTF code for importing a DataAviatrixTransitGateways resource upon running "cdktf plan <stack-name>"
|
|
461
|
+
* @param scope The scope in which to define this construct
|
|
462
|
+
* @param importToId The construct id used in the generated config for the DataAviatrixTransitGateways to import
|
|
463
|
+
* @param importFromId The id of the existing DataAviatrixTransitGateways that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/transit_gateways#import import section} in the documentation of this resource for the id to use
|
|
464
|
+
* @param provider? Optional instance of the provider where the DataAviatrixTransitGateways to import is found
|
|
465
|
+
*/
|
|
466
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
467
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_transit_gateways", importId: importFromId, provider });
|
|
468
|
+
}
|
|
469
|
+
// ===========
|
|
470
|
+
// INITIALIZER
|
|
471
|
+
// ===========
|
|
472
|
+
/**
|
|
473
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/transit_gateways aviatrix_transit_gateways} Data Source
|
|
474
|
+
*
|
|
475
|
+
* @param scope The scope in which to define this construct
|
|
476
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
477
|
+
* @param options DataAviatrixTransitGatewaysConfig = {}
|
|
478
|
+
*/
|
|
479
|
+
constructor(scope, id, config = {}) {
|
|
480
|
+
super(scope, id, {
|
|
481
|
+
terraformResourceType: 'aviatrix_transit_gateways',
|
|
482
|
+
terraformGeneratorMetadata: {
|
|
483
|
+
providerName: 'aviatrix',
|
|
484
|
+
providerVersion: '8.1.10',
|
|
485
|
+
providerVersionConstraint: '8.1.10'
|
|
486
|
+
},
|
|
487
|
+
provider: config.provider,
|
|
488
|
+
dependsOn: config.dependsOn,
|
|
489
|
+
count: config.count,
|
|
490
|
+
lifecycle: config.lifecycle,
|
|
491
|
+
provisioners: config.provisioners,
|
|
492
|
+
connection: config.connection,
|
|
493
|
+
forEach: config.forEach
|
|
494
|
+
});
|
|
495
|
+
this._id = config.id;
|
|
496
|
+
}
|
|
497
|
+
// ==========
|
|
498
|
+
// ATTRIBUTES
|
|
499
|
+
// ==========
|
|
500
|
+
// gateway_list - computed: true, optional: false, required: false
|
|
501
|
+
_gatewayList = new DataAviatrixTransitGatewaysGatewayListStructList(this, "gateway_list", false);
|
|
502
|
+
get gatewayList() {
|
|
503
|
+
return this._gatewayList;
|
|
504
|
+
}
|
|
505
|
+
// id - computed: true, optional: true, required: false
|
|
506
|
+
_id;
|
|
507
|
+
get id() {
|
|
508
|
+
return this.getStringAttribute('id');
|
|
509
|
+
}
|
|
510
|
+
set id(value) {
|
|
511
|
+
this._id = value;
|
|
512
|
+
}
|
|
513
|
+
resetId() {
|
|
514
|
+
this._id = undefined;
|
|
515
|
+
}
|
|
516
|
+
// Temporarily expose input value. Use with caution.
|
|
517
|
+
get idInput() {
|
|
518
|
+
return this._id;
|
|
519
|
+
}
|
|
520
|
+
// =========
|
|
521
|
+
// SYNTHESIS
|
|
522
|
+
// =========
|
|
523
|
+
synthesizeAttributes() {
|
|
524
|
+
return {
|
|
525
|
+
id: cdktf.stringToTerraform(this._id),
|
|
526
|
+
};
|
|
527
|
+
}
|
|
528
|
+
synthesizeHclAttributes() {
|
|
529
|
+
const attrs = {
|
|
530
|
+
id: {
|
|
531
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
532
|
+
isBlock: false,
|
|
533
|
+
type: "simple",
|
|
534
|
+
storageClassType: "string",
|
|
535
|
+
},
|
|
536
|
+
};
|
|
537
|
+
// remove undefined attributes
|
|
538
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
539
|
+
}
|
|
540
|
+
}
|