@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,187 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface DataAviatrixVpcConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/vpc#id DataAviatrixVpc#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
|
+
* Name of the VPC created.
|
|
13
|
+
*
|
|
14
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/vpc#name DataAviatrixVpc#name}
|
|
15
|
+
*/
|
|
16
|
+
readonly name: string;
|
|
17
|
+
/**
|
|
18
|
+
* Filters the route_tables list to contain only public or private route tables. Valid values are 'private' or 'public'. If not set then route_tables are not filtered.
|
|
19
|
+
*
|
|
20
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/vpc#route_tables_filter DataAviatrixVpc#route_tables_filter}
|
|
21
|
+
*/
|
|
22
|
+
readonly routeTablesFilter?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface DataAviatrixVpcPrivateSubnets {
|
|
25
|
+
}
|
|
26
|
+
export declare function dataAviatrixVpcPrivateSubnetsToTerraform(struct?: DataAviatrixVpcPrivateSubnets): any;
|
|
27
|
+
export declare function dataAviatrixVpcPrivateSubnetsToHclTerraform(struct?: DataAviatrixVpcPrivateSubnets): any;
|
|
28
|
+
export declare class DataAviatrixVpcPrivateSubnetsOutputReference extends cdktf.ComplexObject {
|
|
29
|
+
private isEmptyObject;
|
|
30
|
+
/**
|
|
31
|
+
* @param terraformResource The parent resource
|
|
32
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
33
|
+
* @param complexObjectIndex the index of this item in the list
|
|
34
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
35
|
+
*/
|
|
36
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
37
|
+
get internalValue(): DataAviatrixVpcPrivateSubnets | undefined;
|
|
38
|
+
set internalValue(value: DataAviatrixVpcPrivateSubnets | undefined);
|
|
39
|
+
get cidr(): any;
|
|
40
|
+
get name(): any;
|
|
41
|
+
get subnetId(): any;
|
|
42
|
+
}
|
|
43
|
+
export declare class DataAviatrixVpcPrivateSubnetsList extends cdktf.ComplexList {
|
|
44
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
45
|
+
protected terraformAttribute: string;
|
|
46
|
+
protected wrapsSet: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* @param terraformResource The parent resource
|
|
49
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
50
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
51
|
+
*/
|
|
52
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
53
|
+
/**
|
|
54
|
+
* @param index the index of the item to return
|
|
55
|
+
*/
|
|
56
|
+
get(index: number): DataAviatrixVpcPrivateSubnetsOutputReference;
|
|
57
|
+
}
|
|
58
|
+
export interface DataAviatrixVpcPublicSubnets {
|
|
59
|
+
}
|
|
60
|
+
export declare function dataAviatrixVpcPublicSubnetsToTerraform(struct?: DataAviatrixVpcPublicSubnets): any;
|
|
61
|
+
export declare function dataAviatrixVpcPublicSubnetsToHclTerraform(struct?: DataAviatrixVpcPublicSubnets): any;
|
|
62
|
+
export declare class DataAviatrixVpcPublicSubnetsOutputReference extends cdktf.ComplexObject {
|
|
63
|
+
private isEmptyObject;
|
|
64
|
+
/**
|
|
65
|
+
* @param terraformResource The parent resource
|
|
66
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
67
|
+
* @param complexObjectIndex the index of this item in the list
|
|
68
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
69
|
+
*/
|
|
70
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
71
|
+
get internalValue(): DataAviatrixVpcPublicSubnets | undefined;
|
|
72
|
+
set internalValue(value: DataAviatrixVpcPublicSubnets | undefined);
|
|
73
|
+
get cidr(): any;
|
|
74
|
+
get name(): any;
|
|
75
|
+
get subnetId(): any;
|
|
76
|
+
}
|
|
77
|
+
export declare class DataAviatrixVpcPublicSubnetsList extends cdktf.ComplexList {
|
|
78
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
79
|
+
protected terraformAttribute: string;
|
|
80
|
+
protected wrapsSet: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* @param terraformResource The parent resource
|
|
83
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
84
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
85
|
+
*/
|
|
86
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
87
|
+
/**
|
|
88
|
+
* @param index the index of the item to return
|
|
89
|
+
*/
|
|
90
|
+
get(index: number): DataAviatrixVpcPublicSubnetsOutputReference;
|
|
91
|
+
}
|
|
92
|
+
export interface DataAviatrixVpcSubnets {
|
|
93
|
+
}
|
|
94
|
+
export declare function dataAviatrixVpcSubnetsToTerraform(struct?: DataAviatrixVpcSubnets): any;
|
|
95
|
+
export declare function dataAviatrixVpcSubnetsToHclTerraform(struct?: DataAviatrixVpcSubnets): any;
|
|
96
|
+
export declare class DataAviatrixVpcSubnetsOutputReference extends cdktf.ComplexObject {
|
|
97
|
+
private isEmptyObject;
|
|
98
|
+
/**
|
|
99
|
+
* @param terraformResource The parent resource
|
|
100
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
101
|
+
* @param complexObjectIndex the index of this item in the list
|
|
102
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
103
|
+
*/
|
|
104
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
105
|
+
get internalValue(): DataAviatrixVpcSubnets | undefined;
|
|
106
|
+
set internalValue(value: DataAviatrixVpcSubnets | undefined);
|
|
107
|
+
get cidr(): any;
|
|
108
|
+
get name(): any;
|
|
109
|
+
get subnetId(): any;
|
|
110
|
+
}
|
|
111
|
+
export declare class DataAviatrixVpcSubnetsList extends cdktf.ComplexList {
|
|
112
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
113
|
+
protected terraformAttribute: string;
|
|
114
|
+
protected wrapsSet: boolean;
|
|
115
|
+
/**
|
|
116
|
+
* @param terraformResource The parent resource
|
|
117
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
118
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
119
|
+
*/
|
|
120
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
121
|
+
/**
|
|
122
|
+
* @param index the index of the item to return
|
|
123
|
+
*/
|
|
124
|
+
get(index: number): DataAviatrixVpcSubnetsOutputReference;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/vpc aviatrix_vpc}
|
|
128
|
+
*/
|
|
129
|
+
export declare class DataAviatrixVpc extends cdktf.TerraformDataSource {
|
|
130
|
+
static readonly tfResourceType = "aviatrix_vpc";
|
|
131
|
+
/**
|
|
132
|
+
* Generates CDKTF code for importing a DataAviatrixVpc resource upon running "cdktf plan <stack-name>"
|
|
133
|
+
* @param scope The scope in which to define this construct
|
|
134
|
+
* @param importToId The construct id used in the generated config for the DataAviatrixVpc to import
|
|
135
|
+
* @param importFromId The id of the existing DataAviatrixVpc that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/vpc#import import section} in the documentation of this resource for the id to use
|
|
136
|
+
* @param provider? Optional instance of the provider where the DataAviatrixVpc to import is found
|
|
137
|
+
*/
|
|
138
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
139
|
+
/**
|
|
140
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/vpc aviatrix_vpc} Data Source
|
|
141
|
+
*
|
|
142
|
+
* @param scope The scope in which to define this construct
|
|
143
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
144
|
+
* @param options DataAviatrixVpcConfig
|
|
145
|
+
*/
|
|
146
|
+
constructor(scope: Construct, id: string, config: DataAviatrixVpcConfig);
|
|
147
|
+
get accountName(): any;
|
|
148
|
+
get availabilityDomains(): any;
|
|
149
|
+
get aviatrixFirenetVpc(): any;
|
|
150
|
+
get aviatrixTransitVpc(): any;
|
|
151
|
+
get azureVnetResourceId(): any;
|
|
152
|
+
get cidr(): any;
|
|
153
|
+
get cloudType(): any;
|
|
154
|
+
get faultDomains(): any;
|
|
155
|
+
private _id?;
|
|
156
|
+
get id(): string;
|
|
157
|
+
set id(value: string);
|
|
158
|
+
resetId(): void;
|
|
159
|
+
get idInput(): string;
|
|
160
|
+
private _name?;
|
|
161
|
+
get name(): string;
|
|
162
|
+
set name(value: string);
|
|
163
|
+
get nameInput(): string;
|
|
164
|
+
get numOfSubnetPairs(): any;
|
|
165
|
+
private _privateSubnets;
|
|
166
|
+
get privateSubnets(): DataAviatrixVpcPrivateSubnetsList;
|
|
167
|
+
private _publicSubnets;
|
|
168
|
+
get publicSubnets(): DataAviatrixVpcPublicSubnetsList;
|
|
169
|
+
get region(): any;
|
|
170
|
+
get resourceGroup(): any;
|
|
171
|
+
get routeTables(): any;
|
|
172
|
+
private _routeTablesFilter?;
|
|
173
|
+
get routeTablesFilter(): string;
|
|
174
|
+
set routeTablesFilter(value: string);
|
|
175
|
+
resetRouteTablesFilter(): void;
|
|
176
|
+
get routeTablesFilterInput(): string;
|
|
177
|
+
get subnetSize(): any;
|
|
178
|
+
private _subnets;
|
|
179
|
+
get subnets(): DataAviatrixVpcSubnetsList;
|
|
180
|
+
get vpcId(): any;
|
|
181
|
+
protected synthesizeAttributes(): {
|
|
182
|
+
[name: string]: any;
|
|
183
|
+
};
|
|
184
|
+
protected synthesizeHclAttributes(): {
|
|
185
|
+
[name: string]: any;
|
|
186
|
+
};
|
|
187
|
+
}
|
|
@@ -0,0 +1,439 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/vpc
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
export function dataAviatrixVpcPrivateSubnetsToTerraform(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 dataAviatrixVpcPrivateSubnetsToHclTerraform(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 DataAviatrixVpcPrivateSubnetsOutputReference 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
|
+
// cidr - computed: true, optional: false, required: false
|
|
48
|
+
get cidr() {
|
|
49
|
+
return this.getStringAttribute('cidr');
|
|
50
|
+
}
|
|
51
|
+
// name - computed: true, optional: false, required: false
|
|
52
|
+
get name() {
|
|
53
|
+
return this.getStringAttribute('name');
|
|
54
|
+
}
|
|
55
|
+
// subnet_id - computed: true, optional: false, required: false
|
|
56
|
+
get subnetId() {
|
|
57
|
+
return this.getStringAttribute('subnet_id');
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
export class DataAviatrixVpcPrivateSubnetsList 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 DataAviatrixVpcPrivateSubnetsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export function dataAviatrixVpcPublicSubnetsToTerraform(struct) {
|
|
83
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
84
|
+
return struct;
|
|
85
|
+
}
|
|
86
|
+
if (cdktf.isComplexElement(struct)) {
|
|
87
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
88
|
+
}
|
|
89
|
+
return {};
|
|
90
|
+
}
|
|
91
|
+
export function dataAviatrixVpcPublicSubnetsToHclTerraform(struct) {
|
|
92
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
93
|
+
return struct;
|
|
94
|
+
}
|
|
95
|
+
if (cdktf.isComplexElement(struct)) {
|
|
96
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
97
|
+
}
|
|
98
|
+
const attrs = {};
|
|
99
|
+
return attrs;
|
|
100
|
+
}
|
|
101
|
+
export class DataAviatrixVpcPublicSubnetsOutputReference extends cdktf.ComplexObject {
|
|
102
|
+
isEmptyObject = false;
|
|
103
|
+
/**
|
|
104
|
+
* @param terraformResource The parent resource
|
|
105
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
106
|
+
* @param complexObjectIndex the index of this item in the list
|
|
107
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
108
|
+
*/
|
|
109
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
110
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
111
|
+
}
|
|
112
|
+
get internalValue() {
|
|
113
|
+
let hasAnyValues = this.isEmptyObject;
|
|
114
|
+
const internalValueResult = {};
|
|
115
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
116
|
+
}
|
|
117
|
+
set internalValue(value) {
|
|
118
|
+
if (value === undefined) {
|
|
119
|
+
this.isEmptyObject = false;
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
// cidr - computed: true, optional: false, required: false
|
|
126
|
+
get cidr() {
|
|
127
|
+
return this.getStringAttribute('cidr');
|
|
128
|
+
}
|
|
129
|
+
// name - computed: true, optional: false, required: false
|
|
130
|
+
get name() {
|
|
131
|
+
return this.getStringAttribute('name');
|
|
132
|
+
}
|
|
133
|
+
// subnet_id - computed: true, optional: false, required: false
|
|
134
|
+
get subnetId() {
|
|
135
|
+
return this.getStringAttribute('subnet_id');
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
export class DataAviatrixVpcPublicSubnetsList extends cdktf.ComplexList {
|
|
139
|
+
terraformResource;
|
|
140
|
+
terraformAttribute;
|
|
141
|
+
wrapsSet;
|
|
142
|
+
/**
|
|
143
|
+
* @param terraformResource The parent resource
|
|
144
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
145
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
146
|
+
*/
|
|
147
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
148
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
149
|
+
this.terraformResource = terraformResource;
|
|
150
|
+
this.terraformAttribute = terraformAttribute;
|
|
151
|
+
this.wrapsSet = wrapsSet;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* @param index the index of the item to return
|
|
155
|
+
*/
|
|
156
|
+
get(index) {
|
|
157
|
+
return new DataAviatrixVpcPublicSubnetsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
export function dataAviatrixVpcSubnetsToTerraform(struct) {
|
|
161
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
162
|
+
return struct;
|
|
163
|
+
}
|
|
164
|
+
if (cdktf.isComplexElement(struct)) {
|
|
165
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
166
|
+
}
|
|
167
|
+
return {};
|
|
168
|
+
}
|
|
169
|
+
export function dataAviatrixVpcSubnetsToHclTerraform(struct) {
|
|
170
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
171
|
+
return struct;
|
|
172
|
+
}
|
|
173
|
+
if (cdktf.isComplexElement(struct)) {
|
|
174
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
175
|
+
}
|
|
176
|
+
const attrs = {};
|
|
177
|
+
return attrs;
|
|
178
|
+
}
|
|
179
|
+
export class DataAviatrixVpcSubnetsOutputReference extends cdktf.ComplexObject {
|
|
180
|
+
isEmptyObject = false;
|
|
181
|
+
/**
|
|
182
|
+
* @param terraformResource The parent resource
|
|
183
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
184
|
+
* @param complexObjectIndex the index of this item in the list
|
|
185
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
186
|
+
*/
|
|
187
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
188
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
189
|
+
}
|
|
190
|
+
get internalValue() {
|
|
191
|
+
let hasAnyValues = this.isEmptyObject;
|
|
192
|
+
const internalValueResult = {};
|
|
193
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
194
|
+
}
|
|
195
|
+
set internalValue(value) {
|
|
196
|
+
if (value === undefined) {
|
|
197
|
+
this.isEmptyObject = false;
|
|
198
|
+
}
|
|
199
|
+
else {
|
|
200
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
// cidr - computed: true, optional: false, required: false
|
|
204
|
+
get cidr() {
|
|
205
|
+
return this.getStringAttribute('cidr');
|
|
206
|
+
}
|
|
207
|
+
// name - computed: true, optional: false, required: false
|
|
208
|
+
get name() {
|
|
209
|
+
return this.getStringAttribute('name');
|
|
210
|
+
}
|
|
211
|
+
// subnet_id - computed: true, optional: false, required: false
|
|
212
|
+
get subnetId() {
|
|
213
|
+
return this.getStringAttribute('subnet_id');
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
export class DataAviatrixVpcSubnetsList extends cdktf.ComplexList {
|
|
217
|
+
terraformResource;
|
|
218
|
+
terraformAttribute;
|
|
219
|
+
wrapsSet;
|
|
220
|
+
/**
|
|
221
|
+
* @param terraformResource The parent resource
|
|
222
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
223
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
224
|
+
*/
|
|
225
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
226
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
227
|
+
this.terraformResource = terraformResource;
|
|
228
|
+
this.terraformAttribute = terraformAttribute;
|
|
229
|
+
this.wrapsSet = wrapsSet;
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* @param index the index of the item to return
|
|
233
|
+
*/
|
|
234
|
+
get(index) {
|
|
235
|
+
return new DataAviatrixVpcSubnetsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/vpc aviatrix_vpc}
|
|
240
|
+
*/
|
|
241
|
+
export class DataAviatrixVpc extends cdktf.TerraformDataSource {
|
|
242
|
+
// =================
|
|
243
|
+
// STATIC PROPERTIES
|
|
244
|
+
// =================
|
|
245
|
+
static tfResourceType = "aviatrix_vpc";
|
|
246
|
+
// ==============
|
|
247
|
+
// STATIC Methods
|
|
248
|
+
// ==============
|
|
249
|
+
/**
|
|
250
|
+
* Generates CDKTF code for importing a DataAviatrixVpc resource upon running "cdktf plan <stack-name>"
|
|
251
|
+
* @param scope The scope in which to define this construct
|
|
252
|
+
* @param importToId The construct id used in the generated config for the DataAviatrixVpc to import
|
|
253
|
+
* @param importFromId The id of the existing DataAviatrixVpc that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/vpc#import import section} in the documentation of this resource for the id to use
|
|
254
|
+
* @param provider? Optional instance of the provider where the DataAviatrixVpc to import is found
|
|
255
|
+
*/
|
|
256
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
257
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_vpc", importId: importFromId, provider });
|
|
258
|
+
}
|
|
259
|
+
// ===========
|
|
260
|
+
// INITIALIZER
|
|
261
|
+
// ===========
|
|
262
|
+
/**
|
|
263
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/vpc aviatrix_vpc} Data Source
|
|
264
|
+
*
|
|
265
|
+
* @param scope The scope in which to define this construct
|
|
266
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
267
|
+
* @param options DataAviatrixVpcConfig
|
|
268
|
+
*/
|
|
269
|
+
constructor(scope, id, config) {
|
|
270
|
+
super(scope, id, {
|
|
271
|
+
terraformResourceType: 'aviatrix_vpc',
|
|
272
|
+
terraformGeneratorMetadata: {
|
|
273
|
+
providerName: 'aviatrix',
|
|
274
|
+
providerVersion: '8.1.10',
|
|
275
|
+
providerVersionConstraint: '8.1.10'
|
|
276
|
+
},
|
|
277
|
+
provider: config.provider,
|
|
278
|
+
dependsOn: config.dependsOn,
|
|
279
|
+
count: config.count,
|
|
280
|
+
lifecycle: config.lifecycle,
|
|
281
|
+
provisioners: config.provisioners,
|
|
282
|
+
connection: config.connection,
|
|
283
|
+
forEach: config.forEach
|
|
284
|
+
});
|
|
285
|
+
this._id = config.id;
|
|
286
|
+
this._name = config.name;
|
|
287
|
+
this._routeTablesFilter = config.routeTablesFilter;
|
|
288
|
+
}
|
|
289
|
+
// ==========
|
|
290
|
+
// ATTRIBUTES
|
|
291
|
+
// ==========
|
|
292
|
+
// account_name - computed: true, optional: false, required: false
|
|
293
|
+
get accountName() {
|
|
294
|
+
return this.getStringAttribute('account_name');
|
|
295
|
+
}
|
|
296
|
+
// availability_domains - computed: true, optional: false, required: false
|
|
297
|
+
get availabilityDomains() {
|
|
298
|
+
return this.getListAttribute('availability_domains');
|
|
299
|
+
}
|
|
300
|
+
// aviatrix_firenet_vpc - computed: true, optional: false, required: false
|
|
301
|
+
get aviatrixFirenetVpc() {
|
|
302
|
+
return this.getBooleanAttribute('aviatrix_firenet_vpc');
|
|
303
|
+
}
|
|
304
|
+
// aviatrix_transit_vpc - computed: true, optional: false, required: false
|
|
305
|
+
get aviatrixTransitVpc() {
|
|
306
|
+
return this.getBooleanAttribute('aviatrix_transit_vpc');
|
|
307
|
+
}
|
|
308
|
+
// azure_vnet_resource_id - computed: true, optional: false, required: false
|
|
309
|
+
get azureVnetResourceId() {
|
|
310
|
+
return this.getStringAttribute('azure_vnet_resource_id');
|
|
311
|
+
}
|
|
312
|
+
// cidr - computed: true, optional: false, required: false
|
|
313
|
+
get cidr() {
|
|
314
|
+
return this.getStringAttribute('cidr');
|
|
315
|
+
}
|
|
316
|
+
// cloud_type - computed: true, optional: false, required: false
|
|
317
|
+
get cloudType() {
|
|
318
|
+
return this.getNumberAttribute('cloud_type');
|
|
319
|
+
}
|
|
320
|
+
// fault_domains - computed: true, optional: false, required: false
|
|
321
|
+
get faultDomains() {
|
|
322
|
+
return this.getListAttribute('fault_domains');
|
|
323
|
+
}
|
|
324
|
+
// id - computed: true, optional: true, required: false
|
|
325
|
+
_id;
|
|
326
|
+
get id() {
|
|
327
|
+
return this.getStringAttribute('id');
|
|
328
|
+
}
|
|
329
|
+
set id(value) {
|
|
330
|
+
this._id = value;
|
|
331
|
+
}
|
|
332
|
+
resetId() {
|
|
333
|
+
this._id = undefined;
|
|
334
|
+
}
|
|
335
|
+
// Temporarily expose input value. Use with caution.
|
|
336
|
+
get idInput() {
|
|
337
|
+
return this._id;
|
|
338
|
+
}
|
|
339
|
+
// name - computed: false, optional: false, required: true
|
|
340
|
+
_name;
|
|
341
|
+
get name() {
|
|
342
|
+
return this.getStringAttribute('name');
|
|
343
|
+
}
|
|
344
|
+
set name(value) {
|
|
345
|
+
this._name = value;
|
|
346
|
+
}
|
|
347
|
+
// Temporarily expose input value. Use with caution.
|
|
348
|
+
get nameInput() {
|
|
349
|
+
return this._name;
|
|
350
|
+
}
|
|
351
|
+
// num_of_subnet_pairs - computed: true, optional: false, required: false
|
|
352
|
+
get numOfSubnetPairs() {
|
|
353
|
+
return this.getNumberAttribute('num_of_subnet_pairs');
|
|
354
|
+
}
|
|
355
|
+
// private_subnets - computed: true, optional: false, required: false
|
|
356
|
+
_privateSubnets = new DataAviatrixVpcPrivateSubnetsList(this, "private_subnets", false);
|
|
357
|
+
get privateSubnets() {
|
|
358
|
+
return this._privateSubnets;
|
|
359
|
+
}
|
|
360
|
+
// public_subnets - computed: true, optional: false, required: false
|
|
361
|
+
_publicSubnets = new DataAviatrixVpcPublicSubnetsList(this, "public_subnets", false);
|
|
362
|
+
get publicSubnets() {
|
|
363
|
+
return this._publicSubnets;
|
|
364
|
+
}
|
|
365
|
+
// region - computed: true, optional: false, required: false
|
|
366
|
+
get region() {
|
|
367
|
+
return this.getStringAttribute('region');
|
|
368
|
+
}
|
|
369
|
+
// resource_group - computed: true, optional: false, required: false
|
|
370
|
+
get resourceGroup() {
|
|
371
|
+
return this.getStringAttribute('resource_group');
|
|
372
|
+
}
|
|
373
|
+
// route_tables - computed: true, optional: false, required: false
|
|
374
|
+
get routeTables() {
|
|
375
|
+
return this.getListAttribute('route_tables');
|
|
376
|
+
}
|
|
377
|
+
// route_tables_filter - computed: false, optional: true, required: false
|
|
378
|
+
_routeTablesFilter;
|
|
379
|
+
get routeTablesFilter() {
|
|
380
|
+
return this.getStringAttribute('route_tables_filter');
|
|
381
|
+
}
|
|
382
|
+
set routeTablesFilter(value) {
|
|
383
|
+
this._routeTablesFilter = value;
|
|
384
|
+
}
|
|
385
|
+
resetRouteTablesFilter() {
|
|
386
|
+
this._routeTablesFilter = undefined;
|
|
387
|
+
}
|
|
388
|
+
// Temporarily expose input value. Use with caution.
|
|
389
|
+
get routeTablesFilterInput() {
|
|
390
|
+
return this._routeTablesFilter;
|
|
391
|
+
}
|
|
392
|
+
// subnet_size - computed: true, optional: false, required: false
|
|
393
|
+
get subnetSize() {
|
|
394
|
+
return this.getNumberAttribute('subnet_size');
|
|
395
|
+
}
|
|
396
|
+
// subnets - computed: true, optional: false, required: false
|
|
397
|
+
_subnets = new DataAviatrixVpcSubnetsList(this, "subnets", false);
|
|
398
|
+
get subnets() {
|
|
399
|
+
return this._subnets;
|
|
400
|
+
}
|
|
401
|
+
// vpc_id - computed: true, optional: false, required: false
|
|
402
|
+
get vpcId() {
|
|
403
|
+
return this.getStringAttribute('vpc_id');
|
|
404
|
+
}
|
|
405
|
+
// =========
|
|
406
|
+
// SYNTHESIS
|
|
407
|
+
// =========
|
|
408
|
+
synthesizeAttributes() {
|
|
409
|
+
return {
|
|
410
|
+
id: cdktf.stringToTerraform(this._id),
|
|
411
|
+
name: cdktf.stringToTerraform(this._name),
|
|
412
|
+
route_tables_filter: cdktf.stringToTerraform(this._routeTablesFilter),
|
|
413
|
+
};
|
|
414
|
+
}
|
|
415
|
+
synthesizeHclAttributes() {
|
|
416
|
+
const attrs = {
|
|
417
|
+
id: {
|
|
418
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
419
|
+
isBlock: false,
|
|
420
|
+
type: "simple",
|
|
421
|
+
storageClassType: "string",
|
|
422
|
+
},
|
|
423
|
+
name: {
|
|
424
|
+
value: cdktf.stringToHclTerraform(this._name),
|
|
425
|
+
isBlock: false,
|
|
426
|
+
type: "simple",
|
|
427
|
+
storageClassType: "string",
|
|
428
|
+
},
|
|
429
|
+
route_tables_filter: {
|
|
430
|
+
value: cdktf.stringToHclTerraform(this._routeTablesFilter),
|
|
431
|
+
isBlock: false,
|
|
432
|
+
type: "simple",
|
|
433
|
+
storageClassType: "string",
|
|
434
|
+
},
|
|
435
|
+
};
|
|
436
|
+
// remove undefined attributes
|
|
437
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
438
|
+
}
|
|
439
|
+
}
|