@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,86 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface AwsTgwConnectConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Connection Name.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect#connection_name AwsTgwConnect#connection_name}
|
|
8
|
+
*/
|
|
9
|
+
readonly connectionName: string;
|
|
10
|
+
/**
|
|
11
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect#id AwsTgwConnect#id}
|
|
12
|
+
*
|
|
13
|
+
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
14
|
+
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
15
|
+
*/
|
|
16
|
+
readonly id?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Network Domain Name.
|
|
19
|
+
*
|
|
20
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect#network_domain_name AwsTgwConnect#network_domain_name}
|
|
21
|
+
*/
|
|
22
|
+
readonly networkDomainName: string;
|
|
23
|
+
/**
|
|
24
|
+
* AWS TGW Name.
|
|
25
|
+
*
|
|
26
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect#tgw_name AwsTgwConnect#tgw_name}
|
|
27
|
+
*/
|
|
28
|
+
readonly tgwName: string;
|
|
29
|
+
/**
|
|
30
|
+
* Transport Attachment VPC ID.
|
|
31
|
+
*
|
|
32
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect#transport_vpc_id AwsTgwConnect#transport_vpc_id}
|
|
33
|
+
*/
|
|
34
|
+
readonly transportVpcId: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect aviatrix_aws_tgw_connect}
|
|
38
|
+
*/
|
|
39
|
+
export declare class AwsTgwConnect extends cdktf.TerraformResource {
|
|
40
|
+
static readonly tfResourceType = "aviatrix_aws_tgw_connect";
|
|
41
|
+
/**
|
|
42
|
+
* Generates CDKTF code for importing a AwsTgwConnect resource upon running "cdktf plan <stack-name>"
|
|
43
|
+
* @param scope The scope in which to define this construct
|
|
44
|
+
* @param importToId The construct id used in the generated config for the AwsTgwConnect to import
|
|
45
|
+
* @param importFromId The id of the existing AwsTgwConnect that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect#import import section} in the documentation of this resource for the id to use
|
|
46
|
+
* @param provider? Optional instance of the provider where the AwsTgwConnect to import is found
|
|
47
|
+
*/
|
|
48
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
49
|
+
/**
|
|
50
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect aviatrix_aws_tgw_connect} Resource
|
|
51
|
+
*
|
|
52
|
+
* @param scope The scope in which to define this construct
|
|
53
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
54
|
+
* @param options AwsTgwConnectConfig
|
|
55
|
+
*/
|
|
56
|
+
constructor(scope: Construct, id: string, config: AwsTgwConnectConfig);
|
|
57
|
+
get connectAttachmentId(): any;
|
|
58
|
+
private _connectionName?;
|
|
59
|
+
get connectionName(): string;
|
|
60
|
+
set connectionName(value: string);
|
|
61
|
+
get connectionNameInput(): string;
|
|
62
|
+
private _id?;
|
|
63
|
+
get id(): string;
|
|
64
|
+
set id(value: string);
|
|
65
|
+
resetId(): void;
|
|
66
|
+
get idInput(): string;
|
|
67
|
+
private _networkDomainName?;
|
|
68
|
+
get networkDomainName(): string;
|
|
69
|
+
set networkDomainName(value: string);
|
|
70
|
+
get networkDomainNameInput(): string;
|
|
71
|
+
private _tgwName?;
|
|
72
|
+
get tgwName(): string;
|
|
73
|
+
set tgwName(value: string);
|
|
74
|
+
get tgwNameInput(): string;
|
|
75
|
+
get transportAttachmentId(): any;
|
|
76
|
+
private _transportVpcId?;
|
|
77
|
+
get transportVpcId(): string;
|
|
78
|
+
set transportVpcId(value: string);
|
|
79
|
+
get transportVpcIdInput(): string;
|
|
80
|
+
protected synthesizeAttributes(): {
|
|
81
|
+
[name: string]: any;
|
|
82
|
+
};
|
|
83
|
+
protected synthesizeHclAttributes(): {
|
|
84
|
+
[name: string]: any;
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect aviatrix_aws_tgw_connect}
|
|
6
|
+
*/
|
|
7
|
+
export class AwsTgwConnect extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_aws_tgw_connect";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a AwsTgwConnect resource upon running "cdktf plan <stack-name>"
|
|
17
|
+
* @param scope The scope in which to define this construct
|
|
18
|
+
* @param importToId The construct id used in the generated config for the AwsTgwConnect to import
|
|
19
|
+
* @param importFromId The id of the existing AwsTgwConnect that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the AwsTgwConnect to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_aws_tgw_connect", importId: importFromId, provider });
|
|
24
|
+
}
|
|
25
|
+
// ===========
|
|
26
|
+
// INITIALIZER
|
|
27
|
+
// ===========
|
|
28
|
+
/**
|
|
29
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect aviatrix_aws_tgw_connect} Resource
|
|
30
|
+
*
|
|
31
|
+
* @param scope The scope in which to define this construct
|
|
32
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
33
|
+
* @param options AwsTgwConnectConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_aws_tgw_connect',
|
|
38
|
+
terraformGeneratorMetadata: {
|
|
39
|
+
providerName: 'aviatrix',
|
|
40
|
+
providerVersion: '8.1.10',
|
|
41
|
+
providerVersionConstraint: '8.1.10'
|
|
42
|
+
},
|
|
43
|
+
provider: config.provider,
|
|
44
|
+
dependsOn: config.dependsOn,
|
|
45
|
+
count: config.count,
|
|
46
|
+
lifecycle: config.lifecycle,
|
|
47
|
+
provisioners: config.provisioners,
|
|
48
|
+
connection: config.connection,
|
|
49
|
+
forEach: config.forEach
|
|
50
|
+
});
|
|
51
|
+
this._connectionName = config.connectionName;
|
|
52
|
+
this._id = config.id;
|
|
53
|
+
this._networkDomainName = config.networkDomainName;
|
|
54
|
+
this._tgwName = config.tgwName;
|
|
55
|
+
this._transportVpcId = config.transportVpcId;
|
|
56
|
+
}
|
|
57
|
+
// ==========
|
|
58
|
+
// ATTRIBUTES
|
|
59
|
+
// ==========
|
|
60
|
+
// connect_attachment_id - computed: true, optional: false, required: false
|
|
61
|
+
get connectAttachmentId() {
|
|
62
|
+
return this.getStringAttribute('connect_attachment_id');
|
|
63
|
+
}
|
|
64
|
+
// connection_name - computed: false, optional: false, required: true
|
|
65
|
+
_connectionName;
|
|
66
|
+
get connectionName() {
|
|
67
|
+
return this.getStringAttribute('connection_name');
|
|
68
|
+
}
|
|
69
|
+
set connectionName(value) {
|
|
70
|
+
this._connectionName = value;
|
|
71
|
+
}
|
|
72
|
+
// Temporarily expose input value. Use with caution.
|
|
73
|
+
get connectionNameInput() {
|
|
74
|
+
return this._connectionName;
|
|
75
|
+
}
|
|
76
|
+
// id - computed: true, optional: true, required: false
|
|
77
|
+
_id;
|
|
78
|
+
get id() {
|
|
79
|
+
return this.getStringAttribute('id');
|
|
80
|
+
}
|
|
81
|
+
set id(value) {
|
|
82
|
+
this._id = value;
|
|
83
|
+
}
|
|
84
|
+
resetId() {
|
|
85
|
+
this._id = undefined;
|
|
86
|
+
}
|
|
87
|
+
// Temporarily expose input value. Use with caution.
|
|
88
|
+
get idInput() {
|
|
89
|
+
return this._id;
|
|
90
|
+
}
|
|
91
|
+
// network_domain_name - computed: false, optional: false, required: true
|
|
92
|
+
_networkDomainName;
|
|
93
|
+
get networkDomainName() {
|
|
94
|
+
return this.getStringAttribute('network_domain_name');
|
|
95
|
+
}
|
|
96
|
+
set networkDomainName(value) {
|
|
97
|
+
this._networkDomainName = value;
|
|
98
|
+
}
|
|
99
|
+
// Temporarily expose input value. Use with caution.
|
|
100
|
+
get networkDomainNameInput() {
|
|
101
|
+
return this._networkDomainName;
|
|
102
|
+
}
|
|
103
|
+
// tgw_name - computed: false, optional: false, required: true
|
|
104
|
+
_tgwName;
|
|
105
|
+
get tgwName() {
|
|
106
|
+
return this.getStringAttribute('tgw_name');
|
|
107
|
+
}
|
|
108
|
+
set tgwName(value) {
|
|
109
|
+
this._tgwName = value;
|
|
110
|
+
}
|
|
111
|
+
// Temporarily expose input value. Use with caution.
|
|
112
|
+
get tgwNameInput() {
|
|
113
|
+
return this._tgwName;
|
|
114
|
+
}
|
|
115
|
+
// transport_attachment_id - computed: true, optional: false, required: false
|
|
116
|
+
get transportAttachmentId() {
|
|
117
|
+
return this.getStringAttribute('transport_attachment_id');
|
|
118
|
+
}
|
|
119
|
+
// transport_vpc_id - computed: false, optional: false, required: true
|
|
120
|
+
_transportVpcId;
|
|
121
|
+
get transportVpcId() {
|
|
122
|
+
return this.getStringAttribute('transport_vpc_id');
|
|
123
|
+
}
|
|
124
|
+
set transportVpcId(value) {
|
|
125
|
+
this._transportVpcId = value;
|
|
126
|
+
}
|
|
127
|
+
// Temporarily expose input value. Use with caution.
|
|
128
|
+
get transportVpcIdInput() {
|
|
129
|
+
return this._transportVpcId;
|
|
130
|
+
}
|
|
131
|
+
// =========
|
|
132
|
+
// SYNTHESIS
|
|
133
|
+
// =========
|
|
134
|
+
synthesizeAttributes() {
|
|
135
|
+
return {
|
|
136
|
+
connection_name: cdktf.stringToTerraform(this._connectionName),
|
|
137
|
+
id: cdktf.stringToTerraform(this._id),
|
|
138
|
+
network_domain_name: cdktf.stringToTerraform(this._networkDomainName),
|
|
139
|
+
tgw_name: cdktf.stringToTerraform(this._tgwName),
|
|
140
|
+
transport_vpc_id: cdktf.stringToTerraform(this._transportVpcId),
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
synthesizeHclAttributes() {
|
|
144
|
+
const attrs = {
|
|
145
|
+
connection_name: {
|
|
146
|
+
value: cdktf.stringToHclTerraform(this._connectionName),
|
|
147
|
+
isBlock: false,
|
|
148
|
+
type: "simple",
|
|
149
|
+
storageClassType: "string",
|
|
150
|
+
},
|
|
151
|
+
id: {
|
|
152
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
153
|
+
isBlock: false,
|
|
154
|
+
type: "simple",
|
|
155
|
+
storageClassType: "string",
|
|
156
|
+
},
|
|
157
|
+
network_domain_name: {
|
|
158
|
+
value: cdktf.stringToHclTerraform(this._networkDomainName),
|
|
159
|
+
isBlock: false,
|
|
160
|
+
type: "simple",
|
|
161
|
+
storageClassType: "string",
|
|
162
|
+
},
|
|
163
|
+
tgw_name: {
|
|
164
|
+
value: cdktf.stringToHclTerraform(this._tgwName),
|
|
165
|
+
isBlock: false,
|
|
166
|
+
type: "simple",
|
|
167
|
+
storageClassType: "string",
|
|
168
|
+
},
|
|
169
|
+
transport_vpc_id: {
|
|
170
|
+
value: cdktf.stringToHclTerraform(this._transportVpcId),
|
|
171
|
+
isBlock: false,
|
|
172
|
+
type: "simple",
|
|
173
|
+
storageClassType: "string",
|
|
174
|
+
},
|
|
175
|
+
};
|
|
176
|
+
// remove undefined attributes
|
|
177
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
178
|
+
}
|
|
179
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface AwsTgwConnectPeerConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Set of BGP Inside CIDR Blocks.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect_peer#bgp_inside_cidrs AwsTgwConnectPeer#bgp_inside_cidrs}
|
|
8
|
+
*/
|
|
9
|
+
readonly bgpInsideCidrs: string[];
|
|
10
|
+
/**
|
|
11
|
+
* Connect Attachment ID.
|
|
12
|
+
*
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect_peer#connect_attachment_id AwsTgwConnectPeer#connect_attachment_id}
|
|
14
|
+
*/
|
|
15
|
+
readonly connectAttachmentId: string;
|
|
16
|
+
/**
|
|
17
|
+
* Connect Peer Name.
|
|
18
|
+
*
|
|
19
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect_peer#connect_peer_name AwsTgwConnectPeer#connect_peer_name}
|
|
20
|
+
*/
|
|
21
|
+
readonly connectPeerName: string;
|
|
22
|
+
/**
|
|
23
|
+
* AWS TGW Connect connection name.
|
|
24
|
+
*
|
|
25
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect_peer#connection_name AwsTgwConnectPeer#connection_name}
|
|
26
|
+
*/
|
|
27
|
+
readonly connectionName: string;
|
|
28
|
+
/**
|
|
29
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect_peer#id AwsTgwConnectPeer#id}
|
|
30
|
+
*
|
|
31
|
+
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
32
|
+
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
33
|
+
*/
|
|
34
|
+
readonly id?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Peer AS Number.
|
|
37
|
+
*
|
|
38
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect_peer#peer_as_number AwsTgwConnectPeer#peer_as_number}
|
|
39
|
+
*/
|
|
40
|
+
readonly peerAsNumber: string;
|
|
41
|
+
/**
|
|
42
|
+
* Peer GRE IP Address.
|
|
43
|
+
*
|
|
44
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect_peer#peer_gre_address AwsTgwConnectPeer#peer_gre_address}
|
|
45
|
+
*/
|
|
46
|
+
readonly peerGreAddress: string;
|
|
47
|
+
/**
|
|
48
|
+
* AWS TGW GRE IP Address.
|
|
49
|
+
*
|
|
50
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect_peer#tgw_gre_address AwsTgwConnectPeer#tgw_gre_address}
|
|
51
|
+
*/
|
|
52
|
+
readonly tgwGreAddress?: string;
|
|
53
|
+
/**
|
|
54
|
+
* AWS TGW Name.
|
|
55
|
+
*
|
|
56
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect_peer#tgw_name AwsTgwConnectPeer#tgw_name}
|
|
57
|
+
*/
|
|
58
|
+
readonly tgwName: string;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect_peer aviatrix_aws_tgw_connect_peer}
|
|
62
|
+
*/
|
|
63
|
+
export declare class AwsTgwConnectPeer extends cdktf.TerraformResource {
|
|
64
|
+
static readonly tfResourceType = "aviatrix_aws_tgw_connect_peer";
|
|
65
|
+
/**
|
|
66
|
+
* Generates CDKTF code for importing a AwsTgwConnectPeer resource upon running "cdktf plan <stack-name>"
|
|
67
|
+
* @param scope The scope in which to define this construct
|
|
68
|
+
* @param importToId The construct id used in the generated config for the AwsTgwConnectPeer to import
|
|
69
|
+
* @param importFromId The id of the existing AwsTgwConnectPeer that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect_peer#import import section} in the documentation of this resource for the id to use
|
|
70
|
+
* @param provider? Optional instance of the provider where the AwsTgwConnectPeer to import is found
|
|
71
|
+
*/
|
|
72
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
73
|
+
/**
|
|
74
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect_peer aviatrix_aws_tgw_connect_peer} Resource
|
|
75
|
+
*
|
|
76
|
+
* @param scope The scope in which to define this construct
|
|
77
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
78
|
+
* @param options AwsTgwConnectPeerConfig
|
|
79
|
+
*/
|
|
80
|
+
constructor(scope: Construct, id: string, config: AwsTgwConnectPeerConfig);
|
|
81
|
+
private _bgpInsideCidrs?;
|
|
82
|
+
get bgpInsideCidrs(): string[];
|
|
83
|
+
set bgpInsideCidrs(value: string[]);
|
|
84
|
+
get bgpInsideCidrsInput(): string[];
|
|
85
|
+
private _connectAttachmentId?;
|
|
86
|
+
get connectAttachmentId(): string;
|
|
87
|
+
set connectAttachmentId(value: string);
|
|
88
|
+
get connectAttachmentIdInput(): string;
|
|
89
|
+
get connectPeerId(): any;
|
|
90
|
+
private _connectPeerName?;
|
|
91
|
+
get connectPeerName(): string;
|
|
92
|
+
set connectPeerName(value: string);
|
|
93
|
+
get connectPeerNameInput(): string;
|
|
94
|
+
private _connectionName?;
|
|
95
|
+
get connectionName(): string;
|
|
96
|
+
set connectionName(value: string);
|
|
97
|
+
get connectionNameInput(): string;
|
|
98
|
+
private _id?;
|
|
99
|
+
get id(): string;
|
|
100
|
+
set id(value: string);
|
|
101
|
+
resetId(): void;
|
|
102
|
+
get idInput(): string;
|
|
103
|
+
private _peerAsNumber?;
|
|
104
|
+
get peerAsNumber(): string;
|
|
105
|
+
set peerAsNumber(value: string);
|
|
106
|
+
get peerAsNumberInput(): string;
|
|
107
|
+
private _peerGreAddress?;
|
|
108
|
+
get peerGreAddress(): string;
|
|
109
|
+
set peerGreAddress(value: string);
|
|
110
|
+
get peerGreAddressInput(): string;
|
|
111
|
+
private _tgwGreAddress?;
|
|
112
|
+
get tgwGreAddress(): string;
|
|
113
|
+
set tgwGreAddress(value: string);
|
|
114
|
+
resetTgwGreAddress(): void;
|
|
115
|
+
get tgwGreAddressInput(): string;
|
|
116
|
+
private _tgwName?;
|
|
117
|
+
get tgwName(): string;
|
|
118
|
+
set tgwName(value: string);
|
|
119
|
+
get tgwNameInput(): string;
|
|
120
|
+
protected synthesizeAttributes(): {
|
|
121
|
+
[name: string]: any;
|
|
122
|
+
};
|
|
123
|
+
protected synthesizeHclAttributes(): {
|
|
124
|
+
[name: string]: any;
|
|
125
|
+
};
|
|
126
|
+
}
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect_peer
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect_peer aviatrix_aws_tgw_connect_peer}
|
|
6
|
+
*/
|
|
7
|
+
export class AwsTgwConnectPeer extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_aws_tgw_connect_peer";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a AwsTgwConnectPeer resource upon running "cdktf plan <stack-name>"
|
|
17
|
+
* @param scope The scope in which to define this construct
|
|
18
|
+
* @param importToId The construct id used in the generated config for the AwsTgwConnectPeer to import
|
|
19
|
+
* @param importFromId The id of the existing AwsTgwConnectPeer that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect_peer#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the AwsTgwConnectPeer to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_aws_tgw_connect_peer", importId: importFromId, provider });
|
|
24
|
+
}
|
|
25
|
+
// ===========
|
|
26
|
+
// INITIALIZER
|
|
27
|
+
// ===========
|
|
28
|
+
/**
|
|
29
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw_connect_peer aviatrix_aws_tgw_connect_peer} Resource
|
|
30
|
+
*
|
|
31
|
+
* @param scope The scope in which to define this construct
|
|
32
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
33
|
+
* @param options AwsTgwConnectPeerConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_aws_tgw_connect_peer',
|
|
38
|
+
terraformGeneratorMetadata: {
|
|
39
|
+
providerName: 'aviatrix',
|
|
40
|
+
providerVersion: '8.1.10',
|
|
41
|
+
providerVersionConstraint: '8.1.10'
|
|
42
|
+
},
|
|
43
|
+
provider: config.provider,
|
|
44
|
+
dependsOn: config.dependsOn,
|
|
45
|
+
count: config.count,
|
|
46
|
+
lifecycle: config.lifecycle,
|
|
47
|
+
provisioners: config.provisioners,
|
|
48
|
+
connection: config.connection,
|
|
49
|
+
forEach: config.forEach
|
|
50
|
+
});
|
|
51
|
+
this._bgpInsideCidrs = config.bgpInsideCidrs;
|
|
52
|
+
this._connectAttachmentId = config.connectAttachmentId;
|
|
53
|
+
this._connectPeerName = config.connectPeerName;
|
|
54
|
+
this._connectionName = config.connectionName;
|
|
55
|
+
this._id = config.id;
|
|
56
|
+
this._peerAsNumber = config.peerAsNumber;
|
|
57
|
+
this._peerGreAddress = config.peerGreAddress;
|
|
58
|
+
this._tgwGreAddress = config.tgwGreAddress;
|
|
59
|
+
this._tgwName = config.tgwName;
|
|
60
|
+
}
|
|
61
|
+
// ==========
|
|
62
|
+
// ATTRIBUTES
|
|
63
|
+
// ==========
|
|
64
|
+
// bgp_inside_cidrs - computed: false, optional: false, required: true
|
|
65
|
+
_bgpInsideCidrs;
|
|
66
|
+
get bgpInsideCidrs() {
|
|
67
|
+
return cdktf.Fn.tolist(this.getListAttribute('bgp_inside_cidrs'));
|
|
68
|
+
}
|
|
69
|
+
set bgpInsideCidrs(value) {
|
|
70
|
+
this._bgpInsideCidrs = value;
|
|
71
|
+
}
|
|
72
|
+
// Temporarily expose input value. Use with caution.
|
|
73
|
+
get bgpInsideCidrsInput() {
|
|
74
|
+
return this._bgpInsideCidrs;
|
|
75
|
+
}
|
|
76
|
+
// connect_attachment_id - computed: false, optional: false, required: true
|
|
77
|
+
_connectAttachmentId;
|
|
78
|
+
get connectAttachmentId() {
|
|
79
|
+
return this.getStringAttribute('connect_attachment_id');
|
|
80
|
+
}
|
|
81
|
+
set connectAttachmentId(value) {
|
|
82
|
+
this._connectAttachmentId = value;
|
|
83
|
+
}
|
|
84
|
+
// Temporarily expose input value. Use with caution.
|
|
85
|
+
get connectAttachmentIdInput() {
|
|
86
|
+
return this._connectAttachmentId;
|
|
87
|
+
}
|
|
88
|
+
// connect_peer_id - computed: true, optional: false, required: false
|
|
89
|
+
get connectPeerId() {
|
|
90
|
+
return this.getStringAttribute('connect_peer_id');
|
|
91
|
+
}
|
|
92
|
+
// connect_peer_name - computed: false, optional: false, required: true
|
|
93
|
+
_connectPeerName;
|
|
94
|
+
get connectPeerName() {
|
|
95
|
+
return this.getStringAttribute('connect_peer_name');
|
|
96
|
+
}
|
|
97
|
+
set connectPeerName(value) {
|
|
98
|
+
this._connectPeerName = value;
|
|
99
|
+
}
|
|
100
|
+
// Temporarily expose input value. Use with caution.
|
|
101
|
+
get connectPeerNameInput() {
|
|
102
|
+
return this._connectPeerName;
|
|
103
|
+
}
|
|
104
|
+
// connection_name - computed: false, optional: false, required: true
|
|
105
|
+
_connectionName;
|
|
106
|
+
get connectionName() {
|
|
107
|
+
return this.getStringAttribute('connection_name');
|
|
108
|
+
}
|
|
109
|
+
set connectionName(value) {
|
|
110
|
+
this._connectionName = value;
|
|
111
|
+
}
|
|
112
|
+
// Temporarily expose input value. Use with caution.
|
|
113
|
+
get connectionNameInput() {
|
|
114
|
+
return this._connectionName;
|
|
115
|
+
}
|
|
116
|
+
// id - computed: true, optional: true, required: false
|
|
117
|
+
_id;
|
|
118
|
+
get id() {
|
|
119
|
+
return this.getStringAttribute('id');
|
|
120
|
+
}
|
|
121
|
+
set id(value) {
|
|
122
|
+
this._id = value;
|
|
123
|
+
}
|
|
124
|
+
resetId() {
|
|
125
|
+
this._id = undefined;
|
|
126
|
+
}
|
|
127
|
+
// Temporarily expose input value. Use with caution.
|
|
128
|
+
get idInput() {
|
|
129
|
+
return this._id;
|
|
130
|
+
}
|
|
131
|
+
// peer_as_number - computed: false, optional: false, required: true
|
|
132
|
+
_peerAsNumber;
|
|
133
|
+
get peerAsNumber() {
|
|
134
|
+
return this.getStringAttribute('peer_as_number');
|
|
135
|
+
}
|
|
136
|
+
set peerAsNumber(value) {
|
|
137
|
+
this._peerAsNumber = value;
|
|
138
|
+
}
|
|
139
|
+
// Temporarily expose input value. Use with caution.
|
|
140
|
+
get peerAsNumberInput() {
|
|
141
|
+
return this._peerAsNumber;
|
|
142
|
+
}
|
|
143
|
+
// peer_gre_address - computed: false, optional: false, required: true
|
|
144
|
+
_peerGreAddress;
|
|
145
|
+
get peerGreAddress() {
|
|
146
|
+
return this.getStringAttribute('peer_gre_address');
|
|
147
|
+
}
|
|
148
|
+
set peerGreAddress(value) {
|
|
149
|
+
this._peerGreAddress = value;
|
|
150
|
+
}
|
|
151
|
+
// Temporarily expose input value. Use with caution.
|
|
152
|
+
get peerGreAddressInput() {
|
|
153
|
+
return this._peerGreAddress;
|
|
154
|
+
}
|
|
155
|
+
// tgw_gre_address - computed: false, optional: true, required: false
|
|
156
|
+
_tgwGreAddress;
|
|
157
|
+
get tgwGreAddress() {
|
|
158
|
+
return this.getStringAttribute('tgw_gre_address');
|
|
159
|
+
}
|
|
160
|
+
set tgwGreAddress(value) {
|
|
161
|
+
this._tgwGreAddress = value;
|
|
162
|
+
}
|
|
163
|
+
resetTgwGreAddress() {
|
|
164
|
+
this._tgwGreAddress = undefined;
|
|
165
|
+
}
|
|
166
|
+
// Temporarily expose input value. Use with caution.
|
|
167
|
+
get tgwGreAddressInput() {
|
|
168
|
+
return this._tgwGreAddress;
|
|
169
|
+
}
|
|
170
|
+
// tgw_name - computed: false, optional: false, required: true
|
|
171
|
+
_tgwName;
|
|
172
|
+
get tgwName() {
|
|
173
|
+
return this.getStringAttribute('tgw_name');
|
|
174
|
+
}
|
|
175
|
+
set tgwName(value) {
|
|
176
|
+
this._tgwName = value;
|
|
177
|
+
}
|
|
178
|
+
// Temporarily expose input value. Use with caution.
|
|
179
|
+
get tgwNameInput() {
|
|
180
|
+
return this._tgwName;
|
|
181
|
+
}
|
|
182
|
+
// =========
|
|
183
|
+
// SYNTHESIS
|
|
184
|
+
// =========
|
|
185
|
+
synthesizeAttributes() {
|
|
186
|
+
return {
|
|
187
|
+
bgp_inside_cidrs: cdktf.listMapper(cdktf.stringToTerraform, false)(this._bgpInsideCidrs),
|
|
188
|
+
connect_attachment_id: cdktf.stringToTerraform(this._connectAttachmentId),
|
|
189
|
+
connect_peer_name: cdktf.stringToTerraform(this._connectPeerName),
|
|
190
|
+
connection_name: cdktf.stringToTerraform(this._connectionName),
|
|
191
|
+
id: cdktf.stringToTerraform(this._id),
|
|
192
|
+
peer_as_number: cdktf.stringToTerraform(this._peerAsNumber),
|
|
193
|
+
peer_gre_address: cdktf.stringToTerraform(this._peerGreAddress),
|
|
194
|
+
tgw_gre_address: cdktf.stringToTerraform(this._tgwGreAddress),
|
|
195
|
+
tgw_name: cdktf.stringToTerraform(this._tgwName),
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
synthesizeHclAttributes() {
|
|
199
|
+
const attrs = {
|
|
200
|
+
bgp_inside_cidrs: {
|
|
201
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._bgpInsideCidrs),
|
|
202
|
+
isBlock: false,
|
|
203
|
+
type: "set",
|
|
204
|
+
storageClassType: "stringList",
|
|
205
|
+
},
|
|
206
|
+
connect_attachment_id: {
|
|
207
|
+
value: cdktf.stringToHclTerraform(this._connectAttachmentId),
|
|
208
|
+
isBlock: false,
|
|
209
|
+
type: "simple",
|
|
210
|
+
storageClassType: "string",
|
|
211
|
+
},
|
|
212
|
+
connect_peer_name: {
|
|
213
|
+
value: cdktf.stringToHclTerraform(this._connectPeerName),
|
|
214
|
+
isBlock: false,
|
|
215
|
+
type: "simple",
|
|
216
|
+
storageClassType: "string",
|
|
217
|
+
},
|
|
218
|
+
connection_name: {
|
|
219
|
+
value: cdktf.stringToHclTerraform(this._connectionName),
|
|
220
|
+
isBlock: false,
|
|
221
|
+
type: "simple",
|
|
222
|
+
storageClassType: "string",
|
|
223
|
+
},
|
|
224
|
+
id: {
|
|
225
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
226
|
+
isBlock: false,
|
|
227
|
+
type: "simple",
|
|
228
|
+
storageClassType: "string",
|
|
229
|
+
},
|
|
230
|
+
peer_as_number: {
|
|
231
|
+
value: cdktf.stringToHclTerraform(this._peerAsNumber),
|
|
232
|
+
isBlock: false,
|
|
233
|
+
type: "simple",
|
|
234
|
+
storageClassType: "string",
|
|
235
|
+
},
|
|
236
|
+
peer_gre_address: {
|
|
237
|
+
value: cdktf.stringToHclTerraform(this._peerGreAddress),
|
|
238
|
+
isBlock: false,
|
|
239
|
+
type: "simple",
|
|
240
|
+
storageClassType: "string",
|
|
241
|
+
},
|
|
242
|
+
tgw_gre_address: {
|
|
243
|
+
value: cdktf.stringToHclTerraform(this._tgwGreAddress),
|
|
244
|
+
isBlock: false,
|
|
245
|
+
type: "simple",
|
|
246
|
+
storageClassType: "string",
|
|
247
|
+
},
|
|
248
|
+
tgw_name: {
|
|
249
|
+
value: cdktf.stringToHclTerraform(this._tgwName),
|
|
250
|
+
isBlock: false,
|
|
251
|
+
type: "simple",
|
|
252
|
+
storageClassType: "string",
|
|
253
|
+
},
|
|
254
|
+
};
|
|
255
|
+
// remove undefined attributes
|
|
256
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
257
|
+
}
|
|
258
|
+
}
|