@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,499 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/transit_gateway_peering
|
|
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/transit_gateway_peering aviatrix_transit_gateway_peering}
|
|
6
|
+
*/
|
|
7
|
+
export class TransitGatewayPeering extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_transit_gateway_peering";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a TransitGatewayPeering 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 TransitGatewayPeering to import
|
|
19
|
+
* @param importFromId The id of the existing TransitGatewayPeering that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/transit_gateway_peering#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the TransitGatewayPeering to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_transit_gateway_peering", 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/transit_gateway_peering aviatrix_transit_gateway_peering} 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 TransitGatewayPeeringConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_transit_gateway_peering',
|
|
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._disableActivemesh = config.disableActivemesh;
|
|
52
|
+
this._enableInsaneModeEncryptionOverInternet = config.enableInsaneModeEncryptionOverInternet;
|
|
53
|
+
this._enableMaxPerformance = config.enableMaxPerformance;
|
|
54
|
+
this._enablePeeringOverPrivateNetwork = config.enablePeeringOverPrivateNetwork;
|
|
55
|
+
this._enableSingleTunnelMode = config.enableSingleTunnelMode;
|
|
56
|
+
this._gateway1ExcludedNetworkCidrs = config.gateway1ExcludedNetworkCidrs;
|
|
57
|
+
this._gateway1ExcludedTgwConnections = config.gateway1ExcludedTgwConnections;
|
|
58
|
+
this._gateway1LogicalIfnames = config.gateway1LogicalIfnames;
|
|
59
|
+
this._gateway2ExcludedNetworkCidrs = config.gateway2ExcludedNetworkCidrs;
|
|
60
|
+
this._gateway2ExcludedTgwConnections = config.gateway2ExcludedTgwConnections;
|
|
61
|
+
this._gateway2LogicalIfnames = config.gateway2LogicalIfnames;
|
|
62
|
+
this._id = config.id;
|
|
63
|
+
this._insaneMode = config.insaneMode;
|
|
64
|
+
this._jumboFrame = config.jumboFrame;
|
|
65
|
+
this._prependAsPath1 = config.prependAsPath1;
|
|
66
|
+
this._prependAsPath2 = config.prependAsPath2;
|
|
67
|
+
this._transitGatewayName1 = config.transitGatewayName1;
|
|
68
|
+
this._transitGatewayName2 = config.transitGatewayName2;
|
|
69
|
+
this._tunnelCount = config.tunnelCount;
|
|
70
|
+
}
|
|
71
|
+
// ==========
|
|
72
|
+
// ATTRIBUTES
|
|
73
|
+
// ==========
|
|
74
|
+
// disable_activemesh - computed: false, optional: true, required: false
|
|
75
|
+
_disableActivemesh;
|
|
76
|
+
get disableActivemesh() {
|
|
77
|
+
return this.getBooleanAttribute('disable_activemesh');
|
|
78
|
+
}
|
|
79
|
+
set disableActivemesh(value) {
|
|
80
|
+
this._disableActivemesh = value;
|
|
81
|
+
}
|
|
82
|
+
resetDisableActivemesh() {
|
|
83
|
+
this._disableActivemesh = undefined;
|
|
84
|
+
}
|
|
85
|
+
// Temporarily expose input value. Use with caution.
|
|
86
|
+
get disableActivemeshInput() {
|
|
87
|
+
return this._disableActivemesh;
|
|
88
|
+
}
|
|
89
|
+
// enable_insane_mode_encryption_over_internet - computed: false, optional: true, required: false
|
|
90
|
+
_enableInsaneModeEncryptionOverInternet;
|
|
91
|
+
get enableInsaneModeEncryptionOverInternet() {
|
|
92
|
+
return this.getBooleanAttribute('enable_insane_mode_encryption_over_internet');
|
|
93
|
+
}
|
|
94
|
+
set enableInsaneModeEncryptionOverInternet(value) {
|
|
95
|
+
this._enableInsaneModeEncryptionOverInternet = value;
|
|
96
|
+
}
|
|
97
|
+
resetEnableInsaneModeEncryptionOverInternet() {
|
|
98
|
+
this._enableInsaneModeEncryptionOverInternet = undefined;
|
|
99
|
+
}
|
|
100
|
+
// Temporarily expose input value. Use with caution.
|
|
101
|
+
get enableInsaneModeEncryptionOverInternetInput() {
|
|
102
|
+
return this._enableInsaneModeEncryptionOverInternet;
|
|
103
|
+
}
|
|
104
|
+
// enable_max_performance - computed: false, optional: true, required: false
|
|
105
|
+
_enableMaxPerformance;
|
|
106
|
+
get enableMaxPerformance() {
|
|
107
|
+
return this.getBooleanAttribute('enable_max_performance');
|
|
108
|
+
}
|
|
109
|
+
set enableMaxPerformance(value) {
|
|
110
|
+
this._enableMaxPerformance = value;
|
|
111
|
+
}
|
|
112
|
+
resetEnableMaxPerformance() {
|
|
113
|
+
this._enableMaxPerformance = undefined;
|
|
114
|
+
}
|
|
115
|
+
// Temporarily expose input value. Use with caution.
|
|
116
|
+
get enableMaxPerformanceInput() {
|
|
117
|
+
return this._enableMaxPerformance;
|
|
118
|
+
}
|
|
119
|
+
// enable_peering_over_private_network - computed: false, optional: true, required: false
|
|
120
|
+
_enablePeeringOverPrivateNetwork;
|
|
121
|
+
get enablePeeringOverPrivateNetwork() {
|
|
122
|
+
return this.getBooleanAttribute('enable_peering_over_private_network');
|
|
123
|
+
}
|
|
124
|
+
set enablePeeringOverPrivateNetwork(value) {
|
|
125
|
+
this._enablePeeringOverPrivateNetwork = value;
|
|
126
|
+
}
|
|
127
|
+
resetEnablePeeringOverPrivateNetwork() {
|
|
128
|
+
this._enablePeeringOverPrivateNetwork = undefined;
|
|
129
|
+
}
|
|
130
|
+
// Temporarily expose input value. Use with caution.
|
|
131
|
+
get enablePeeringOverPrivateNetworkInput() {
|
|
132
|
+
return this._enablePeeringOverPrivateNetwork;
|
|
133
|
+
}
|
|
134
|
+
// enable_single_tunnel_mode - computed: false, optional: true, required: false
|
|
135
|
+
_enableSingleTunnelMode;
|
|
136
|
+
get enableSingleTunnelMode() {
|
|
137
|
+
return this.getBooleanAttribute('enable_single_tunnel_mode');
|
|
138
|
+
}
|
|
139
|
+
set enableSingleTunnelMode(value) {
|
|
140
|
+
this._enableSingleTunnelMode = value;
|
|
141
|
+
}
|
|
142
|
+
resetEnableSingleTunnelMode() {
|
|
143
|
+
this._enableSingleTunnelMode = undefined;
|
|
144
|
+
}
|
|
145
|
+
// Temporarily expose input value. Use with caution.
|
|
146
|
+
get enableSingleTunnelModeInput() {
|
|
147
|
+
return this._enableSingleTunnelMode;
|
|
148
|
+
}
|
|
149
|
+
// gateway1_excluded_network_cidrs - computed: false, optional: true, required: false
|
|
150
|
+
_gateway1ExcludedNetworkCidrs;
|
|
151
|
+
get gateway1ExcludedNetworkCidrs() {
|
|
152
|
+
return this.getListAttribute('gateway1_excluded_network_cidrs');
|
|
153
|
+
}
|
|
154
|
+
set gateway1ExcludedNetworkCidrs(value) {
|
|
155
|
+
this._gateway1ExcludedNetworkCidrs = value;
|
|
156
|
+
}
|
|
157
|
+
resetGateway1ExcludedNetworkCidrs() {
|
|
158
|
+
this._gateway1ExcludedNetworkCidrs = undefined;
|
|
159
|
+
}
|
|
160
|
+
// Temporarily expose input value. Use with caution.
|
|
161
|
+
get gateway1ExcludedNetworkCidrsInput() {
|
|
162
|
+
return this._gateway1ExcludedNetworkCidrs;
|
|
163
|
+
}
|
|
164
|
+
// gateway1_excluded_tgw_connections - computed: false, optional: true, required: false
|
|
165
|
+
_gateway1ExcludedTgwConnections;
|
|
166
|
+
get gateway1ExcludedTgwConnections() {
|
|
167
|
+
return this.getListAttribute('gateway1_excluded_tgw_connections');
|
|
168
|
+
}
|
|
169
|
+
set gateway1ExcludedTgwConnections(value) {
|
|
170
|
+
this._gateway1ExcludedTgwConnections = value;
|
|
171
|
+
}
|
|
172
|
+
resetGateway1ExcludedTgwConnections() {
|
|
173
|
+
this._gateway1ExcludedTgwConnections = undefined;
|
|
174
|
+
}
|
|
175
|
+
// Temporarily expose input value. Use with caution.
|
|
176
|
+
get gateway1ExcludedTgwConnectionsInput() {
|
|
177
|
+
return this._gateway1ExcludedTgwConnections;
|
|
178
|
+
}
|
|
179
|
+
// gateway1_logical_ifnames - computed: false, optional: true, required: false
|
|
180
|
+
_gateway1LogicalIfnames;
|
|
181
|
+
get gateway1LogicalIfnames() {
|
|
182
|
+
return this.getListAttribute('gateway1_logical_ifnames');
|
|
183
|
+
}
|
|
184
|
+
set gateway1LogicalIfnames(value) {
|
|
185
|
+
this._gateway1LogicalIfnames = value;
|
|
186
|
+
}
|
|
187
|
+
resetGateway1LogicalIfnames() {
|
|
188
|
+
this._gateway1LogicalIfnames = undefined;
|
|
189
|
+
}
|
|
190
|
+
// Temporarily expose input value. Use with caution.
|
|
191
|
+
get gateway1LogicalIfnamesInput() {
|
|
192
|
+
return this._gateway1LogicalIfnames;
|
|
193
|
+
}
|
|
194
|
+
// gateway2_excluded_network_cidrs - computed: false, optional: true, required: false
|
|
195
|
+
_gateway2ExcludedNetworkCidrs;
|
|
196
|
+
get gateway2ExcludedNetworkCidrs() {
|
|
197
|
+
return this.getListAttribute('gateway2_excluded_network_cidrs');
|
|
198
|
+
}
|
|
199
|
+
set gateway2ExcludedNetworkCidrs(value) {
|
|
200
|
+
this._gateway2ExcludedNetworkCidrs = value;
|
|
201
|
+
}
|
|
202
|
+
resetGateway2ExcludedNetworkCidrs() {
|
|
203
|
+
this._gateway2ExcludedNetworkCidrs = undefined;
|
|
204
|
+
}
|
|
205
|
+
// Temporarily expose input value. Use with caution.
|
|
206
|
+
get gateway2ExcludedNetworkCidrsInput() {
|
|
207
|
+
return this._gateway2ExcludedNetworkCidrs;
|
|
208
|
+
}
|
|
209
|
+
// gateway2_excluded_tgw_connections - computed: false, optional: true, required: false
|
|
210
|
+
_gateway2ExcludedTgwConnections;
|
|
211
|
+
get gateway2ExcludedTgwConnections() {
|
|
212
|
+
return this.getListAttribute('gateway2_excluded_tgw_connections');
|
|
213
|
+
}
|
|
214
|
+
set gateway2ExcludedTgwConnections(value) {
|
|
215
|
+
this._gateway2ExcludedTgwConnections = value;
|
|
216
|
+
}
|
|
217
|
+
resetGateway2ExcludedTgwConnections() {
|
|
218
|
+
this._gateway2ExcludedTgwConnections = undefined;
|
|
219
|
+
}
|
|
220
|
+
// Temporarily expose input value. Use with caution.
|
|
221
|
+
get gateway2ExcludedTgwConnectionsInput() {
|
|
222
|
+
return this._gateway2ExcludedTgwConnections;
|
|
223
|
+
}
|
|
224
|
+
// gateway2_logical_ifnames - computed: false, optional: true, required: false
|
|
225
|
+
_gateway2LogicalIfnames;
|
|
226
|
+
get gateway2LogicalIfnames() {
|
|
227
|
+
return this.getListAttribute('gateway2_logical_ifnames');
|
|
228
|
+
}
|
|
229
|
+
set gateway2LogicalIfnames(value) {
|
|
230
|
+
this._gateway2LogicalIfnames = value;
|
|
231
|
+
}
|
|
232
|
+
resetGateway2LogicalIfnames() {
|
|
233
|
+
this._gateway2LogicalIfnames = undefined;
|
|
234
|
+
}
|
|
235
|
+
// Temporarily expose input value. Use with caution.
|
|
236
|
+
get gateway2LogicalIfnamesInput() {
|
|
237
|
+
return this._gateway2LogicalIfnames;
|
|
238
|
+
}
|
|
239
|
+
// id - computed: true, optional: true, required: false
|
|
240
|
+
_id;
|
|
241
|
+
get id() {
|
|
242
|
+
return this.getStringAttribute('id');
|
|
243
|
+
}
|
|
244
|
+
set id(value) {
|
|
245
|
+
this._id = value;
|
|
246
|
+
}
|
|
247
|
+
resetId() {
|
|
248
|
+
this._id = undefined;
|
|
249
|
+
}
|
|
250
|
+
// Temporarily expose input value. Use with caution.
|
|
251
|
+
get idInput() {
|
|
252
|
+
return this._id;
|
|
253
|
+
}
|
|
254
|
+
// insane_mode - computed: false, optional: true, required: false
|
|
255
|
+
_insaneMode;
|
|
256
|
+
get insaneMode() {
|
|
257
|
+
return this.getBooleanAttribute('insane_mode');
|
|
258
|
+
}
|
|
259
|
+
set insaneMode(value) {
|
|
260
|
+
this._insaneMode = value;
|
|
261
|
+
}
|
|
262
|
+
resetInsaneMode() {
|
|
263
|
+
this._insaneMode = undefined;
|
|
264
|
+
}
|
|
265
|
+
// Temporarily expose input value. Use with caution.
|
|
266
|
+
get insaneModeInput() {
|
|
267
|
+
return this._insaneMode;
|
|
268
|
+
}
|
|
269
|
+
// jumbo_frame - computed: false, optional: true, required: false
|
|
270
|
+
_jumboFrame;
|
|
271
|
+
get jumboFrame() {
|
|
272
|
+
return this.getBooleanAttribute('jumbo_frame');
|
|
273
|
+
}
|
|
274
|
+
set jumboFrame(value) {
|
|
275
|
+
this._jumboFrame = value;
|
|
276
|
+
}
|
|
277
|
+
resetJumboFrame() {
|
|
278
|
+
this._jumboFrame = undefined;
|
|
279
|
+
}
|
|
280
|
+
// Temporarily expose input value. Use with caution.
|
|
281
|
+
get jumboFrameInput() {
|
|
282
|
+
return this._jumboFrame;
|
|
283
|
+
}
|
|
284
|
+
// prepend_as_path1 - computed: false, optional: true, required: false
|
|
285
|
+
_prependAsPath1;
|
|
286
|
+
get prependAsPath1() {
|
|
287
|
+
return this.getListAttribute('prepend_as_path1');
|
|
288
|
+
}
|
|
289
|
+
set prependAsPath1(value) {
|
|
290
|
+
this._prependAsPath1 = value;
|
|
291
|
+
}
|
|
292
|
+
resetPrependAsPath1() {
|
|
293
|
+
this._prependAsPath1 = undefined;
|
|
294
|
+
}
|
|
295
|
+
// Temporarily expose input value. Use with caution.
|
|
296
|
+
get prependAsPath1Input() {
|
|
297
|
+
return this._prependAsPath1;
|
|
298
|
+
}
|
|
299
|
+
// prepend_as_path2 - computed: false, optional: true, required: false
|
|
300
|
+
_prependAsPath2;
|
|
301
|
+
get prependAsPath2() {
|
|
302
|
+
return this.getListAttribute('prepend_as_path2');
|
|
303
|
+
}
|
|
304
|
+
set prependAsPath2(value) {
|
|
305
|
+
this._prependAsPath2 = value;
|
|
306
|
+
}
|
|
307
|
+
resetPrependAsPath2() {
|
|
308
|
+
this._prependAsPath2 = undefined;
|
|
309
|
+
}
|
|
310
|
+
// Temporarily expose input value. Use with caution.
|
|
311
|
+
get prependAsPath2Input() {
|
|
312
|
+
return this._prependAsPath2;
|
|
313
|
+
}
|
|
314
|
+
// transit_gateway_name1 - computed: false, optional: false, required: true
|
|
315
|
+
_transitGatewayName1;
|
|
316
|
+
get transitGatewayName1() {
|
|
317
|
+
return this.getStringAttribute('transit_gateway_name1');
|
|
318
|
+
}
|
|
319
|
+
set transitGatewayName1(value) {
|
|
320
|
+
this._transitGatewayName1 = value;
|
|
321
|
+
}
|
|
322
|
+
// Temporarily expose input value. Use with caution.
|
|
323
|
+
get transitGatewayName1Input() {
|
|
324
|
+
return this._transitGatewayName1;
|
|
325
|
+
}
|
|
326
|
+
// transit_gateway_name2 - computed: false, optional: false, required: true
|
|
327
|
+
_transitGatewayName2;
|
|
328
|
+
get transitGatewayName2() {
|
|
329
|
+
return this.getStringAttribute('transit_gateway_name2');
|
|
330
|
+
}
|
|
331
|
+
set transitGatewayName2(value) {
|
|
332
|
+
this._transitGatewayName2 = value;
|
|
333
|
+
}
|
|
334
|
+
// Temporarily expose input value. Use with caution.
|
|
335
|
+
get transitGatewayName2Input() {
|
|
336
|
+
return this._transitGatewayName2;
|
|
337
|
+
}
|
|
338
|
+
// tunnel_count - computed: false, optional: true, required: false
|
|
339
|
+
_tunnelCount;
|
|
340
|
+
get tunnelCount() {
|
|
341
|
+
return this.getNumberAttribute('tunnel_count');
|
|
342
|
+
}
|
|
343
|
+
set tunnelCount(value) {
|
|
344
|
+
this._tunnelCount = value;
|
|
345
|
+
}
|
|
346
|
+
resetTunnelCount() {
|
|
347
|
+
this._tunnelCount = undefined;
|
|
348
|
+
}
|
|
349
|
+
// Temporarily expose input value. Use with caution.
|
|
350
|
+
get tunnelCountInput() {
|
|
351
|
+
return this._tunnelCount;
|
|
352
|
+
}
|
|
353
|
+
// =========
|
|
354
|
+
// SYNTHESIS
|
|
355
|
+
// =========
|
|
356
|
+
synthesizeAttributes() {
|
|
357
|
+
return {
|
|
358
|
+
disable_activemesh: cdktf.booleanToTerraform(this._disableActivemesh),
|
|
359
|
+
enable_insane_mode_encryption_over_internet: cdktf.booleanToTerraform(this._enableInsaneModeEncryptionOverInternet),
|
|
360
|
+
enable_max_performance: cdktf.booleanToTerraform(this._enableMaxPerformance),
|
|
361
|
+
enable_peering_over_private_network: cdktf.booleanToTerraform(this._enablePeeringOverPrivateNetwork),
|
|
362
|
+
enable_single_tunnel_mode: cdktf.booleanToTerraform(this._enableSingleTunnelMode),
|
|
363
|
+
gateway1_excluded_network_cidrs: cdktf.listMapper(cdktf.stringToTerraform, false)(this._gateway1ExcludedNetworkCidrs),
|
|
364
|
+
gateway1_excluded_tgw_connections: cdktf.listMapper(cdktf.stringToTerraform, false)(this._gateway1ExcludedTgwConnections),
|
|
365
|
+
gateway1_logical_ifnames: cdktf.listMapper(cdktf.stringToTerraform, false)(this._gateway1LogicalIfnames),
|
|
366
|
+
gateway2_excluded_network_cidrs: cdktf.listMapper(cdktf.stringToTerraform, false)(this._gateway2ExcludedNetworkCidrs),
|
|
367
|
+
gateway2_excluded_tgw_connections: cdktf.listMapper(cdktf.stringToTerraform, false)(this._gateway2ExcludedTgwConnections),
|
|
368
|
+
gateway2_logical_ifnames: cdktf.listMapper(cdktf.stringToTerraform, false)(this._gateway2LogicalIfnames),
|
|
369
|
+
id: cdktf.stringToTerraform(this._id),
|
|
370
|
+
insane_mode: cdktf.booleanToTerraform(this._insaneMode),
|
|
371
|
+
jumbo_frame: cdktf.booleanToTerraform(this._jumboFrame),
|
|
372
|
+
prepend_as_path1: cdktf.listMapper(cdktf.stringToTerraform, false)(this._prependAsPath1),
|
|
373
|
+
prepend_as_path2: cdktf.listMapper(cdktf.stringToTerraform, false)(this._prependAsPath2),
|
|
374
|
+
transit_gateway_name1: cdktf.stringToTerraform(this._transitGatewayName1),
|
|
375
|
+
transit_gateway_name2: cdktf.stringToTerraform(this._transitGatewayName2),
|
|
376
|
+
tunnel_count: cdktf.numberToTerraform(this._tunnelCount),
|
|
377
|
+
};
|
|
378
|
+
}
|
|
379
|
+
synthesizeHclAttributes() {
|
|
380
|
+
const attrs = {
|
|
381
|
+
disable_activemesh: {
|
|
382
|
+
value: cdktf.booleanToHclTerraform(this._disableActivemesh),
|
|
383
|
+
isBlock: false,
|
|
384
|
+
type: "simple",
|
|
385
|
+
storageClassType: "boolean",
|
|
386
|
+
},
|
|
387
|
+
enable_insane_mode_encryption_over_internet: {
|
|
388
|
+
value: cdktf.booleanToHclTerraform(this._enableInsaneModeEncryptionOverInternet),
|
|
389
|
+
isBlock: false,
|
|
390
|
+
type: "simple",
|
|
391
|
+
storageClassType: "boolean",
|
|
392
|
+
},
|
|
393
|
+
enable_max_performance: {
|
|
394
|
+
value: cdktf.booleanToHclTerraform(this._enableMaxPerformance),
|
|
395
|
+
isBlock: false,
|
|
396
|
+
type: "simple",
|
|
397
|
+
storageClassType: "boolean",
|
|
398
|
+
},
|
|
399
|
+
enable_peering_over_private_network: {
|
|
400
|
+
value: cdktf.booleanToHclTerraform(this._enablePeeringOverPrivateNetwork),
|
|
401
|
+
isBlock: false,
|
|
402
|
+
type: "simple",
|
|
403
|
+
storageClassType: "boolean",
|
|
404
|
+
},
|
|
405
|
+
enable_single_tunnel_mode: {
|
|
406
|
+
value: cdktf.booleanToHclTerraform(this._enableSingleTunnelMode),
|
|
407
|
+
isBlock: false,
|
|
408
|
+
type: "simple",
|
|
409
|
+
storageClassType: "boolean",
|
|
410
|
+
},
|
|
411
|
+
gateway1_excluded_network_cidrs: {
|
|
412
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._gateway1ExcludedNetworkCidrs),
|
|
413
|
+
isBlock: false,
|
|
414
|
+
type: "list",
|
|
415
|
+
storageClassType: "stringList",
|
|
416
|
+
},
|
|
417
|
+
gateway1_excluded_tgw_connections: {
|
|
418
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._gateway1ExcludedTgwConnections),
|
|
419
|
+
isBlock: false,
|
|
420
|
+
type: "list",
|
|
421
|
+
storageClassType: "stringList",
|
|
422
|
+
},
|
|
423
|
+
gateway1_logical_ifnames: {
|
|
424
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._gateway1LogicalIfnames),
|
|
425
|
+
isBlock: false,
|
|
426
|
+
type: "list",
|
|
427
|
+
storageClassType: "stringList",
|
|
428
|
+
},
|
|
429
|
+
gateway2_excluded_network_cidrs: {
|
|
430
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._gateway2ExcludedNetworkCidrs),
|
|
431
|
+
isBlock: false,
|
|
432
|
+
type: "list",
|
|
433
|
+
storageClassType: "stringList",
|
|
434
|
+
},
|
|
435
|
+
gateway2_excluded_tgw_connections: {
|
|
436
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._gateway2ExcludedTgwConnections),
|
|
437
|
+
isBlock: false,
|
|
438
|
+
type: "list",
|
|
439
|
+
storageClassType: "stringList",
|
|
440
|
+
},
|
|
441
|
+
gateway2_logical_ifnames: {
|
|
442
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._gateway2LogicalIfnames),
|
|
443
|
+
isBlock: false,
|
|
444
|
+
type: "list",
|
|
445
|
+
storageClassType: "stringList",
|
|
446
|
+
},
|
|
447
|
+
id: {
|
|
448
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
449
|
+
isBlock: false,
|
|
450
|
+
type: "simple",
|
|
451
|
+
storageClassType: "string",
|
|
452
|
+
},
|
|
453
|
+
insane_mode: {
|
|
454
|
+
value: cdktf.booleanToHclTerraform(this._insaneMode),
|
|
455
|
+
isBlock: false,
|
|
456
|
+
type: "simple",
|
|
457
|
+
storageClassType: "boolean",
|
|
458
|
+
},
|
|
459
|
+
jumbo_frame: {
|
|
460
|
+
value: cdktf.booleanToHclTerraform(this._jumboFrame),
|
|
461
|
+
isBlock: false,
|
|
462
|
+
type: "simple",
|
|
463
|
+
storageClassType: "boolean",
|
|
464
|
+
},
|
|
465
|
+
prepend_as_path1: {
|
|
466
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._prependAsPath1),
|
|
467
|
+
isBlock: false,
|
|
468
|
+
type: "list",
|
|
469
|
+
storageClassType: "stringList",
|
|
470
|
+
},
|
|
471
|
+
prepend_as_path2: {
|
|
472
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._prependAsPath2),
|
|
473
|
+
isBlock: false,
|
|
474
|
+
type: "list",
|
|
475
|
+
storageClassType: "stringList",
|
|
476
|
+
},
|
|
477
|
+
transit_gateway_name1: {
|
|
478
|
+
value: cdktf.stringToHclTerraform(this._transitGatewayName1),
|
|
479
|
+
isBlock: false,
|
|
480
|
+
type: "simple",
|
|
481
|
+
storageClassType: "string",
|
|
482
|
+
},
|
|
483
|
+
transit_gateway_name2: {
|
|
484
|
+
value: cdktf.stringToHclTerraform(this._transitGatewayName2),
|
|
485
|
+
isBlock: false,
|
|
486
|
+
type: "simple",
|
|
487
|
+
storageClassType: "string",
|
|
488
|
+
},
|
|
489
|
+
tunnel_count: {
|
|
490
|
+
value: cdktf.numberToHclTerraform(this._tunnelCount),
|
|
491
|
+
isBlock: false,
|
|
492
|
+
type: "simple",
|
|
493
|
+
storageClassType: "number",
|
|
494
|
+
},
|
|
495
|
+
};
|
|
496
|
+
// remove undefined attributes
|
|
497
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
498
|
+
}
|
|
499
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface TunnelConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Whether Peering HA is enabled. Valid inputs: true or false.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/tunnel#enable_ha Tunnel#enable_ha}
|
|
8
|
+
*/
|
|
9
|
+
readonly enableHa?: boolean | cdktf.IResolvable;
|
|
10
|
+
/**
|
|
11
|
+
* The first VPC Container name to make a peer pair.
|
|
12
|
+
*
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/tunnel#gw_name1 Tunnel#gw_name1}
|
|
14
|
+
*/
|
|
15
|
+
readonly gwName1: string;
|
|
16
|
+
/**
|
|
17
|
+
* The second VPC Container name to make a peer pair.
|
|
18
|
+
*
|
|
19
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/tunnel#gw_name2 Tunnel#gw_name2}
|
|
20
|
+
*/
|
|
21
|
+
readonly gwName2: string;
|
|
22
|
+
/**
|
|
23
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/tunnel#id Tunnel#id}
|
|
24
|
+
*
|
|
25
|
+
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
26
|
+
* 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.
|
|
27
|
+
*/
|
|
28
|
+
readonly id?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/tunnel aviatrix_tunnel}
|
|
32
|
+
*/
|
|
33
|
+
export declare class Tunnel extends cdktf.TerraformResource {
|
|
34
|
+
static readonly tfResourceType = "aviatrix_tunnel";
|
|
35
|
+
/**
|
|
36
|
+
* Generates CDKTF code for importing a Tunnel resource upon running "cdktf plan <stack-name>"
|
|
37
|
+
* @param scope The scope in which to define this construct
|
|
38
|
+
* @param importToId The construct id used in the generated config for the Tunnel to import
|
|
39
|
+
* @param importFromId The id of the existing Tunnel that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/tunnel#import import section} in the documentation of this resource for the id to use
|
|
40
|
+
* @param provider? Optional instance of the provider where the Tunnel to import is found
|
|
41
|
+
*/
|
|
42
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
43
|
+
/**
|
|
44
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/tunnel aviatrix_tunnel} Resource
|
|
45
|
+
*
|
|
46
|
+
* @param scope The scope in which to define this construct
|
|
47
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
48
|
+
* @param options TunnelConfig
|
|
49
|
+
*/
|
|
50
|
+
constructor(scope: Construct, id: string, config: TunnelConfig);
|
|
51
|
+
private _enableHa?;
|
|
52
|
+
get enableHa(): boolean | cdktf.IResolvable;
|
|
53
|
+
set enableHa(value: boolean | cdktf.IResolvable);
|
|
54
|
+
resetEnableHa(): void;
|
|
55
|
+
get enableHaInput(): any;
|
|
56
|
+
private _gwName1?;
|
|
57
|
+
get gwName1(): string;
|
|
58
|
+
set gwName1(value: string);
|
|
59
|
+
get gwName1Input(): string;
|
|
60
|
+
private _gwName2?;
|
|
61
|
+
get gwName2(): string;
|
|
62
|
+
set gwName2(value: string);
|
|
63
|
+
get gwName2Input(): string;
|
|
64
|
+
private _id?;
|
|
65
|
+
get id(): string;
|
|
66
|
+
set id(value: string);
|
|
67
|
+
resetId(): void;
|
|
68
|
+
get idInput(): string;
|
|
69
|
+
get peeringHastatus(): any;
|
|
70
|
+
get peeringLink(): any;
|
|
71
|
+
get peeringState(): any;
|
|
72
|
+
protected synthesizeAttributes(): {
|
|
73
|
+
[name: string]: any;
|
|
74
|
+
};
|
|
75
|
+
protected synthesizeHclAttributes(): {
|
|
76
|
+
[name: string]: any;
|
|
77
|
+
};
|
|
78
|
+
}
|