@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,257 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_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_peer aviatrix_aws_peer}
|
|
6
|
+
*/
|
|
7
|
+
export class AwsPeer extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_aws_peer";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a AwsPeer 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 AwsPeer to import
|
|
19
|
+
* @param importFromId The id of the existing AwsPeer that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_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 AwsPeer to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_aws_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_peer aviatrix_aws_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 AwsPeerConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_aws_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._accountName1 = config.accountName1;
|
|
52
|
+
this._accountName2 = config.accountName2;
|
|
53
|
+
this._id = config.id;
|
|
54
|
+
this._rtbList1 = config.rtbList1;
|
|
55
|
+
this._rtbList2 = config.rtbList2;
|
|
56
|
+
this._vpcId1 = config.vpcId1;
|
|
57
|
+
this._vpcId2 = config.vpcId2;
|
|
58
|
+
this._vpcReg1 = config.vpcReg1;
|
|
59
|
+
this._vpcReg2 = config.vpcReg2;
|
|
60
|
+
}
|
|
61
|
+
// ==========
|
|
62
|
+
// ATTRIBUTES
|
|
63
|
+
// ==========
|
|
64
|
+
// account_name1 - computed: false, optional: false, required: true
|
|
65
|
+
_accountName1;
|
|
66
|
+
get accountName1() {
|
|
67
|
+
return this.getStringAttribute('account_name1');
|
|
68
|
+
}
|
|
69
|
+
set accountName1(value) {
|
|
70
|
+
this._accountName1 = value;
|
|
71
|
+
}
|
|
72
|
+
// Temporarily expose input value. Use with caution.
|
|
73
|
+
get accountName1Input() {
|
|
74
|
+
return this._accountName1;
|
|
75
|
+
}
|
|
76
|
+
// account_name2 - computed: false, optional: false, required: true
|
|
77
|
+
_accountName2;
|
|
78
|
+
get accountName2() {
|
|
79
|
+
return this.getStringAttribute('account_name2');
|
|
80
|
+
}
|
|
81
|
+
set accountName2(value) {
|
|
82
|
+
this._accountName2 = value;
|
|
83
|
+
}
|
|
84
|
+
// Temporarily expose input value. Use with caution.
|
|
85
|
+
get accountName2Input() {
|
|
86
|
+
return this._accountName2;
|
|
87
|
+
}
|
|
88
|
+
// id - computed: true, optional: true, required: false
|
|
89
|
+
_id;
|
|
90
|
+
get id() {
|
|
91
|
+
return this.getStringAttribute('id');
|
|
92
|
+
}
|
|
93
|
+
set id(value) {
|
|
94
|
+
this._id = value;
|
|
95
|
+
}
|
|
96
|
+
resetId() {
|
|
97
|
+
this._id = undefined;
|
|
98
|
+
}
|
|
99
|
+
// Temporarily expose input value. Use with caution.
|
|
100
|
+
get idInput() {
|
|
101
|
+
return this._id;
|
|
102
|
+
}
|
|
103
|
+
// rtb_list1 - computed: true, optional: true, required: false
|
|
104
|
+
_rtbList1;
|
|
105
|
+
get rtbList1() {
|
|
106
|
+
return this.getListAttribute('rtb_list1');
|
|
107
|
+
}
|
|
108
|
+
set rtbList1(value) {
|
|
109
|
+
this._rtbList1 = value;
|
|
110
|
+
}
|
|
111
|
+
resetRtbList1() {
|
|
112
|
+
this._rtbList1 = undefined;
|
|
113
|
+
}
|
|
114
|
+
// Temporarily expose input value. Use with caution.
|
|
115
|
+
get rtbList1Input() {
|
|
116
|
+
return this._rtbList1;
|
|
117
|
+
}
|
|
118
|
+
// rtb_list2 - computed: true, optional: true, required: false
|
|
119
|
+
_rtbList2;
|
|
120
|
+
get rtbList2() {
|
|
121
|
+
return this.getListAttribute('rtb_list2');
|
|
122
|
+
}
|
|
123
|
+
set rtbList2(value) {
|
|
124
|
+
this._rtbList2 = value;
|
|
125
|
+
}
|
|
126
|
+
resetRtbList2() {
|
|
127
|
+
this._rtbList2 = undefined;
|
|
128
|
+
}
|
|
129
|
+
// Temporarily expose input value. Use with caution.
|
|
130
|
+
get rtbList2Input() {
|
|
131
|
+
return this._rtbList2;
|
|
132
|
+
}
|
|
133
|
+
// vpc_id1 - computed: false, optional: false, required: true
|
|
134
|
+
_vpcId1;
|
|
135
|
+
get vpcId1() {
|
|
136
|
+
return this.getStringAttribute('vpc_id1');
|
|
137
|
+
}
|
|
138
|
+
set vpcId1(value) {
|
|
139
|
+
this._vpcId1 = value;
|
|
140
|
+
}
|
|
141
|
+
// Temporarily expose input value. Use with caution.
|
|
142
|
+
get vpcId1Input() {
|
|
143
|
+
return this._vpcId1;
|
|
144
|
+
}
|
|
145
|
+
// vpc_id2 - computed: false, optional: false, required: true
|
|
146
|
+
_vpcId2;
|
|
147
|
+
get vpcId2() {
|
|
148
|
+
return this.getStringAttribute('vpc_id2');
|
|
149
|
+
}
|
|
150
|
+
set vpcId2(value) {
|
|
151
|
+
this._vpcId2 = value;
|
|
152
|
+
}
|
|
153
|
+
// Temporarily expose input value. Use with caution.
|
|
154
|
+
get vpcId2Input() {
|
|
155
|
+
return this._vpcId2;
|
|
156
|
+
}
|
|
157
|
+
// vpc_reg1 - computed: false, optional: false, required: true
|
|
158
|
+
_vpcReg1;
|
|
159
|
+
get vpcReg1() {
|
|
160
|
+
return this.getStringAttribute('vpc_reg1');
|
|
161
|
+
}
|
|
162
|
+
set vpcReg1(value) {
|
|
163
|
+
this._vpcReg1 = value;
|
|
164
|
+
}
|
|
165
|
+
// Temporarily expose input value. Use with caution.
|
|
166
|
+
get vpcReg1Input() {
|
|
167
|
+
return this._vpcReg1;
|
|
168
|
+
}
|
|
169
|
+
// vpc_reg2 - computed: false, optional: false, required: true
|
|
170
|
+
_vpcReg2;
|
|
171
|
+
get vpcReg2() {
|
|
172
|
+
return this.getStringAttribute('vpc_reg2');
|
|
173
|
+
}
|
|
174
|
+
set vpcReg2(value) {
|
|
175
|
+
this._vpcReg2 = value;
|
|
176
|
+
}
|
|
177
|
+
// Temporarily expose input value. Use with caution.
|
|
178
|
+
get vpcReg2Input() {
|
|
179
|
+
return this._vpcReg2;
|
|
180
|
+
}
|
|
181
|
+
// =========
|
|
182
|
+
// SYNTHESIS
|
|
183
|
+
// =========
|
|
184
|
+
synthesizeAttributes() {
|
|
185
|
+
return {
|
|
186
|
+
account_name1: cdktf.stringToTerraform(this._accountName1),
|
|
187
|
+
account_name2: cdktf.stringToTerraform(this._accountName2),
|
|
188
|
+
id: cdktf.stringToTerraform(this._id),
|
|
189
|
+
rtb_list1: cdktf.listMapper(cdktf.stringToTerraform, false)(this._rtbList1),
|
|
190
|
+
rtb_list2: cdktf.listMapper(cdktf.stringToTerraform, false)(this._rtbList2),
|
|
191
|
+
vpc_id1: cdktf.stringToTerraform(this._vpcId1),
|
|
192
|
+
vpc_id2: cdktf.stringToTerraform(this._vpcId2),
|
|
193
|
+
vpc_reg1: cdktf.stringToTerraform(this._vpcReg1),
|
|
194
|
+
vpc_reg2: cdktf.stringToTerraform(this._vpcReg2),
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
synthesizeHclAttributes() {
|
|
198
|
+
const attrs = {
|
|
199
|
+
account_name1: {
|
|
200
|
+
value: cdktf.stringToHclTerraform(this._accountName1),
|
|
201
|
+
isBlock: false,
|
|
202
|
+
type: "simple",
|
|
203
|
+
storageClassType: "string",
|
|
204
|
+
},
|
|
205
|
+
account_name2: {
|
|
206
|
+
value: cdktf.stringToHclTerraform(this._accountName2),
|
|
207
|
+
isBlock: false,
|
|
208
|
+
type: "simple",
|
|
209
|
+
storageClassType: "string",
|
|
210
|
+
},
|
|
211
|
+
id: {
|
|
212
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
213
|
+
isBlock: false,
|
|
214
|
+
type: "simple",
|
|
215
|
+
storageClassType: "string",
|
|
216
|
+
},
|
|
217
|
+
rtb_list1: {
|
|
218
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._rtbList1),
|
|
219
|
+
isBlock: false,
|
|
220
|
+
type: "list",
|
|
221
|
+
storageClassType: "stringList",
|
|
222
|
+
},
|
|
223
|
+
rtb_list2: {
|
|
224
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._rtbList2),
|
|
225
|
+
isBlock: false,
|
|
226
|
+
type: "list",
|
|
227
|
+
storageClassType: "stringList",
|
|
228
|
+
},
|
|
229
|
+
vpc_id1: {
|
|
230
|
+
value: cdktf.stringToHclTerraform(this._vpcId1),
|
|
231
|
+
isBlock: false,
|
|
232
|
+
type: "simple",
|
|
233
|
+
storageClassType: "string",
|
|
234
|
+
},
|
|
235
|
+
vpc_id2: {
|
|
236
|
+
value: cdktf.stringToHclTerraform(this._vpcId2),
|
|
237
|
+
isBlock: false,
|
|
238
|
+
type: "simple",
|
|
239
|
+
storageClassType: "string",
|
|
240
|
+
},
|
|
241
|
+
vpc_reg1: {
|
|
242
|
+
value: cdktf.stringToHclTerraform(this._vpcReg1),
|
|
243
|
+
isBlock: false,
|
|
244
|
+
type: "simple",
|
|
245
|
+
storageClassType: "string",
|
|
246
|
+
},
|
|
247
|
+
vpc_reg2: {
|
|
248
|
+
value: cdktf.stringToHclTerraform(this._vpcReg2),
|
|
249
|
+
isBlock: false,
|
|
250
|
+
type: "simple",
|
|
251
|
+
storageClassType: "string",
|
|
252
|
+
},
|
|
253
|
+
};
|
|
254
|
+
// remove undefined attributes
|
|
255
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
256
|
+
}
|
|
257
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface AwsTgwConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* This parameter represents the name of a Cloud-Account in Aviatrix controller.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw#account_name AwsTgw#account_name}
|
|
8
|
+
*/
|
|
9
|
+
readonly accountName: string;
|
|
10
|
+
/**
|
|
11
|
+
* BGP Local ASN (Autonomous System Number), Integer between 1-4294967294.
|
|
12
|
+
*
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw#aws_side_as_number AwsTgw#aws_side_as_number}
|
|
14
|
+
*/
|
|
15
|
+
readonly awsSideAsNumber: string;
|
|
16
|
+
/**
|
|
17
|
+
* TGW CIDRs.
|
|
18
|
+
*
|
|
19
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw#cidrs AwsTgw#cidrs}
|
|
20
|
+
*/
|
|
21
|
+
readonly cidrs?: string[];
|
|
22
|
+
/**
|
|
23
|
+
* Type of cloud service provider, requires an integer value. Supported for AWS (1) and AWS GOV (256). Default value: 1.
|
|
24
|
+
*
|
|
25
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw#cloud_type AwsTgw#cloud_type}
|
|
26
|
+
*/
|
|
27
|
+
readonly cloudType?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Enable Multicast.
|
|
30
|
+
*
|
|
31
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw#enable_multicast AwsTgw#enable_multicast}
|
|
32
|
+
*/
|
|
33
|
+
readonly enableMulticast?: boolean | cdktf.IResolvable;
|
|
34
|
+
/**
|
|
35
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw#id AwsTgw#id}
|
|
36
|
+
*
|
|
37
|
+
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
38
|
+
* 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.
|
|
39
|
+
*/
|
|
40
|
+
readonly id?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Inspection mode. Valid values: 'Domain-based' and 'Connection-based'.
|
|
43
|
+
*
|
|
44
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw#inspection_mode AwsTgw#inspection_mode}
|
|
45
|
+
*/
|
|
46
|
+
readonly inspectionMode?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Region of cloud provider.
|
|
49
|
+
*
|
|
50
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw#region AwsTgw#region}
|
|
51
|
+
*/
|
|
52
|
+
readonly region: string;
|
|
53
|
+
/**
|
|
54
|
+
* Name of the AWS TGW which is going to be created.
|
|
55
|
+
*
|
|
56
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw#tgw_name AwsTgw#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 aviatrix_aws_tgw}
|
|
62
|
+
*/
|
|
63
|
+
export declare class AwsTgw extends cdktf.TerraformResource {
|
|
64
|
+
static readonly tfResourceType = "aviatrix_aws_tgw";
|
|
65
|
+
/**
|
|
66
|
+
* Generates CDKTF code for importing a AwsTgw 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 AwsTgw to import
|
|
69
|
+
* @param importFromId The id of the existing AwsTgw that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw#import import section} in the documentation of this resource for the id to use
|
|
70
|
+
* @param provider? Optional instance of the provider where the AwsTgw 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 aviatrix_aws_tgw} 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 AwsTgwConfig
|
|
79
|
+
*/
|
|
80
|
+
constructor(scope: Construct, id: string, config: AwsTgwConfig);
|
|
81
|
+
private _accountName?;
|
|
82
|
+
get accountName(): string;
|
|
83
|
+
set accountName(value: string);
|
|
84
|
+
get accountNameInput(): string;
|
|
85
|
+
private _awsSideAsNumber?;
|
|
86
|
+
get awsSideAsNumber(): string;
|
|
87
|
+
set awsSideAsNumber(value: string);
|
|
88
|
+
get awsSideAsNumberInput(): string;
|
|
89
|
+
private _cidrs?;
|
|
90
|
+
get cidrs(): string[];
|
|
91
|
+
set cidrs(value: string[]);
|
|
92
|
+
resetCidrs(): void;
|
|
93
|
+
get cidrsInput(): string[];
|
|
94
|
+
private _cloudType?;
|
|
95
|
+
get cloudType(): number;
|
|
96
|
+
set cloudType(value: number);
|
|
97
|
+
resetCloudType(): void;
|
|
98
|
+
get cloudTypeInput(): number;
|
|
99
|
+
private _enableMulticast?;
|
|
100
|
+
get enableMulticast(): boolean | cdktf.IResolvable;
|
|
101
|
+
set enableMulticast(value: boolean | cdktf.IResolvable);
|
|
102
|
+
resetEnableMulticast(): void;
|
|
103
|
+
get enableMulticastInput(): any;
|
|
104
|
+
private _id?;
|
|
105
|
+
get id(): string;
|
|
106
|
+
set id(value: string);
|
|
107
|
+
resetId(): void;
|
|
108
|
+
get idInput(): string;
|
|
109
|
+
private _inspectionMode?;
|
|
110
|
+
get inspectionMode(): string;
|
|
111
|
+
set inspectionMode(value: string);
|
|
112
|
+
resetInspectionMode(): void;
|
|
113
|
+
get inspectionModeInput(): string;
|
|
114
|
+
private _region?;
|
|
115
|
+
get region(): string;
|
|
116
|
+
set region(value: string);
|
|
117
|
+
get regionInput(): string;
|
|
118
|
+
get tgwId(): any;
|
|
119
|
+
private _tgwName?;
|
|
120
|
+
get tgwName(): string;
|
|
121
|
+
set tgwName(value: string);
|
|
122
|
+
get tgwNameInput(): string;
|
|
123
|
+
protected synthesizeAttributes(): {
|
|
124
|
+
[name: string]: any;
|
|
125
|
+
};
|
|
126
|
+
protected synthesizeHclAttributes(): {
|
|
127
|
+
[name: string]: any;
|
|
128
|
+
};
|
|
129
|
+
}
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw
|
|
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 aviatrix_aws_tgw}
|
|
6
|
+
*/
|
|
7
|
+
export class AwsTgw extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_aws_tgw";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a AwsTgw 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 AwsTgw to import
|
|
19
|
+
* @param importFromId The id of the existing AwsTgw that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/aws_tgw#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the AwsTgw to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_aws_tgw", 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 aviatrix_aws_tgw} 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 AwsTgwConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_aws_tgw',
|
|
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._accountName = config.accountName;
|
|
52
|
+
this._awsSideAsNumber = config.awsSideAsNumber;
|
|
53
|
+
this._cidrs = config.cidrs;
|
|
54
|
+
this._cloudType = config.cloudType;
|
|
55
|
+
this._enableMulticast = config.enableMulticast;
|
|
56
|
+
this._id = config.id;
|
|
57
|
+
this._inspectionMode = config.inspectionMode;
|
|
58
|
+
this._region = config.region;
|
|
59
|
+
this._tgwName = config.tgwName;
|
|
60
|
+
}
|
|
61
|
+
// ==========
|
|
62
|
+
// ATTRIBUTES
|
|
63
|
+
// ==========
|
|
64
|
+
// account_name - computed: false, optional: false, required: true
|
|
65
|
+
_accountName;
|
|
66
|
+
get accountName() {
|
|
67
|
+
return this.getStringAttribute('account_name');
|
|
68
|
+
}
|
|
69
|
+
set accountName(value) {
|
|
70
|
+
this._accountName = value;
|
|
71
|
+
}
|
|
72
|
+
// Temporarily expose input value. Use with caution.
|
|
73
|
+
get accountNameInput() {
|
|
74
|
+
return this._accountName;
|
|
75
|
+
}
|
|
76
|
+
// aws_side_as_number - computed: false, optional: false, required: true
|
|
77
|
+
_awsSideAsNumber;
|
|
78
|
+
get awsSideAsNumber() {
|
|
79
|
+
return this.getStringAttribute('aws_side_as_number');
|
|
80
|
+
}
|
|
81
|
+
set awsSideAsNumber(value) {
|
|
82
|
+
this._awsSideAsNumber = value;
|
|
83
|
+
}
|
|
84
|
+
// Temporarily expose input value. Use with caution.
|
|
85
|
+
get awsSideAsNumberInput() {
|
|
86
|
+
return this._awsSideAsNumber;
|
|
87
|
+
}
|
|
88
|
+
// cidrs - computed: false, optional: true, required: false
|
|
89
|
+
_cidrs;
|
|
90
|
+
get cidrs() {
|
|
91
|
+
return cdktf.Fn.tolist(this.getListAttribute('cidrs'));
|
|
92
|
+
}
|
|
93
|
+
set cidrs(value) {
|
|
94
|
+
this._cidrs = value;
|
|
95
|
+
}
|
|
96
|
+
resetCidrs() {
|
|
97
|
+
this._cidrs = undefined;
|
|
98
|
+
}
|
|
99
|
+
// Temporarily expose input value. Use with caution.
|
|
100
|
+
get cidrsInput() {
|
|
101
|
+
return this._cidrs;
|
|
102
|
+
}
|
|
103
|
+
// cloud_type - computed: false, optional: true, required: false
|
|
104
|
+
_cloudType;
|
|
105
|
+
get cloudType() {
|
|
106
|
+
return this.getNumberAttribute('cloud_type');
|
|
107
|
+
}
|
|
108
|
+
set cloudType(value) {
|
|
109
|
+
this._cloudType = value;
|
|
110
|
+
}
|
|
111
|
+
resetCloudType() {
|
|
112
|
+
this._cloudType = undefined;
|
|
113
|
+
}
|
|
114
|
+
// Temporarily expose input value. Use with caution.
|
|
115
|
+
get cloudTypeInput() {
|
|
116
|
+
return this._cloudType;
|
|
117
|
+
}
|
|
118
|
+
// enable_multicast - computed: false, optional: true, required: false
|
|
119
|
+
_enableMulticast;
|
|
120
|
+
get enableMulticast() {
|
|
121
|
+
return this.getBooleanAttribute('enable_multicast');
|
|
122
|
+
}
|
|
123
|
+
set enableMulticast(value) {
|
|
124
|
+
this._enableMulticast = value;
|
|
125
|
+
}
|
|
126
|
+
resetEnableMulticast() {
|
|
127
|
+
this._enableMulticast = undefined;
|
|
128
|
+
}
|
|
129
|
+
// Temporarily expose input value. Use with caution.
|
|
130
|
+
get enableMulticastInput() {
|
|
131
|
+
return this._enableMulticast;
|
|
132
|
+
}
|
|
133
|
+
// id - computed: true, optional: true, required: false
|
|
134
|
+
_id;
|
|
135
|
+
get id() {
|
|
136
|
+
return this.getStringAttribute('id');
|
|
137
|
+
}
|
|
138
|
+
set id(value) {
|
|
139
|
+
this._id = value;
|
|
140
|
+
}
|
|
141
|
+
resetId() {
|
|
142
|
+
this._id = undefined;
|
|
143
|
+
}
|
|
144
|
+
// Temporarily expose input value. Use with caution.
|
|
145
|
+
get idInput() {
|
|
146
|
+
return this._id;
|
|
147
|
+
}
|
|
148
|
+
// inspection_mode - computed: false, optional: true, required: false
|
|
149
|
+
_inspectionMode;
|
|
150
|
+
get inspectionMode() {
|
|
151
|
+
return this.getStringAttribute('inspection_mode');
|
|
152
|
+
}
|
|
153
|
+
set inspectionMode(value) {
|
|
154
|
+
this._inspectionMode = value;
|
|
155
|
+
}
|
|
156
|
+
resetInspectionMode() {
|
|
157
|
+
this._inspectionMode = undefined;
|
|
158
|
+
}
|
|
159
|
+
// Temporarily expose input value. Use with caution.
|
|
160
|
+
get inspectionModeInput() {
|
|
161
|
+
return this._inspectionMode;
|
|
162
|
+
}
|
|
163
|
+
// region - computed: false, optional: false, required: true
|
|
164
|
+
_region;
|
|
165
|
+
get region() {
|
|
166
|
+
return this.getStringAttribute('region');
|
|
167
|
+
}
|
|
168
|
+
set region(value) {
|
|
169
|
+
this._region = value;
|
|
170
|
+
}
|
|
171
|
+
// Temporarily expose input value. Use with caution.
|
|
172
|
+
get regionInput() {
|
|
173
|
+
return this._region;
|
|
174
|
+
}
|
|
175
|
+
// tgw_id - computed: true, optional: false, required: false
|
|
176
|
+
get tgwId() {
|
|
177
|
+
return this.getStringAttribute('tgw_id');
|
|
178
|
+
}
|
|
179
|
+
// tgw_name - computed: false, optional: false, required: true
|
|
180
|
+
_tgwName;
|
|
181
|
+
get tgwName() {
|
|
182
|
+
return this.getStringAttribute('tgw_name');
|
|
183
|
+
}
|
|
184
|
+
set tgwName(value) {
|
|
185
|
+
this._tgwName = value;
|
|
186
|
+
}
|
|
187
|
+
// Temporarily expose input value. Use with caution.
|
|
188
|
+
get tgwNameInput() {
|
|
189
|
+
return this._tgwName;
|
|
190
|
+
}
|
|
191
|
+
// =========
|
|
192
|
+
// SYNTHESIS
|
|
193
|
+
// =========
|
|
194
|
+
synthesizeAttributes() {
|
|
195
|
+
return {
|
|
196
|
+
account_name: cdktf.stringToTerraform(this._accountName),
|
|
197
|
+
aws_side_as_number: cdktf.stringToTerraform(this._awsSideAsNumber),
|
|
198
|
+
cidrs: cdktf.listMapper(cdktf.stringToTerraform, false)(this._cidrs),
|
|
199
|
+
cloud_type: cdktf.numberToTerraform(this._cloudType),
|
|
200
|
+
enable_multicast: cdktf.booleanToTerraform(this._enableMulticast),
|
|
201
|
+
id: cdktf.stringToTerraform(this._id),
|
|
202
|
+
inspection_mode: cdktf.stringToTerraform(this._inspectionMode),
|
|
203
|
+
region: cdktf.stringToTerraform(this._region),
|
|
204
|
+
tgw_name: cdktf.stringToTerraform(this._tgwName),
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
synthesizeHclAttributes() {
|
|
208
|
+
const attrs = {
|
|
209
|
+
account_name: {
|
|
210
|
+
value: cdktf.stringToHclTerraform(this._accountName),
|
|
211
|
+
isBlock: false,
|
|
212
|
+
type: "simple",
|
|
213
|
+
storageClassType: "string",
|
|
214
|
+
},
|
|
215
|
+
aws_side_as_number: {
|
|
216
|
+
value: cdktf.stringToHclTerraform(this._awsSideAsNumber),
|
|
217
|
+
isBlock: false,
|
|
218
|
+
type: "simple",
|
|
219
|
+
storageClassType: "string",
|
|
220
|
+
},
|
|
221
|
+
cidrs: {
|
|
222
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._cidrs),
|
|
223
|
+
isBlock: false,
|
|
224
|
+
type: "set",
|
|
225
|
+
storageClassType: "stringList",
|
|
226
|
+
},
|
|
227
|
+
cloud_type: {
|
|
228
|
+
value: cdktf.numberToHclTerraform(this._cloudType),
|
|
229
|
+
isBlock: false,
|
|
230
|
+
type: "simple",
|
|
231
|
+
storageClassType: "number",
|
|
232
|
+
},
|
|
233
|
+
enable_multicast: {
|
|
234
|
+
value: cdktf.booleanToHclTerraform(this._enableMulticast),
|
|
235
|
+
isBlock: false,
|
|
236
|
+
type: "simple",
|
|
237
|
+
storageClassType: "boolean",
|
|
238
|
+
},
|
|
239
|
+
id: {
|
|
240
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
241
|
+
isBlock: false,
|
|
242
|
+
type: "simple",
|
|
243
|
+
storageClassType: "string",
|
|
244
|
+
},
|
|
245
|
+
inspection_mode: {
|
|
246
|
+
value: cdktf.stringToHclTerraform(this._inspectionMode),
|
|
247
|
+
isBlock: false,
|
|
248
|
+
type: "simple",
|
|
249
|
+
storageClassType: "string",
|
|
250
|
+
},
|
|
251
|
+
region: {
|
|
252
|
+
value: cdktf.stringToHclTerraform(this._region),
|
|
253
|
+
isBlock: false,
|
|
254
|
+
type: "simple",
|
|
255
|
+
storageClassType: "string",
|
|
256
|
+
},
|
|
257
|
+
tgw_name: {
|
|
258
|
+
value: cdktf.stringToHclTerraform(this._tgwName),
|
|
259
|
+
isBlock: false,
|
|
260
|
+
type: "simple",
|
|
261
|
+
storageClassType: "string",
|
|
262
|
+
},
|
|
263
|
+
};
|
|
264
|
+
// remove undefined attributes
|
|
265
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
266
|
+
}
|
|
267
|
+
}
|