@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,432 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/gateway
|
|
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/data-sources/gateway aviatrix_gateway}
|
|
6
|
+
*/
|
|
7
|
+
export class DataAviatrixGateway extends cdktf.TerraformDataSource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_gateway";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a DataAviatrixGateway 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 DataAviatrixGateway to import
|
|
19
|
+
* @param importFromId The id of the existing DataAviatrixGateway that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/gateway#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the DataAviatrixGateway to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_gateway", 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/data-sources/gateway aviatrix_gateway} Data Source
|
|
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 DataAviatrixGatewayConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_gateway',
|
|
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._gwName = config.gwName;
|
|
52
|
+
this._id = config.id;
|
|
53
|
+
}
|
|
54
|
+
// ==========
|
|
55
|
+
// ATTRIBUTES
|
|
56
|
+
// ==========
|
|
57
|
+
// account_name - computed: true, optional: false, required: false
|
|
58
|
+
get accountName() {
|
|
59
|
+
return this.getStringAttribute('account_name');
|
|
60
|
+
}
|
|
61
|
+
// additional_cidrs - computed: true, optional: false, required: false
|
|
62
|
+
get additionalCidrs() {
|
|
63
|
+
return this.getStringAttribute('additional_cidrs');
|
|
64
|
+
}
|
|
65
|
+
// additional_cidrs_designated_gateway - computed: true, optional: false, required: false
|
|
66
|
+
get additionalCidrsDesignatedGateway() {
|
|
67
|
+
return this.getStringAttribute('additional_cidrs_designated_gateway');
|
|
68
|
+
}
|
|
69
|
+
// allocate_new_eip - computed: true, optional: false, required: false
|
|
70
|
+
get allocateNewEip() {
|
|
71
|
+
return this.getBooleanAttribute('allocate_new_eip');
|
|
72
|
+
}
|
|
73
|
+
// availability_domain - computed: true, optional: false, required: false
|
|
74
|
+
get availabilityDomain() {
|
|
75
|
+
return this.getStringAttribute('availability_domain');
|
|
76
|
+
}
|
|
77
|
+
// azure_eip_name_resource_group - computed: true, optional: false, required: false
|
|
78
|
+
get azureEipNameResourceGroup() {
|
|
79
|
+
return this.getStringAttribute('azure_eip_name_resource_group');
|
|
80
|
+
}
|
|
81
|
+
// cloud_instance_id - computed: true, optional: false, required: false
|
|
82
|
+
get cloudInstanceId() {
|
|
83
|
+
return this.getStringAttribute('cloud_instance_id');
|
|
84
|
+
}
|
|
85
|
+
// cloud_type - computed: true, optional: false, required: false
|
|
86
|
+
get cloudType() {
|
|
87
|
+
return this.getNumberAttribute('cloud_type');
|
|
88
|
+
}
|
|
89
|
+
// duo_api_hostname - computed: true, optional: false, required: false
|
|
90
|
+
get duoApiHostname() {
|
|
91
|
+
return this.getStringAttribute('duo_api_hostname');
|
|
92
|
+
}
|
|
93
|
+
// duo_integration_key - computed: true, optional: false, required: false
|
|
94
|
+
get duoIntegrationKey() {
|
|
95
|
+
return this.getStringAttribute('duo_integration_key');
|
|
96
|
+
}
|
|
97
|
+
// duo_push_mode - computed: true, optional: false, required: false
|
|
98
|
+
get duoPushMode() {
|
|
99
|
+
return this.getStringAttribute('duo_push_mode');
|
|
100
|
+
}
|
|
101
|
+
// elb_dns_name - computed: true, optional: false, required: false
|
|
102
|
+
get elbDnsName() {
|
|
103
|
+
return this.getStringAttribute('elb_dns_name');
|
|
104
|
+
}
|
|
105
|
+
// elb_name - computed: true, optional: false, required: false
|
|
106
|
+
get elbName() {
|
|
107
|
+
return this.getStringAttribute('elb_name');
|
|
108
|
+
}
|
|
109
|
+
// enable_designated_gateway - computed: true, optional: false, required: false
|
|
110
|
+
get enableDesignatedGateway() {
|
|
111
|
+
return this.getBooleanAttribute('enable_designated_gateway');
|
|
112
|
+
}
|
|
113
|
+
// enable_elb - computed: true, optional: false, required: false
|
|
114
|
+
get enableElb() {
|
|
115
|
+
return this.getBooleanAttribute('enable_elb');
|
|
116
|
+
}
|
|
117
|
+
// enable_encrypt_volume - computed: true, optional: false, required: false
|
|
118
|
+
get enableEncryptVolume() {
|
|
119
|
+
return this.getBooleanAttribute('enable_encrypt_volume');
|
|
120
|
+
}
|
|
121
|
+
// enable_jumbo_frame - computed: true, optional: false, required: false
|
|
122
|
+
get enableJumboFrame() {
|
|
123
|
+
return this.getBooleanAttribute('enable_jumbo_frame');
|
|
124
|
+
}
|
|
125
|
+
// enable_ldap - computed: true, optional: false, required: false
|
|
126
|
+
get enableLdap() {
|
|
127
|
+
return this.getBooleanAttribute('enable_ldap');
|
|
128
|
+
}
|
|
129
|
+
// enable_monitor_gateway_subnets - computed: true, optional: false, required: false
|
|
130
|
+
get enableMonitorGatewaySubnets() {
|
|
131
|
+
return this.getBooleanAttribute('enable_monitor_gateway_subnets');
|
|
132
|
+
}
|
|
133
|
+
// enable_public_subnet_filtering - computed: true, optional: false, required: false
|
|
134
|
+
get enablePublicSubnetFiltering() {
|
|
135
|
+
return this.getBooleanAttribute('enable_public_subnet_filtering');
|
|
136
|
+
}
|
|
137
|
+
// enable_spot_instance - computed: true, optional: false, required: false
|
|
138
|
+
get enableSpotInstance() {
|
|
139
|
+
return this.getBooleanAttribute('enable_spot_instance');
|
|
140
|
+
}
|
|
141
|
+
// enable_vpc_dns_server - computed: true, optional: false, required: false
|
|
142
|
+
get enableVpcDnsServer() {
|
|
143
|
+
return this.getBooleanAttribute('enable_vpc_dns_server');
|
|
144
|
+
}
|
|
145
|
+
// enable_vpn_nat - computed: true, optional: false, required: false
|
|
146
|
+
get enableVpnNat() {
|
|
147
|
+
return this.getBooleanAttribute('enable_vpn_nat');
|
|
148
|
+
}
|
|
149
|
+
// fault_domain - computed: true, optional: false, required: false
|
|
150
|
+
get faultDomain() {
|
|
151
|
+
return this.getStringAttribute('fault_domain');
|
|
152
|
+
}
|
|
153
|
+
// fqdn_lan_cidr - computed: true, optional: false, required: false
|
|
154
|
+
get fqdnLanCidr() {
|
|
155
|
+
return this.getStringAttribute('fqdn_lan_cidr');
|
|
156
|
+
}
|
|
157
|
+
// fqdn_lan_interface - computed: true, optional: false, required: false
|
|
158
|
+
get fqdnLanInterface() {
|
|
159
|
+
return this.getStringAttribute('fqdn_lan_interface');
|
|
160
|
+
}
|
|
161
|
+
// fqdn_lan_vpc_id - computed: true, optional: false, required: false
|
|
162
|
+
get fqdnLanVpcId() {
|
|
163
|
+
return this.getStringAttribute('fqdn_lan_vpc_id');
|
|
164
|
+
}
|
|
165
|
+
// gw_name - computed: false, optional: false, required: true
|
|
166
|
+
_gwName;
|
|
167
|
+
get gwName() {
|
|
168
|
+
return this.getStringAttribute('gw_name');
|
|
169
|
+
}
|
|
170
|
+
set gwName(value) {
|
|
171
|
+
this._gwName = value;
|
|
172
|
+
}
|
|
173
|
+
// Temporarily expose input value. Use with caution.
|
|
174
|
+
get gwNameInput() {
|
|
175
|
+
return this._gwName;
|
|
176
|
+
}
|
|
177
|
+
// gw_size - computed: true, optional: false, required: false
|
|
178
|
+
get gwSize() {
|
|
179
|
+
return this.getStringAttribute('gw_size');
|
|
180
|
+
}
|
|
181
|
+
// id - computed: true, optional: true, required: false
|
|
182
|
+
_id;
|
|
183
|
+
get id() {
|
|
184
|
+
return this.getStringAttribute('id');
|
|
185
|
+
}
|
|
186
|
+
set id(value) {
|
|
187
|
+
this._id = value;
|
|
188
|
+
}
|
|
189
|
+
resetId() {
|
|
190
|
+
this._id = undefined;
|
|
191
|
+
}
|
|
192
|
+
// Temporarily expose input value. Use with caution.
|
|
193
|
+
get idInput() {
|
|
194
|
+
return this._id;
|
|
195
|
+
}
|
|
196
|
+
// idle_timeout - computed: true, optional: false, required: false
|
|
197
|
+
get idleTimeout() {
|
|
198
|
+
return this.getNumberAttribute('idle_timeout');
|
|
199
|
+
}
|
|
200
|
+
// image_version - computed: true, optional: false, required: false
|
|
201
|
+
get imageVersion() {
|
|
202
|
+
return this.getStringAttribute('image_version');
|
|
203
|
+
}
|
|
204
|
+
// insane_mode - computed: true, optional: false, required: false
|
|
205
|
+
get insaneMode() {
|
|
206
|
+
return this.getBooleanAttribute('insane_mode');
|
|
207
|
+
}
|
|
208
|
+
// insane_mode_az - computed: true, optional: false, required: false
|
|
209
|
+
get insaneModeAz() {
|
|
210
|
+
return this.getStringAttribute('insane_mode_az');
|
|
211
|
+
}
|
|
212
|
+
// ldap_base_dn - computed: true, optional: false, required: false
|
|
213
|
+
get ldapBaseDn() {
|
|
214
|
+
return this.getStringAttribute('ldap_base_dn');
|
|
215
|
+
}
|
|
216
|
+
// ldap_bind_dn - computed: true, optional: false, required: false
|
|
217
|
+
get ldapBindDn() {
|
|
218
|
+
return this.getStringAttribute('ldap_bind_dn');
|
|
219
|
+
}
|
|
220
|
+
// ldap_server - computed: true, optional: false, required: false
|
|
221
|
+
get ldapServer() {
|
|
222
|
+
return this.getStringAttribute('ldap_server');
|
|
223
|
+
}
|
|
224
|
+
// ldap_username_attribute - computed: true, optional: false, required: false
|
|
225
|
+
get ldapUsernameAttribute() {
|
|
226
|
+
return this.getStringAttribute('ldap_username_attribute');
|
|
227
|
+
}
|
|
228
|
+
// max_vpn_conn - computed: true, optional: false, required: false
|
|
229
|
+
get maxVpnConn() {
|
|
230
|
+
return this.getStringAttribute('max_vpn_conn');
|
|
231
|
+
}
|
|
232
|
+
// monitor_exclude_list - computed: true, optional: false, required: false
|
|
233
|
+
get monitorExcludeList() {
|
|
234
|
+
return cdktf.Fn.tolist(this.getListAttribute('monitor_exclude_list'));
|
|
235
|
+
}
|
|
236
|
+
// name_servers - computed: true, optional: false, required: false
|
|
237
|
+
get nameServers() {
|
|
238
|
+
return this.getStringAttribute('name_servers');
|
|
239
|
+
}
|
|
240
|
+
// okta_url - computed: true, optional: false, required: false
|
|
241
|
+
get oktaUrl() {
|
|
242
|
+
return this.getStringAttribute('okta_url');
|
|
243
|
+
}
|
|
244
|
+
// okta_username_suffix - computed: true, optional: false, required: false
|
|
245
|
+
get oktaUsernameSuffix() {
|
|
246
|
+
return this.getStringAttribute('okta_username_suffix');
|
|
247
|
+
}
|
|
248
|
+
// otp_mode - computed: true, optional: false, required: false
|
|
249
|
+
get otpMode() {
|
|
250
|
+
return this.getStringAttribute('otp_mode');
|
|
251
|
+
}
|
|
252
|
+
// peering_ha_availability_domain - computed: true, optional: false, required: false
|
|
253
|
+
get peeringHaAvailabilityDomain() {
|
|
254
|
+
return this.getStringAttribute('peering_ha_availability_domain');
|
|
255
|
+
}
|
|
256
|
+
// peering_ha_azure_eip_name_resource_group - computed: true, optional: false, required: false
|
|
257
|
+
get peeringHaAzureEipNameResourceGroup() {
|
|
258
|
+
return this.getStringAttribute('peering_ha_azure_eip_name_resource_group');
|
|
259
|
+
}
|
|
260
|
+
// peering_ha_cloud_instance_id - computed: true, optional: false, required: false
|
|
261
|
+
get peeringHaCloudInstanceId() {
|
|
262
|
+
return this.getStringAttribute('peering_ha_cloud_instance_id');
|
|
263
|
+
}
|
|
264
|
+
// peering_ha_fault_domain - computed: true, optional: false, required: false
|
|
265
|
+
get peeringHaFaultDomain() {
|
|
266
|
+
return this.getStringAttribute('peering_ha_fault_domain');
|
|
267
|
+
}
|
|
268
|
+
// peering_ha_gw_name - computed: true, optional: false, required: false
|
|
269
|
+
get peeringHaGwName() {
|
|
270
|
+
return this.getStringAttribute('peering_ha_gw_name');
|
|
271
|
+
}
|
|
272
|
+
// peering_ha_gw_size - computed: true, optional: false, required: false
|
|
273
|
+
get peeringHaGwSize() {
|
|
274
|
+
return this.getStringAttribute('peering_ha_gw_size');
|
|
275
|
+
}
|
|
276
|
+
// peering_ha_image_version - computed: true, optional: false, required: false
|
|
277
|
+
get peeringHaImageVersion() {
|
|
278
|
+
return this.getStringAttribute('peering_ha_image_version');
|
|
279
|
+
}
|
|
280
|
+
// peering_ha_insane_mode_az - computed: true, optional: false, required: false
|
|
281
|
+
get peeringHaInsaneModeAz() {
|
|
282
|
+
return this.getStringAttribute('peering_ha_insane_mode_az');
|
|
283
|
+
}
|
|
284
|
+
// peering_ha_private_ip - computed: true, optional: false, required: false
|
|
285
|
+
get peeringHaPrivateIp() {
|
|
286
|
+
return this.getStringAttribute('peering_ha_private_ip');
|
|
287
|
+
}
|
|
288
|
+
// peering_ha_public_ip - computed: true, optional: false, required: false
|
|
289
|
+
get peeringHaPublicIp() {
|
|
290
|
+
return this.getStringAttribute('peering_ha_public_ip');
|
|
291
|
+
}
|
|
292
|
+
// peering_ha_security_group_id - computed: true, optional: false, required: false
|
|
293
|
+
get peeringHaSecurityGroupId() {
|
|
294
|
+
return this.getStringAttribute('peering_ha_security_group_id');
|
|
295
|
+
}
|
|
296
|
+
// peering_ha_software_version - computed: true, optional: false, required: false
|
|
297
|
+
get peeringHaSoftwareVersion() {
|
|
298
|
+
return this.getStringAttribute('peering_ha_software_version');
|
|
299
|
+
}
|
|
300
|
+
// peering_ha_subnet - computed: true, optional: false, required: false
|
|
301
|
+
get peeringHaSubnet() {
|
|
302
|
+
return this.getStringAttribute('peering_ha_subnet');
|
|
303
|
+
}
|
|
304
|
+
// peering_ha_zone - computed: true, optional: false, required: false
|
|
305
|
+
get peeringHaZone() {
|
|
306
|
+
return this.getStringAttribute('peering_ha_zone');
|
|
307
|
+
}
|
|
308
|
+
// private_ip - computed: true, optional: false, required: false
|
|
309
|
+
get privateIp() {
|
|
310
|
+
return this.getStringAttribute('private_ip');
|
|
311
|
+
}
|
|
312
|
+
// public_dns_server - computed: true, optional: false, required: false
|
|
313
|
+
get publicDnsServer() {
|
|
314
|
+
return this.getStringAttribute('public_dns_server');
|
|
315
|
+
}
|
|
316
|
+
// public_ip - computed: true, optional: false, required: false
|
|
317
|
+
get publicIp() {
|
|
318
|
+
return this.getStringAttribute('public_ip');
|
|
319
|
+
}
|
|
320
|
+
// public_subnet_filtering_guard_duty_enforced - computed: true, optional: false, required: false
|
|
321
|
+
get publicSubnetFilteringGuardDutyEnforced() {
|
|
322
|
+
return this.getBooleanAttribute('public_subnet_filtering_guard_duty_enforced');
|
|
323
|
+
}
|
|
324
|
+
// public_subnet_filtering_ha_route_tables - computed: true, optional: false, required: false
|
|
325
|
+
get publicSubnetFilteringHaRouteTables() {
|
|
326
|
+
return cdktf.Fn.tolist(this.getListAttribute('public_subnet_filtering_ha_route_tables'));
|
|
327
|
+
}
|
|
328
|
+
// public_subnet_filtering_route_tables - computed: true, optional: false, required: false
|
|
329
|
+
get publicSubnetFilteringRouteTables() {
|
|
330
|
+
return cdktf.Fn.tolist(this.getListAttribute('public_subnet_filtering_route_tables'));
|
|
331
|
+
}
|
|
332
|
+
// renegotiation_interval - computed: true, optional: false, required: false
|
|
333
|
+
get renegotiationInterval() {
|
|
334
|
+
return this.getNumberAttribute('renegotiation_interval');
|
|
335
|
+
}
|
|
336
|
+
// saml_enabled - computed: true, optional: false, required: false
|
|
337
|
+
get samlEnabled() {
|
|
338
|
+
return this.getBooleanAttribute('saml_enabled');
|
|
339
|
+
}
|
|
340
|
+
// search_domains - computed: true, optional: false, required: false
|
|
341
|
+
get searchDomains() {
|
|
342
|
+
return this.getStringAttribute('search_domains');
|
|
343
|
+
}
|
|
344
|
+
// security_group_id - computed: true, optional: false, required: false
|
|
345
|
+
get securityGroupId() {
|
|
346
|
+
return this.getStringAttribute('security_group_id');
|
|
347
|
+
}
|
|
348
|
+
// single_az_ha - computed: true, optional: false, required: false
|
|
349
|
+
get singleAzHa() {
|
|
350
|
+
return this.getBooleanAttribute('single_az_ha');
|
|
351
|
+
}
|
|
352
|
+
// single_ip_snat - computed: true, optional: false, required: false
|
|
353
|
+
get singleIpSnat() {
|
|
354
|
+
return this.getBooleanAttribute('single_ip_snat');
|
|
355
|
+
}
|
|
356
|
+
// software_version - computed: true, optional: false, required: false
|
|
357
|
+
get softwareVersion() {
|
|
358
|
+
return this.getStringAttribute('software_version');
|
|
359
|
+
}
|
|
360
|
+
// split_tunnel - computed: true, optional: false, required: false
|
|
361
|
+
get splitTunnel() {
|
|
362
|
+
return this.getBooleanAttribute('split_tunnel');
|
|
363
|
+
}
|
|
364
|
+
// spot_price - computed: true, optional: false, required: false
|
|
365
|
+
get spotPrice() {
|
|
366
|
+
return this.getStringAttribute('spot_price');
|
|
367
|
+
}
|
|
368
|
+
// subnet - computed: true, optional: false, required: false
|
|
369
|
+
get subnet() {
|
|
370
|
+
return this.getStringAttribute('subnet');
|
|
371
|
+
}
|
|
372
|
+
// tags - computed: true, optional: false, required: false
|
|
373
|
+
_tags = new cdktf.StringMap(this, "tags");
|
|
374
|
+
get tags() {
|
|
375
|
+
return this._tags;
|
|
376
|
+
}
|
|
377
|
+
// tunnel_detection_time - computed: true, optional: false, required: false
|
|
378
|
+
get tunnelDetectionTime() {
|
|
379
|
+
return this.getNumberAttribute('tunnel_detection_time');
|
|
380
|
+
}
|
|
381
|
+
// vpc_id - computed: true, optional: false, required: false
|
|
382
|
+
get vpcId() {
|
|
383
|
+
return this.getStringAttribute('vpc_id');
|
|
384
|
+
}
|
|
385
|
+
// vpc_reg - computed: true, optional: false, required: false
|
|
386
|
+
get vpcReg() {
|
|
387
|
+
return this.getStringAttribute('vpc_reg');
|
|
388
|
+
}
|
|
389
|
+
// vpn_access - computed: true, optional: false, required: false
|
|
390
|
+
get vpnAccess() {
|
|
391
|
+
return this.getBooleanAttribute('vpn_access');
|
|
392
|
+
}
|
|
393
|
+
// vpn_cidr - computed: true, optional: false, required: false
|
|
394
|
+
get vpnCidr() {
|
|
395
|
+
return this.getStringAttribute('vpn_cidr');
|
|
396
|
+
}
|
|
397
|
+
// vpn_protocol - computed: true, optional: false, required: false
|
|
398
|
+
get vpnProtocol() {
|
|
399
|
+
return this.getStringAttribute('vpn_protocol');
|
|
400
|
+
}
|
|
401
|
+
// zone - computed: true, optional: false, required: false
|
|
402
|
+
get zone() {
|
|
403
|
+
return this.getStringAttribute('zone');
|
|
404
|
+
}
|
|
405
|
+
// =========
|
|
406
|
+
// SYNTHESIS
|
|
407
|
+
// =========
|
|
408
|
+
synthesizeAttributes() {
|
|
409
|
+
return {
|
|
410
|
+
gw_name: cdktf.stringToTerraform(this._gwName),
|
|
411
|
+
id: cdktf.stringToTerraform(this._id),
|
|
412
|
+
};
|
|
413
|
+
}
|
|
414
|
+
synthesizeHclAttributes() {
|
|
415
|
+
const attrs = {
|
|
416
|
+
gw_name: {
|
|
417
|
+
value: cdktf.stringToHclTerraform(this._gwName),
|
|
418
|
+
isBlock: false,
|
|
419
|
+
type: "simple",
|
|
420
|
+
storageClassType: "string",
|
|
421
|
+
},
|
|
422
|
+
id: {
|
|
423
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
424
|
+
isBlock: false,
|
|
425
|
+
type: "simple",
|
|
426
|
+
storageClassType: "string",
|
|
427
|
+
},
|
|
428
|
+
};
|
|
429
|
+
// remove undefined attributes
|
|
430
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
431
|
+
}
|
|
432
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface DataAviatrixGatewayImageConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Type of cloud service provider.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/gateway_image#cloud_type DataAviatrixGatewayImage#cloud_type}
|
|
8
|
+
*/
|
|
9
|
+
readonly cloudType: number;
|
|
10
|
+
/**
|
|
11
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/gateway_image#id DataAviatrixGatewayImage#id}
|
|
12
|
+
*
|
|
13
|
+
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
14
|
+
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
15
|
+
*/
|
|
16
|
+
readonly id?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Software version.
|
|
19
|
+
*
|
|
20
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/gateway_image#software_version DataAviatrixGatewayImage#software_version}
|
|
21
|
+
*/
|
|
22
|
+
readonly softwareVersion: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/gateway_image aviatrix_gateway_image}
|
|
26
|
+
*/
|
|
27
|
+
export declare class DataAviatrixGatewayImage extends cdktf.TerraformDataSource {
|
|
28
|
+
static readonly tfResourceType = "aviatrix_gateway_image";
|
|
29
|
+
/**
|
|
30
|
+
* Generates CDKTF code for importing a DataAviatrixGatewayImage resource upon running "cdktf plan <stack-name>"
|
|
31
|
+
* @param scope The scope in which to define this construct
|
|
32
|
+
* @param importToId The construct id used in the generated config for the DataAviatrixGatewayImage to import
|
|
33
|
+
* @param importFromId The id of the existing DataAviatrixGatewayImage that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/gateway_image#import import section} in the documentation of this resource for the id to use
|
|
34
|
+
* @param provider? Optional instance of the provider where the DataAviatrixGatewayImage to import is found
|
|
35
|
+
*/
|
|
36
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
37
|
+
/**
|
|
38
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/gateway_image aviatrix_gateway_image} Data Source
|
|
39
|
+
*
|
|
40
|
+
* @param scope The scope in which to define this construct
|
|
41
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
42
|
+
* @param options DataAviatrixGatewayImageConfig
|
|
43
|
+
*/
|
|
44
|
+
constructor(scope: Construct, id: string, config: DataAviatrixGatewayImageConfig);
|
|
45
|
+
private _cloudType?;
|
|
46
|
+
get cloudType(): number;
|
|
47
|
+
set cloudType(value: number);
|
|
48
|
+
get cloudTypeInput(): number;
|
|
49
|
+
private _id?;
|
|
50
|
+
get id(): string;
|
|
51
|
+
set id(value: string);
|
|
52
|
+
resetId(): void;
|
|
53
|
+
get idInput(): string;
|
|
54
|
+
get imageVersion(): any;
|
|
55
|
+
private _softwareVersion?;
|
|
56
|
+
get softwareVersion(): string;
|
|
57
|
+
set softwareVersion(value: string);
|
|
58
|
+
get softwareVersionInput(): string;
|
|
59
|
+
protected synthesizeAttributes(): {
|
|
60
|
+
[name: string]: any;
|
|
61
|
+
};
|
|
62
|
+
protected synthesizeHclAttributes(): {
|
|
63
|
+
[name: string]: any;
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/gateway_image
|
|
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/data-sources/gateway_image aviatrix_gateway_image}
|
|
6
|
+
*/
|
|
7
|
+
export class DataAviatrixGatewayImage extends cdktf.TerraformDataSource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_gateway_image";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a DataAviatrixGatewayImage 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 DataAviatrixGatewayImage to import
|
|
19
|
+
* @param importFromId The id of the existing DataAviatrixGatewayImage that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/gateway_image#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the DataAviatrixGatewayImage to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_gateway_image", 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/data-sources/gateway_image aviatrix_gateway_image} Data Source
|
|
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 DataAviatrixGatewayImageConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_gateway_image',
|
|
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._cloudType = config.cloudType;
|
|
52
|
+
this._id = config.id;
|
|
53
|
+
this._softwareVersion = config.softwareVersion;
|
|
54
|
+
}
|
|
55
|
+
// ==========
|
|
56
|
+
// ATTRIBUTES
|
|
57
|
+
// ==========
|
|
58
|
+
// cloud_type - computed: false, optional: false, required: true
|
|
59
|
+
_cloudType;
|
|
60
|
+
get cloudType() {
|
|
61
|
+
return this.getNumberAttribute('cloud_type');
|
|
62
|
+
}
|
|
63
|
+
set cloudType(value) {
|
|
64
|
+
this._cloudType = value;
|
|
65
|
+
}
|
|
66
|
+
// Temporarily expose input value. Use with caution.
|
|
67
|
+
get cloudTypeInput() {
|
|
68
|
+
return this._cloudType;
|
|
69
|
+
}
|
|
70
|
+
// id - computed: true, optional: true, required: false
|
|
71
|
+
_id;
|
|
72
|
+
get id() {
|
|
73
|
+
return this.getStringAttribute('id');
|
|
74
|
+
}
|
|
75
|
+
set id(value) {
|
|
76
|
+
this._id = value;
|
|
77
|
+
}
|
|
78
|
+
resetId() {
|
|
79
|
+
this._id = undefined;
|
|
80
|
+
}
|
|
81
|
+
// Temporarily expose input value. Use with caution.
|
|
82
|
+
get idInput() {
|
|
83
|
+
return this._id;
|
|
84
|
+
}
|
|
85
|
+
// image_version - computed: true, optional: false, required: false
|
|
86
|
+
get imageVersion() {
|
|
87
|
+
return this.getStringAttribute('image_version');
|
|
88
|
+
}
|
|
89
|
+
// software_version - computed: false, optional: false, required: true
|
|
90
|
+
_softwareVersion;
|
|
91
|
+
get softwareVersion() {
|
|
92
|
+
return this.getStringAttribute('software_version');
|
|
93
|
+
}
|
|
94
|
+
set softwareVersion(value) {
|
|
95
|
+
this._softwareVersion = value;
|
|
96
|
+
}
|
|
97
|
+
// Temporarily expose input value. Use with caution.
|
|
98
|
+
get softwareVersionInput() {
|
|
99
|
+
return this._softwareVersion;
|
|
100
|
+
}
|
|
101
|
+
// =========
|
|
102
|
+
// SYNTHESIS
|
|
103
|
+
// =========
|
|
104
|
+
synthesizeAttributes() {
|
|
105
|
+
return {
|
|
106
|
+
cloud_type: cdktf.numberToTerraform(this._cloudType),
|
|
107
|
+
id: cdktf.stringToTerraform(this._id),
|
|
108
|
+
software_version: cdktf.stringToTerraform(this._softwareVersion),
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
synthesizeHclAttributes() {
|
|
112
|
+
const attrs = {
|
|
113
|
+
cloud_type: {
|
|
114
|
+
value: cdktf.numberToHclTerraform(this._cloudType),
|
|
115
|
+
isBlock: false,
|
|
116
|
+
type: "simple",
|
|
117
|
+
storageClassType: "number",
|
|
118
|
+
},
|
|
119
|
+
id: {
|
|
120
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
121
|
+
isBlock: false,
|
|
122
|
+
type: "simple",
|
|
123
|
+
storageClassType: "string",
|
|
124
|
+
},
|
|
125
|
+
software_version: {
|
|
126
|
+
value: cdktf.stringToHclTerraform(this._softwareVersion),
|
|
127
|
+
isBlock: false,
|
|
128
|
+
type: "simple",
|
|
129
|
+
storageClassType: "string",
|
|
130
|
+
},
|
|
131
|
+
};
|
|
132
|
+
// remove undefined attributes
|
|
133
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
134
|
+
}
|
|
135
|
+
}
|