@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,121 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface AviatrixProviderConfig {
|
|
4
|
+
/**
|
|
5
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs#controller_ip AviatrixProvider#controller_ip}
|
|
6
|
+
*/
|
|
7
|
+
readonly controllerIp: string;
|
|
8
|
+
/**
|
|
9
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs#password AviatrixProvider#password}
|
|
10
|
+
*/
|
|
11
|
+
readonly password: string;
|
|
12
|
+
/**
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs#path_to_ca_certificate AviatrixProvider#path_to_ca_certificate}
|
|
14
|
+
*/
|
|
15
|
+
readonly pathToCaCertificate?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs#skip_version_validation AviatrixProvider#skip_version_validation}
|
|
18
|
+
*/
|
|
19
|
+
readonly skipVersionValidation?: boolean | cdktf.IResolvable;
|
|
20
|
+
/**
|
|
21
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs#username AviatrixProvider#username}
|
|
22
|
+
*/
|
|
23
|
+
readonly username: string;
|
|
24
|
+
/**
|
|
25
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs#verify_ssl_certificate AviatrixProvider#verify_ssl_certificate}
|
|
26
|
+
*/
|
|
27
|
+
readonly verifySslCertificate?: boolean | cdktf.IResolvable;
|
|
28
|
+
/**
|
|
29
|
+
* Alias name
|
|
30
|
+
*
|
|
31
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs#alias AviatrixProvider#alias}
|
|
32
|
+
*/
|
|
33
|
+
readonly alias?: string;
|
|
34
|
+
/**
|
|
35
|
+
* ignore_tags block
|
|
36
|
+
*
|
|
37
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs#ignore_tags AviatrixProvider#ignore_tags}
|
|
38
|
+
*/
|
|
39
|
+
readonly ignoreTags?: AviatrixProviderIgnoreTags;
|
|
40
|
+
}
|
|
41
|
+
export interface AviatrixProviderIgnoreTags {
|
|
42
|
+
/**
|
|
43
|
+
* Tag key prefixes to ignore across all resources.
|
|
44
|
+
*
|
|
45
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs#key_prefixes AviatrixProvider#key_prefixes}
|
|
46
|
+
*/
|
|
47
|
+
readonly keyPrefixes?: string[];
|
|
48
|
+
/**
|
|
49
|
+
* Tag keys to ignore across all resources.
|
|
50
|
+
*
|
|
51
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs#keys AviatrixProvider#keys}
|
|
52
|
+
*/
|
|
53
|
+
readonly keys?: string[];
|
|
54
|
+
}
|
|
55
|
+
export declare function aviatrixProviderIgnoreTagsToTerraform(struct?: AviatrixProviderIgnoreTags): any;
|
|
56
|
+
export declare function aviatrixProviderIgnoreTagsToHclTerraform(struct?: AviatrixProviderIgnoreTags): any;
|
|
57
|
+
/**
|
|
58
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs aviatrix}
|
|
59
|
+
*/
|
|
60
|
+
export declare class AviatrixProvider extends cdktf.TerraformProvider {
|
|
61
|
+
static readonly tfResourceType = "aviatrix";
|
|
62
|
+
/**
|
|
63
|
+
* Generates CDKTF code for importing a AviatrixProvider resource upon running "cdktf plan <stack-name>"
|
|
64
|
+
* @param scope The scope in which to define this construct
|
|
65
|
+
* @param importToId The construct id used in the generated config for the AviatrixProvider to import
|
|
66
|
+
* @param importFromId The id of the existing AviatrixProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs#import import section} in the documentation of this resource for the id to use
|
|
67
|
+
* @param provider? Optional instance of the provider where the AviatrixProvider to import is found
|
|
68
|
+
*/
|
|
69
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
70
|
+
/**
|
|
71
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs aviatrix} Resource
|
|
72
|
+
*
|
|
73
|
+
* @param scope The scope in which to define this construct
|
|
74
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
75
|
+
* @param options AviatrixProviderConfig
|
|
76
|
+
*/
|
|
77
|
+
constructor(scope: Construct, id: string, config: AviatrixProviderConfig);
|
|
78
|
+
private _controllerIp?;
|
|
79
|
+
get controllerIp(): string | undefined;
|
|
80
|
+
set controllerIp(value: string | undefined);
|
|
81
|
+
get controllerIpInput(): string;
|
|
82
|
+
private _password?;
|
|
83
|
+
get password(): string | undefined;
|
|
84
|
+
set password(value: string | undefined);
|
|
85
|
+
get passwordInput(): string;
|
|
86
|
+
private _pathToCaCertificate?;
|
|
87
|
+
get pathToCaCertificate(): string | undefined;
|
|
88
|
+
set pathToCaCertificate(value: string | undefined);
|
|
89
|
+
resetPathToCaCertificate(): void;
|
|
90
|
+
get pathToCaCertificateInput(): string;
|
|
91
|
+
private _skipVersionValidation?;
|
|
92
|
+
get skipVersionValidation(): boolean | cdktf.IResolvable | undefined;
|
|
93
|
+
set skipVersionValidation(value: boolean | cdktf.IResolvable | undefined);
|
|
94
|
+
resetSkipVersionValidation(): void;
|
|
95
|
+
get skipVersionValidationInput(): any;
|
|
96
|
+
private _username?;
|
|
97
|
+
get username(): string | undefined;
|
|
98
|
+
set username(value: string | undefined);
|
|
99
|
+
get usernameInput(): string;
|
|
100
|
+
private _verifySslCertificate?;
|
|
101
|
+
get verifySslCertificate(): boolean | cdktf.IResolvable | undefined;
|
|
102
|
+
set verifySslCertificate(value: boolean | cdktf.IResolvable | undefined);
|
|
103
|
+
resetVerifySslCertificate(): void;
|
|
104
|
+
get verifySslCertificateInput(): any;
|
|
105
|
+
private _alias?;
|
|
106
|
+
get alias(): string | undefined;
|
|
107
|
+
set alias(value: string | undefined);
|
|
108
|
+
resetAlias(): void;
|
|
109
|
+
get aliasInput(): string;
|
|
110
|
+
private _ignoreTags?;
|
|
111
|
+
get ignoreTags(): AviatrixProviderIgnoreTags | undefined;
|
|
112
|
+
set ignoreTags(value: AviatrixProviderIgnoreTags | undefined);
|
|
113
|
+
resetIgnoreTags(): void;
|
|
114
|
+
get ignoreTagsInput(): AviatrixProviderIgnoreTags;
|
|
115
|
+
protected synthesizeAttributes(): {
|
|
116
|
+
[name: string]: any;
|
|
117
|
+
};
|
|
118
|
+
protected synthesizeHclAttributes(): {
|
|
119
|
+
[name: string]: any;
|
|
120
|
+
};
|
|
121
|
+
}
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
export function aviatrixProviderIgnoreTagsToTerraform(struct) {
|
|
5
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
6
|
+
return struct;
|
|
7
|
+
}
|
|
8
|
+
if (cdktf.isComplexElement(struct)) {
|
|
9
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
key_prefixes: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.keyPrefixes),
|
|
13
|
+
keys: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.keys),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export function aviatrixProviderIgnoreTagsToHclTerraform(struct) {
|
|
17
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
18
|
+
return struct;
|
|
19
|
+
}
|
|
20
|
+
if (cdktf.isComplexElement(struct)) {
|
|
21
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
22
|
+
}
|
|
23
|
+
const attrs = {
|
|
24
|
+
key_prefixes: {
|
|
25
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.keyPrefixes),
|
|
26
|
+
isBlock: false,
|
|
27
|
+
type: "set",
|
|
28
|
+
storageClassType: "stringList",
|
|
29
|
+
},
|
|
30
|
+
keys: {
|
|
31
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.keys),
|
|
32
|
+
isBlock: false,
|
|
33
|
+
type: "set",
|
|
34
|
+
storageClassType: "stringList",
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
// remove undefined attributes
|
|
38
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs aviatrix}
|
|
42
|
+
*/
|
|
43
|
+
export class AviatrixProvider extends cdktf.TerraformProvider {
|
|
44
|
+
// =================
|
|
45
|
+
// STATIC PROPERTIES
|
|
46
|
+
// =================
|
|
47
|
+
static tfResourceType = "aviatrix";
|
|
48
|
+
// ==============
|
|
49
|
+
// STATIC Methods
|
|
50
|
+
// ==============
|
|
51
|
+
/**
|
|
52
|
+
* Generates CDKTF code for importing a AviatrixProvider resource upon running "cdktf plan <stack-name>"
|
|
53
|
+
* @param scope The scope in which to define this construct
|
|
54
|
+
* @param importToId The construct id used in the generated config for the AviatrixProvider to import
|
|
55
|
+
* @param importFromId The id of the existing AviatrixProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs#import import section} in the documentation of this resource for the id to use
|
|
56
|
+
* @param provider? Optional instance of the provider where the AviatrixProvider to import is found
|
|
57
|
+
*/
|
|
58
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
59
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix", importId: importFromId, provider });
|
|
60
|
+
}
|
|
61
|
+
// ===========
|
|
62
|
+
// INITIALIZER
|
|
63
|
+
// ===========
|
|
64
|
+
/**
|
|
65
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs aviatrix} Resource
|
|
66
|
+
*
|
|
67
|
+
* @param scope The scope in which to define this construct
|
|
68
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
69
|
+
* @param options AviatrixProviderConfig
|
|
70
|
+
*/
|
|
71
|
+
constructor(scope, id, config) {
|
|
72
|
+
super(scope, id, {
|
|
73
|
+
terraformResourceType: 'aviatrix',
|
|
74
|
+
terraformGeneratorMetadata: {
|
|
75
|
+
providerName: 'aviatrix',
|
|
76
|
+
providerVersion: '8.1.10',
|
|
77
|
+
providerVersionConstraint: '8.1.10'
|
|
78
|
+
},
|
|
79
|
+
terraformProviderSource: 'AviatrixSystems/aviatrix'
|
|
80
|
+
});
|
|
81
|
+
this._controllerIp = config.controllerIp;
|
|
82
|
+
this._password = config.password;
|
|
83
|
+
this._pathToCaCertificate = config.pathToCaCertificate;
|
|
84
|
+
this._skipVersionValidation = config.skipVersionValidation;
|
|
85
|
+
this._username = config.username;
|
|
86
|
+
this._verifySslCertificate = config.verifySslCertificate;
|
|
87
|
+
this._alias = config.alias;
|
|
88
|
+
this._ignoreTags = config.ignoreTags;
|
|
89
|
+
}
|
|
90
|
+
// ==========
|
|
91
|
+
// ATTRIBUTES
|
|
92
|
+
// ==========
|
|
93
|
+
// controller_ip - computed: false, optional: false, required: true
|
|
94
|
+
_controllerIp;
|
|
95
|
+
get controllerIp() {
|
|
96
|
+
return this._controllerIp;
|
|
97
|
+
}
|
|
98
|
+
set controllerIp(value) {
|
|
99
|
+
this._controllerIp = value;
|
|
100
|
+
}
|
|
101
|
+
// Temporarily expose input value. Use with caution.
|
|
102
|
+
get controllerIpInput() {
|
|
103
|
+
return this._controllerIp;
|
|
104
|
+
}
|
|
105
|
+
// password - computed: false, optional: false, required: true
|
|
106
|
+
_password;
|
|
107
|
+
get password() {
|
|
108
|
+
return this._password;
|
|
109
|
+
}
|
|
110
|
+
set password(value) {
|
|
111
|
+
this._password = value;
|
|
112
|
+
}
|
|
113
|
+
// Temporarily expose input value. Use with caution.
|
|
114
|
+
get passwordInput() {
|
|
115
|
+
return this._password;
|
|
116
|
+
}
|
|
117
|
+
// path_to_ca_certificate - computed: false, optional: true, required: false
|
|
118
|
+
_pathToCaCertificate;
|
|
119
|
+
get pathToCaCertificate() {
|
|
120
|
+
return this._pathToCaCertificate;
|
|
121
|
+
}
|
|
122
|
+
set pathToCaCertificate(value) {
|
|
123
|
+
this._pathToCaCertificate = value;
|
|
124
|
+
}
|
|
125
|
+
resetPathToCaCertificate() {
|
|
126
|
+
this._pathToCaCertificate = undefined;
|
|
127
|
+
}
|
|
128
|
+
// Temporarily expose input value. Use with caution.
|
|
129
|
+
get pathToCaCertificateInput() {
|
|
130
|
+
return this._pathToCaCertificate;
|
|
131
|
+
}
|
|
132
|
+
// skip_version_validation - computed: false, optional: true, required: false
|
|
133
|
+
_skipVersionValidation;
|
|
134
|
+
get skipVersionValidation() {
|
|
135
|
+
return this._skipVersionValidation;
|
|
136
|
+
}
|
|
137
|
+
set skipVersionValidation(value) {
|
|
138
|
+
this._skipVersionValidation = value;
|
|
139
|
+
}
|
|
140
|
+
resetSkipVersionValidation() {
|
|
141
|
+
this._skipVersionValidation = undefined;
|
|
142
|
+
}
|
|
143
|
+
// Temporarily expose input value. Use with caution.
|
|
144
|
+
get skipVersionValidationInput() {
|
|
145
|
+
return this._skipVersionValidation;
|
|
146
|
+
}
|
|
147
|
+
// username - computed: false, optional: false, required: true
|
|
148
|
+
_username;
|
|
149
|
+
get username() {
|
|
150
|
+
return this._username;
|
|
151
|
+
}
|
|
152
|
+
set username(value) {
|
|
153
|
+
this._username = value;
|
|
154
|
+
}
|
|
155
|
+
// Temporarily expose input value. Use with caution.
|
|
156
|
+
get usernameInput() {
|
|
157
|
+
return this._username;
|
|
158
|
+
}
|
|
159
|
+
// verify_ssl_certificate - computed: false, optional: true, required: false
|
|
160
|
+
_verifySslCertificate;
|
|
161
|
+
get verifySslCertificate() {
|
|
162
|
+
return this._verifySslCertificate;
|
|
163
|
+
}
|
|
164
|
+
set verifySslCertificate(value) {
|
|
165
|
+
this._verifySslCertificate = value;
|
|
166
|
+
}
|
|
167
|
+
resetVerifySslCertificate() {
|
|
168
|
+
this._verifySslCertificate = undefined;
|
|
169
|
+
}
|
|
170
|
+
// Temporarily expose input value. Use with caution.
|
|
171
|
+
get verifySslCertificateInput() {
|
|
172
|
+
return this._verifySslCertificate;
|
|
173
|
+
}
|
|
174
|
+
// alias - computed: false, optional: true, required: false
|
|
175
|
+
_alias;
|
|
176
|
+
get alias() {
|
|
177
|
+
return this._alias;
|
|
178
|
+
}
|
|
179
|
+
set alias(value) {
|
|
180
|
+
this._alias = value;
|
|
181
|
+
}
|
|
182
|
+
resetAlias() {
|
|
183
|
+
this._alias = undefined;
|
|
184
|
+
}
|
|
185
|
+
// Temporarily expose input value. Use with caution.
|
|
186
|
+
get aliasInput() {
|
|
187
|
+
return this._alias;
|
|
188
|
+
}
|
|
189
|
+
// ignore_tags - computed: false, optional: true, required: false
|
|
190
|
+
_ignoreTags;
|
|
191
|
+
get ignoreTags() {
|
|
192
|
+
return this._ignoreTags;
|
|
193
|
+
}
|
|
194
|
+
set ignoreTags(value) {
|
|
195
|
+
this._ignoreTags = value;
|
|
196
|
+
}
|
|
197
|
+
resetIgnoreTags() {
|
|
198
|
+
this._ignoreTags = undefined;
|
|
199
|
+
}
|
|
200
|
+
// Temporarily expose input value. Use with caution.
|
|
201
|
+
get ignoreTagsInput() {
|
|
202
|
+
return this._ignoreTags;
|
|
203
|
+
}
|
|
204
|
+
// =========
|
|
205
|
+
// SYNTHESIS
|
|
206
|
+
// =========
|
|
207
|
+
synthesizeAttributes() {
|
|
208
|
+
return {
|
|
209
|
+
controller_ip: cdktf.stringToTerraform(this._controllerIp),
|
|
210
|
+
password: cdktf.stringToTerraform(this._password),
|
|
211
|
+
path_to_ca_certificate: cdktf.stringToTerraform(this._pathToCaCertificate),
|
|
212
|
+
skip_version_validation: cdktf.booleanToTerraform(this._skipVersionValidation),
|
|
213
|
+
username: cdktf.stringToTerraform(this._username),
|
|
214
|
+
verify_ssl_certificate: cdktf.booleanToTerraform(this._verifySslCertificate),
|
|
215
|
+
alias: cdktf.stringToTerraform(this._alias),
|
|
216
|
+
ignore_tags: aviatrixProviderIgnoreTagsToTerraform(this._ignoreTags),
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
synthesizeHclAttributes() {
|
|
220
|
+
const attrs = {
|
|
221
|
+
controller_ip: {
|
|
222
|
+
value: cdktf.stringToHclTerraform(this._controllerIp),
|
|
223
|
+
isBlock: false,
|
|
224
|
+
type: "simple",
|
|
225
|
+
storageClassType: "string",
|
|
226
|
+
},
|
|
227
|
+
password: {
|
|
228
|
+
value: cdktf.stringToHclTerraform(this._password),
|
|
229
|
+
isBlock: false,
|
|
230
|
+
type: "simple",
|
|
231
|
+
storageClassType: "string",
|
|
232
|
+
},
|
|
233
|
+
path_to_ca_certificate: {
|
|
234
|
+
value: cdktf.stringToHclTerraform(this._pathToCaCertificate),
|
|
235
|
+
isBlock: false,
|
|
236
|
+
type: "simple",
|
|
237
|
+
storageClassType: "string",
|
|
238
|
+
},
|
|
239
|
+
skip_version_validation: {
|
|
240
|
+
value: cdktf.booleanToHclTerraform(this._skipVersionValidation),
|
|
241
|
+
isBlock: false,
|
|
242
|
+
type: "simple",
|
|
243
|
+
storageClassType: "boolean",
|
|
244
|
+
},
|
|
245
|
+
username: {
|
|
246
|
+
value: cdktf.stringToHclTerraform(this._username),
|
|
247
|
+
isBlock: false,
|
|
248
|
+
type: "simple",
|
|
249
|
+
storageClassType: "string",
|
|
250
|
+
},
|
|
251
|
+
verify_ssl_certificate: {
|
|
252
|
+
value: cdktf.booleanToHclTerraform(this._verifySslCertificate),
|
|
253
|
+
isBlock: false,
|
|
254
|
+
type: "simple",
|
|
255
|
+
storageClassType: "boolean",
|
|
256
|
+
},
|
|
257
|
+
alias: {
|
|
258
|
+
value: cdktf.stringToHclTerraform(this._alias),
|
|
259
|
+
isBlock: false,
|
|
260
|
+
type: "simple",
|
|
261
|
+
storageClassType: "string",
|
|
262
|
+
},
|
|
263
|
+
ignore_tags: {
|
|
264
|
+
value: aviatrixProviderIgnoreTagsToHclTerraform(this._ignoreTags),
|
|
265
|
+
isBlock: true,
|
|
266
|
+
type: "list",
|
|
267
|
+
storageClassType: "AviatrixProviderIgnoreTagsList",
|
|
268
|
+
},
|
|
269
|
+
};
|
|
270
|
+
// remove undefined attributes
|
|
271
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
272
|
+
}
|
|
273
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface ProxyConfigConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* http proxy URL.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/proxy_config#http_proxy ProxyConfig#http_proxy}
|
|
8
|
+
*/
|
|
9
|
+
readonly httpProxy: string;
|
|
10
|
+
/**
|
|
11
|
+
* https proxy URL.
|
|
12
|
+
*
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/proxy_config#https_proxy ProxyConfig#https_proxy}
|
|
14
|
+
*/
|
|
15
|
+
readonly httpsProxy: string;
|
|
16
|
+
/**
|
|
17
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/proxy_config#id ProxyConfig#id}
|
|
18
|
+
*
|
|
19
|
+
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
20
|
+
* 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.
|
|
21
|
+
*/
|
|
22
|
+
readonly id?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Server CA Certificate file.
|
|
25
|
+
*
|
|
26
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/proxy_config#proxy_ca_certificate ProxyConfig#proxy_ca_certificate}
|
|
27
|
+
*/
|
|
28
|
+
readonly proxyCaCertificate?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/proxy_config aviatrix_proxy_config}
|
|
32
|
+
*/
|
|
33
|
+
export declare class ProxyConfig extends cdktf.TerraformResource {
|
|
34
|
+
static readonly tfResourceType = "aviatrix_proxy_config";
|
|
35
|
+
/**
|
|
36
|
+
* Generates CDKTF code for importing a ProxyConfig 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 ProxyConfig to import
|
|
39
|
+
* @param importFromId The id of the existing ProxyConfig that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/proxy_config#import import section} in the documentation of this resource for the id to use
|
|
40
|
+
* @param provider? Optional instance of the provider where the ProxyConfig 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/proxy_config aviatrix_proxy_config} 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 ProxyConfigConfig
|
|
49
|
+
*/
|
|
50
|
+
constructor(scope: Construct, id: string, config: ProxyConfigConfig);
|
|
51
|
+
private _httpProxy?;
|
|
52
|
+
get httpProxy(): string;
|
|
53
|
+
set httpProxy(value: string);
|
|
54
|
+
get httpProxyInput(): string;
|
|
55
|
+
private _httpsProxy?;
|
|
56
|
+
get httpsProxy(): string;
|
|
57
|
+
set httpsProxy(value: string);
|
|
58
|
+
get httpsProxyInput(): string;
|
|
59
|
+
private _id?;
|
|
60
|
+
get id(): string;
|
|
61
|
+
set id(value: string);
|
|
62
|
+
resetId(): void;
|
|
63
|
+
get idInput(): string;
|
|
64
|
+
private _proxyCaCertificate?;
|
|
65
|
+
get proxyCaCertificate(): string;
|
|
66
|
+
set proxyCaCertificate(value: string);
|
|
67
|
+
resetProxyCaCertificate(): void;
|
|
68
|
+
get proxyCaCertificateInput(): string;
|
|
69
|
+
protected synthesizeAttributes(): {
|
|
70
|
+
[name: string]: any;
|
|
71
|
+
};
|
|
72
|
+
protected synthesizeHclAttributes(): {
|
|
73
|
+
[name: string]: any;
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/proxy_config
|
|
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/proxy_config aviatrix_proxy_config}
|
|
6
|
+
*/
|
|
7
|
+
export class ProxyConfig extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_proxy_config";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a ProxyConfig 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 ProxyConfig to import
|
|
19
|
+
* @param importFromId The id of the existing ProxyConfig that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/proxy_config#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the ProxyConfig to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_proxy_config", 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/proxy_config aviatrix_proxy_config} 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 ProxyConfigConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_proxy_config',
|
|
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._httpProxy = config.httpProxy;
|
|
52
|
+
this._httpsProxy = config.httpsProxy;
|
|
53
|
+
this._id = config.id;
|
|
54
|
+
this._proxyCaCertificate = config.proxyCaCertificate;
|
|
55
|
+
}
|
|
56
|
+
// ==========
|
|
57
|
+
// ATTRIBUTES
|
|
58
|
+
// ==========
|
|
59
|
+
// http_proxy - computed: false, optional: false, required: true
|
|
60
|
+
_httpProxy;
|
|
61
|
+
get httpProxy() {
|
|
62
|
+
return this.getStringAttribute('http_proxy');
|
|
63
|
+
}
|
|
64
|
+
set httpProxy(value) {
|
|
65
|
+
this._httpProxy = value;
|
|
66
|
+
}
|
|
67
|
+
// Temporarily expose input value. Use with caution.
|
|
68
|
+
get httpProxyInput() {
|
|
69
|
+
return this._httpProxy;
|
|
70
|
+
}
|
|
71
|
+
// https_proxy - computed: false, optional: false, required: true
|
|
72
|
+
_httpsProxy;
|
|
73
|
+
get httpsProxy() {
|
|
74
|
+
return this.getStringAttribute('https_proxy');
|
|
75
|
+
}
|
|
76
|
+
set httpsProxy(value) {
|
|
77
|
+
this._httpsProxy = value;
|
|
78
|
+
}
|
|
79
|
+
// Temporarily expose input value. Use with caution.
|
|
80
|
+
get httpsProxyInput() {
|
|
81
|
+
return this._httpsProxy;
|
|
82
|
+
}
|
|
83
|
+
// id - computed: true, optional: true, required: false
|
|
84
|
+
_id;
|
|
85
|
+
get id() {
|
|
86
|
+
return this.getStringAttribute('id');
|
|
87
|
+
}
|
|
88
|
+
set id(value) {
|
|
89
|
+
this._id = value;
|
|
90
|
+
}
|
|
91
|
+
resetId() {
|
|
92
|
+
this._id = undefined;
|
|
93
|
+
}
|
|
94
|
+
// Temporarily expose input value. Use with caution.
|
|
95
|
+
get idInput() {
|
|
96
|
+
return this._id;
|
|
97
|
+
}
|
|
98
|
+
// proxy_ca_certificate - computed: false, optional: true, required: false
|
|
99
|
+
_proxyCaCertificate;
|
|
100
|
+
get proxyCaCertificate() {
|
|
101
|
+
return this.getStringAttribute('proxy_ca_certificate');
|
|
102
|
+
}
|
|
103
|
+
set proxyCaCertificate(value) {
|
|
104
|
+
this._proxyCaCertificate = value;
|
|
105
|
+
}
|
|
106
|
+
resetProxyCaCertificate() {
|
|
107
|
+
this._proxyCaCertificate = undefined;
|
|
108
|
+
}
|
|
109
|
+
// Temporarily expose input value. Use with caution.
|
|
110
|
+
get proxyCaCertificateInput() {
|
|
111
|
+
return this._proxyCaCertificate;
|
|
112
|
+
}
|
|
113
|
+
// =========
|
|
114
|
+
// SYNTHESIS
|
|
115
|
+
// =========
|
|
116
|
+
synthesizeAttributes() {
|
|
117
|
+
return {
|
|
118
|
+
http_proxy: cdktf.stringToTerraform(this._httpProxy),
|
|
119
|
+
https_proxy: cdktf.stringToTerraform(this._httpsProxy),
|
|
120
|
+
id: cdktf.stringToTerraform(this._id),
|
|
121
|
+
proxy_ca_certificate: cdktf.stringToTerraform(this._proxyCaCertificate),
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
synthesizeHclAttributes() {
|
|
125
|
+
const attrs = {
|
|
126
|
+
http_proxy: {
|
|
127
|
+
value: cdktf.stringToHclTerraform(this._httpProxy),
|
|
128
|
+
isBlock: false,
|
|
129
|
+
type: "simple",
|
|
130
|
+
storageClassType: "string",
|
|
131
|
+
},
|
|
132
|
+
https_proxy: {
|
|
133
|
+
value: cdktf.stringToHclTerraform(this._httpsProxy),
|
|
134
|
+
isBlock: false,
|
|
135
|
+
type: "simple",
|
|
136
|
+
storageClassType: "string",
|
|
137
|
+
},
|
|
138
|
+
id: {
|
|
139
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
140
|
+
isBlock: false,
|
|
141
|
+
type: "simple",
|
|
142
|
+
storageClassType: "string",
|
|
143
|
+
},
|
|
144
|
+
proxy_ca_certificate: {
|
|
145
|
+
value: cdktf.stringToHclTerraform(this._proxyCaCertificate),
|
|
146
|
+
isBlock: false,
|
|
147
|
+
type: "simple",
|
|
148
|
+
storageClassType: "string",
|
|
149
|
+
},
|
|
150
|
+
};
|
|
151
|
+
// remove undefined attributes
|
|
152
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
153
|
+
}
|
|
154
|
+
}
|