@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,184 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/datadog_agent
|
|
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/datadog_agent aviatrix_datadog_agent}
|
|
6
|
+
*/
|
|
7
|
+
export class DatadogAgent extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_datadog_agent";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a DatadogAgent 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 DatadogAgent to import
|
|
19
|
+
* @param importFromId The id of the existing DatadogAgent that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/datadog_agent#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the DatadogAgent to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_datadog_agent", 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/datadog_agent aviatrix_datadog_agent} 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 DatadogAgentConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_datadog_agent',
|
|
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._apiKey = config.apiKey;
|
|
52
|
+
this._excludedGateways = config.excludedGateways;
|
|
53
|
+
this._id = config.id;
|
|
54
|
+
this._metricsOnly = config.metricsOnly;
|
|
55
|
+
this._site = config.site;
|
|
56
|
+
}
|
|
57
|
+
// ==========
|
|
58
|
+
// ATTRIBUTES
|
|
59
|
+
// ==========
|
|
60
|
+
// api_key - computed: false, optional: false, required: true
|
|
61
|
+
_apiKey;
|
|
62
|
+
get apiKey() {
|
|
63
|
+
return this.getStringAttribute('api_key');
|
|
64
|
+
}
|
|
65
|
+
set apiKey(value) {
|
|
66
|
+
this._apiKey = value;
|
|
67
|
+
}
|
|
68
|
+
// Temporarily expose input value. Use with caution.
|
|
69
|
+
get apiKeyInput() {
|
|
70
|
+
return this._apiKey;
|
|
71
|
+
}
|
|
72
|
+
// excluded_gateways - computed: false, optional: true, required: false
|
|
73
|
+
_excludedGateways;
|
|
74
|
+
get excludedGateways() {
|
|
75
|
+
return cdktf.Fn.tolist(this.getListAttribute('excluded_gateways'));
|
|
76
|
+
}
|
|
77
|
+
set excludedGateways(value) {
|
|
78
|
+
this._excludedGateways = value;
|
|
79
|
+
}
|
|
80
|
+
resetExcludedGateways() {
|
|
81
|
+
this._excludedGateways = undefined;
|
|
82
|
+
}
|
|
83
|
+
// Temporarily expose input value. Use with caution.
|
|
84
|
+
get excludedGatewaysInput() {
|
|
85
|
+
return this._excludedGateways;
|
|
86
|
+
}
|
|
87
|
+
// id - computed: true, optional: true, required: false
|
|
88
|
+
_id;
|
|
89
|
+
get id() {
|
|
90
|
+
return this.getStringAttribute('id');
|
|
91
|
+
}
|
|
92
|
+
set id(value) {
|
|
93
|
+
this._id = value;
|
|
94
|
+
}
|
|
95
|
+
resetId() {
|
|
96
|
+
this._id = undefined;
|
|
97
|
+
}
|
|
98
|
+
// Temporarily expose input value. Use with caution.
|
|
99
|
+
get idInput() {
|
|
100
|
+
return this._id;
|
|
101
|
+
}
|
|
102
|
+
// metrics_only - computed: false, optional: true, required: false
|
|
103
|
+
_metricsOnly;
|
|
104
|
+
get metricsOnly() {
|
|
105
|
+
return this.getBooleanAttribute('metrics_only');
|
|
106
|
+
}
|
|
107
|
+
set metricsOnly(value) {
|
|
108
|
+
this._metricsOnly = value;
|
|
109
|
+
}
|
|
110
|
+
resetMetricsOnly() {
|
|
111
|
+
this._metricsOnly = undefined;
|
|
112
|
+
}
|
|
113
|
+
// Temporarily expose input value. Use with caution.
|
|
114
|
+
get metricsOnlyInput() {
|
|
115
|
+
return this._metricsOnly;
|
|
116
|
+
}
|
|
117
|
+
// site - computed: false, optional: true, required: false
|
|
118
|
+
_site;
|
|
119
|
+
get site() {
|
|
120
|
+
return this.getStringAttribute('site');
|
|
121
|
+
}
|
|
122
|
+
set site(value) {
|
|
123
|
+
this._site = value;
|
|
124
|
+
}
|
|
125
|
+
resetSite() {
|
|
126
|
+
this._site = undefined;
|
|
127
|
+
}
|
|
128
|
+
// Temporarily expose input value. Use with caution.
|
|
129
|
+
get siteInput() {
|
|
130
|
+
return this._site;
|
|
131
|
+
}
|
|
132
|
+
// status - computed: true, optional: false, required: false
|
|
133
|
+
get status() {
|
|
134
|
+
return this.getStringAttribute('status');
|
|
135
|
+
}
|
|
136
|
+
// =========
|
|
137
|
+
// SYNTHESIS
|
|
138
|
+
// =========
|
|
139
|
+
synthesizeAttributes() {
|
|
140
|
+
return {
|
|
141
|
+
api_key: cdktf.stringToTerraform(this._apiKey),
|
|
142
|
+
excluded_gateways: cdktf.listMapper(cdktf.stringToTerraform, false)(this._excludedGateways),
|
|
143
|
+
id: cdktf.stringToTerraform(this._id),
|
|
144
|
+
metrics_only: cdktf.booleanToTerraform(this._metricsOnly),
|
|
145
|
+
site: cdktf.stringToTerraform(this._site),
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
synthesizeHclAttributes() {
|
|
149
|
+
const attrs = {
|
|
150
|
+
api_key: {
|
|
151
|
+
value: cdktf.stringToHclTerraform(this._apiKey),
|
|
152
|
+
isBlock: false,
|
|
153
|
+
type: "simple",
|
|
154
|
+
storageClassType: "string",
|
|
155
|
+
},
|
|
156
|
+
excluded_gateways: {
|
|
157
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._excludedGateways),
|
|
158
|
+
isBlock: false,
|
|
159
|
+
type: "set",
|
|
160
|
+
storageClassType: "stringList",
|
|
161
|
+
},
|
|
162
|
+
id: {
|
|
163
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
164
|
+
isBlock: false,
|
|
165
|
+
type: "simple",
|
|
166
|
+
storageClassType: "string",
|
|
167
|
+
},
|
|
168
|
+
metrics_only: {
|
|
169
|
+
value: cdktf.booleanToHclTerraform(this._metricsOnly),
|
|
170
|
+
isBlock: false,
|
|
171
|
+
type: "simple",
|
|
172
|
+
storageClassType: "boolean",
|
|
173
|
+
},
|
|
174
|
+
site: {
|
|
175
|
+
value: cdktf.stringToHclTerraform(this._site),
|
|
176
|
+
isBlock: false,
|
|
177
|
+
type: "simple",
|
|
178
|
+
storageClassType: "string",
|
|
179
|
+
},
|
|
180
|
+
};
|
|
181
|
+
// remove undefined attributes
|
|
182
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
183
|
+
}
|
|
184
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface DeviceInterfaceConfigConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Name of device.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/device_interface_config#device_name DeviceInterfaceConfig#device_name}
|
|
8
|
+
*/
|
|
9
|
+
readonly deviceName: string;
|
|
10
|
+
/**
|
|
11
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/device_interface_config#id DeviceInterfaceConfig#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
|
+
* WAN primary interface of the device.
|
|
19
|
+
*
|
|
20
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/device_interface_config#wan_primary_interface DeviceInterfaceConfig#wan_primary_interface}
|
|
21
|
+
*/
|
|
22
|
+
readonly wanPrimaryInterface: string;
|
|
23
|
+
/**
|
|
24
|
+
* WAN primary interface public IP address.
|
|
25
|
+
*
|
|
26
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/device_interface_config#wan_primary_interface_public_ip DeviceInterfaceConfig#wan_primary_interface_public_ip}
|
|
27
|
+
*/
|
|
28
|
+
readonly wanPrimaryInterfacePublicIp: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/device_interface_config aviatrix_device_interface_config}
|
|
32
|
+
*/
|
|
33
|
+
export declare class DeviceInterfaceConfig extends cdktf.TerraformResource {
|
|
34
|
+
static readonly tfResourceType = "aviatrix_device_interface_config";
|
|
35
|
+
/**
|
|
36
|
+
* Generates CDKTF code for importing a DeviceInterfaceConfig 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 DeviceInterfaceConfig to import
|
|
39
|
+
* @param importFromId The id of the existing DeviceInterfaceConfig that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/device_interface_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 DeviceInterfaceConfig 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/device_interface_config aviatrix_device_interface_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 DeviceInterfaceConfigConfig
|
|
49
|
+
*/
|
|
50
|
+
constructor(scope: Construct, id: string, config: DeviceInterfaceConfigConfig);
|
|
51
|
+
private _deviceName?;
|
|
52
|
+
get deviceName(): string;
|
|
53
|
+
set deviceName(value: string);
|
|
54
|
+
get deviceNameInput(): string;
|
|
55
|
+
private _id?;
|
|
56
|
+
get id(): string;
|
|
57
|
+
set id(value: string);
|
|
58
|
+
resetId(): void;
|
|
59
|
+
get idInput(): string;
|
|
60
|
+
private _wanPrimaryInterface?;
|
|
61
|
+
get wanPrimaryInterface(): string;
|
|
62
|
+
set wanPrimaryInterface(value: string);
|
|
63
|
+
get wanPrimaryInterfaceInput(): string;
|
|
64
|
+
private _wanPrimaryInterfacePublicIp?;
|
|
65
|
+
get wanPrimaryInterfacePublicIp(): string;
|
|
66
|
+
set wanPrimaryInterfacePublicIp(value: string);
|
|
67
|
+
get wanPrimaryInterfacePublicIpInput(): string;
|
|
68
|
+
protected synthesizeAttributes(): {
|
|
69
|
+
[name: string]: any;
|
|
70
|
+
};
|
|
71
|
+
protected synthesizeHclAttributes(): {
|
|
72
|
+
[name: string]: any;
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/device_interface_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/device_interface_config aviatrix_device_interface_config}
|
|
6
|
+
*/
|
|
7
|
+
export class DeviceInterfaceConfig extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_device_interface_config";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a DeviceInterfaceConfig 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 DeviceInterfaceConfig to import
|
|
19
|
+
* @param importFromId The id of the existing DeviceInterfaceConfig that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/device_interface_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 DeviceInterfaceConfig to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_device_interface_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/device_interface_config aviatrix_device_interface_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 DeviceInterfaceConfigConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_device_interface_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._deviceName = config.deviceName;
|
|
52
|
+
this._id = config.id;
|
|
53
|
+
this._wanPrimaryInterface = config.wanPrimaryInterface;
|
|
54
|
+
this._wanPrimaryInterfacePublicIp = config.wanPrimaryInterfacePublicIp;
|
|
55
|
+
}
|
|
56
|
+
// ==========
|
|
57
|
+
// ATTRIBUTES
|
|
58
|
+
// ==========
|
|
59
|
+
// device_name - computed: false, optional: false, required: true
|
|
60
|
+
_deviceName;
|
|
61
|
+
get deviceName() {
|
|
62
|
+
return this.getStringAttribute('device_name');
|
|
63
|
+
}
|
|
64
|
+
set deviceName(value) {
|
|
65
|
+
this._deviceName = value;
|
|
66
|
+
}
|
|
67
|
+
// Temporarily expose input value. Use with caution.
|
|
68
|
+
get deviceNameInput() {
|
|
69
|
+
return this._deviceName;
|
|
70
|
+
}
|
|
71
|
+
// id - computed: true, optional: true, required: false
|
|
72
|
+
_id;
|
|
73
|
+
get id() {
|
|
74
|
+
return this.getStringAttribute('id');
|
|
75
|
+
}
|
|
76
|
+
set id(value) {
|
|
77
|
+
this._id = value;
|
|
78
|
+
}
|
|
79
|
+
resetId() {
|
|
80
|
+
this._id = undefined;
|
|
81
|
+
}
|
|
82
|
+
// Temporarily expose input value. Use with caution.
|
|
83
|
+
get idInput() {
|
|
84
|
+
return this._id;
|
|
85
|
+
}
|
|
86
|
+
// wan_primary_interface - computed: false, optional: false, required: true
|
|
87
|
+
_wanPrimaryInterface;
|
|
88
|
+
get wanPrimaryInterface() {
|
|
89
|
+
return this.getStringAttribute('wan_primary_interface');
|
|
90
|
+
}
|
|
91
|
+
set wanPrimaryInterface(value) {
|
|
92
|
+
this._wanPrimaryInterface = value;
|
|
93
|
+
}
|
|
94
|
+
// Temporarily expose input value. Use with caution.
|
|
95
|
+
get wanPrimaryInterfaceInput() {
|
|
96
|
+
return this._wanPrimaryInterface;
|
|
97
|
+
}
|
|
98
|
+
// wan_primary_interface_public_ip - computed: false, optional: false, required: true
|
|
99
|
+
_wanPrimaryInterfacePublicIp;
|
|
100
|
+
get wanPrimaryInterfacePublicIp() {
|
|
101
|
+
return this.getStringAttribute('wan_primary_interface_public_ip');
|
|
102
|
+
}
|
|
103
|
+
set wanPrimaryInterfacePublicIp(value) {
|
|
104
|
+
this._wanPrimaryInterfacePublicIp = value;
|
|
105
|
+
}
|
|
106
|
+
// Temporarily expose input value. Use with caution.
|
|
107
|
+
get wanPrimaryInterfacePublicIpInput() {
|
|
108
|
+
return this._wanPrimaryInterfacePublicIp;
|
|
109
|
+
}
|
|
110
|
+
// =========
|
|
111
|
+
// SYNTHESIS
|
|
112
|
+
// =========
|
|
113
|
+
synthesizeAttributes() {
|
|
114
|
+
return {
|
|
115
|
+
device_name: cdktf.stringToTerraform(this._deviceName),
|
|
116
|
+
id: cdktf.stringToTerraform(this._id),
|
|
117
|
+
wan_primary_interface: cdktf.stringToTerraform(this._wanPrimaryInterface),
|
|
118
|
+
wan_primary_interface_public_ip: cdktf.stringToTerraform(this._wanPrimaryInterfacePublicIp),
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
synthesizeHclAttributes() {
|
|
122
|
+
const attrs = {
|
|
123
|
+
device_name: {
|
|
124
|
+
value: cdktf.stringToHclTerraform(this._deviceName),
|
|
125
|
+
isBlock: false,
|
|
126
|
+
type: "simple",
|
|
127
|
+
storageClassType: "string",
|
|
128
|
+
},
|
|
129
|
+
id: {
|
|
130
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
131
|
+
isBlock: false,
|
|
132
|
+
type: "simple",
|
|
133
|
+
storageClassType: "string",
|
|
134
|
+
},
|
|
135
|
+
wan_primary_interface: {
|
|
136
|
+
value: cdktf.stringToHclTerraform(this._wanPrimaryInterface),
|
|
137
|
+
isBlock: false,
|
|
138
|
+
type: "simple",
|
|
139
|
+
storageClassType: "string",
|
|
140
|
+
},
|
|
141
|
+
wan_primary_interface_public_ip: {
|
|
142
|
+
value: cdktf.stringToHclTerraform(this._wanPrimaryInterfacePublicIp),
|
|
143
|
+
isBlock: false,
|
|
144
|
+
type: "simple",
|
|
145
|
+
storageClassType: "string",
|
|
146
|
+
},
|
|
147
|
+
};
|
|
148
|
+
// remove undefined attributes
|
|
149
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
150
|
+
}
|
|
151
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface DistributedFirewallingConfigConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Whether to enable Distributed-firewalling.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_config#enable_distributed_firewalling DistributedFirewallingConfig#enable_distributed_firewalling}
|
|
8
|
+
*/
|
|
9
|
+
readonly enableDistributedFirewalling?: boolean | cdktf.IResolvable;
|
|
10
|
+
/**
|
|
11
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_config#id DistributedFirewallingConfig#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
|
+
/**
|
|
19
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_config aviatrix_distributed_firewalling_config}
|
|
20
|
+
*/
|
|
21
|
+
export declare class DistributedFirewallingConfig extends cdktf.TerraformResource {
|
|
22
|
+
static readonly tfResourceType = "aviatrix_distributed_firewalling_config";
|
|
23
|
+
/**
|
|
24
|
+
* Generates CDKTF code for importing a DistributedFirewallingConfig resource upon running "cdktf plan <stack-name>"
|
|
25
|
+
* @param scope The scope in which to define this construct
|
|
26
|
+
* @param importToId The construct id used in the generated config for the DistributedFirewallingConfig to import
|
|
27
|
+
* @param importFromId The id of the existing DistributedFirewallingConfig that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_config#import import section} in the documentation of this resource for the id to use
|
|
28
|
+
* @param provider? Optional instance of the provider where the DistributedFirewallingConfig to import is found
|
|
29
|
+
*/
|
|
30
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
31
|
+
/**
|
|
32
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_config aviatrix_distributed_firewalling_config} Resource
|
|
33
|
+
*
|
|
34
|
+
* @param scope The scope in which to define this construct
|
|
35
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
36
|
+
* @param options DistributedFirewallingConfigConfig = {}
|
|
37
|
+
*/
|
|
38
|
+
constructor(scope: Construct, id: string, config?: DistributedFirewallingConfigConfig);
|
|
39
|
+
private _enableDistributedFirewalling?;
|
|
40
|
+
get enableDistributedFirewalling(): boolean | cdktf.IResolvable;
|
|
41
|
+
set enableDistributedFirewalling(value: boolean | cdktf.IResolvable);
|
|
42
|
+
resetEnableDistributedFirewalling(): void;
|
|
43
|
+
get enableDistributedFirewallingInput(): any;
|
|
44
|
+
private _id?;
|
|
45
|
+
get id(): string;
|
|
46
|
+
set id(value: string);
|
|
47
|
+
resetId(): void;
|
|
48
|
+
get idInput(): string;
|
|
49
|
+
protected synthesizeAttributes(): {
|
|
50
|
+
[name: string]: any;
|
|
51
|
+
};
|
|
52
|
+
protected synthesizeHclAttributes(): {
|
|
53
|
+
[name: string]: any;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_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/distributed_firewalling_config aviatrix_distributed_firewalling_config}
|
|
6
|
+
*/
|
|
7
|
+
export class DistributedFirewallingConfig extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_distributed_firewalling_config";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a DistributedFirewallingConfig 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 DistributedFirewallingConfig to import
|
|
19
|
+
* @param importFromId The id of the existing DistributedFirewallingConfig that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_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 DistributedFirewallingConfig to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_distributed_firewalling_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/distributed_firewalling_config aviatrix_distributed_firewalling_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 DistributedFirewallingConfigConfig = {}
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config = {}) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_distributed_firewalling_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._enableDistributedFirewalling = config.enableDistributedFirewalling;
|
|
52
|
+
this._id = config.id;
|
|
53
|
+
}
|
|
54
|
+
// ==========
|
|
55
|
+
// ATTRIBUTES
|
|
56
|
+
// ==========
|
|
57
|
+
// enable_distributed_firewalling - computed: false, optional: true, required: false
|
|
58
|
+
_enableDistributedFirewalling;
|
|
59
|
+
get enableDistributedFirewalling() {
|
|
60
|
+
return this.getBooleanAttribute('enable_distributed_firewalling');
|
|
61
|
+
}
|
|
62
|
+
set enableDistributedFirewalling(value) {
|
|
63
|
+
this._enableDistributedFirewalling = value;
|
|
64
|
+
}
|
|
65
|
+
resetEnableDistributedFirewalling() {
|
|
66
|
+
this._enableDistributedFirewalling = undefined;
|
|
67
|
+
}
|
|
68
|
+
// Temporarily expose input value. Use with caution.
|
|
69
|
+
get enableDistributedFirewallingInput() {
|
|
70
|
+
return this._enableDistributedFirewalling;
|
|
71
|
+
}
|
|
72
|
+
// id - computed: true, optional: true, required: false
|
|
73
|
+
_id;
|
|
74
|
+
get id() {
|
|
75
|
+
return this.getStringAttribute('id');
|
|
76
|
+
}
|
|
77
|
+
set id(value) {
|
|
78
|
+
this._id = value;
|
|
79
|
+
}
|
|
80
|
+
resetId() {
|
|
81
|
+
this._id = undefined;
|
|
82
|
+
}
|
|
83
|
+
// Temporarily expose input value. Use with caution.
|
|
84
|
+
get idInput() {
|
|
85
|
+
return this._id;
|
|
86
|
+
}
|
|
87
|
+
// =========
|
|
88
|
+
// SYNTHESIS
|
|
89
|
+
// =========
|
|
90
|
+
synthesizeAttributes() {
|
|
91
|
+
return {
|
|
92
|
+
enable_distributed_firewalling: cdktf.booleanToTerraform(this._enableDistributedFirewalling),
|
|
93
|
+
id: cdktf.stringToTerraform(this._id),
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
synthesizeHclAttributes() {
|
|
97
|
+
const attrs = {
|
|
98
|
+
enable_distributed_firewalling: {
|
|
99
|
+
value: cdktf.booleanToHclTerraform(this._enableDistributedFirewalling),
|
|
100
|
+
isBlock: false,
|
|
101
|
+
type: "simple",
|
|
102
|
+
storageClassType: "boolean",
|
|
103
|
+
},
|
|
104
|
+
id: {
|
|
105
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
106
|
+
isBlock: false,
|
|
107
|
+
type: "simple",
|
|
108
|
+
storageClassType: "string",
|
|
109
|
+
},
|
|
110
|
+
};
|
|
111
|
+
// remove undefined attributes
|
|
112
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
113
|
+
}
|
|
114
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface DistributedFirewallingDefaultActionRuleConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Action for the specified source and destination Smart Groups.Must be one of PERMIT or DENY.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_default_action_rule#action DistributedFirewallingDefaultActionRule#action}
|
|
8
|
+
*/
|
|
9
|
+
readonly action: string;
|
|
10
|
+
/**
|
|
11
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_default_action_rule#id DistributedFirewallingDefaultActionRule#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
|
+
* Boolean value to enable or disable logging for the default action rule.
|
|
19
|
+
*
|
|
20
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_default_action_rule#logging DistributedFirewallingDefaultActionRule#logging}
|
|
21
|
+
*/
|
|
22
|
+
readonly logging: boolean | cdktf.IResolvable;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_default_action_rule aviatrix_distributed_firewalling_default_action_rule}
|
|
26
|
+
*/
|
|
27
|
+
export declare class DistributedFirewallingDefaultActionRule extends cdktf.TerraformResource {
|
|
28
|
+
static readonly tfResourceType = "aviatrix_distributed_firewalling_default_action_rule";
|
|
29
|
+
/**
|
|
30
|
+
* Generates CDKTF code for importing a DistributedFirewallingDefaultActionRule 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 DistributedFirewallingDefaultActionRule to import
|
|
33
|
+
* @param importFromId The id of the existing DistributedFirewallingDefaultActionRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_default_action_rule#import import section} in the documentation of this resource for the id to use
|
|
34
|
+
* @param provider? Optional instance of the provider where the DistributedFirewallingDefaultActionRule 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/resources/distributed_firewalling_default_action_rule aviatrix_distributed_firewalling_default_action_rule} Resource
|
|
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 DistributedFirewallingDefaultActionRuleConfig
|
|
43
|
+
*/
|
|
44
|
+
constructor(scope: Construct, id: string, config: DistributedFirewallingDefaultActionRuleConfig);
|
|
45
|
+
private _action?;
|
|
46
|
+
get action(): string;
|
|
47
|
+
set action(value: string);
|
|
48
|
+
get actionInput(): string;
|
|
49
|
+
private _id?;
|
|
50
|
+
get id(): string;
|
|
51
|
+
set id(value: string);
|
|
52
|
+
resetId(): void;
|
|
53
|
+
get idInput(): string;
|
|
54
|
+
private _logging?;
|
|
55
|
+
get logging(): boolean | cdktf.IResolvable;
|
|
56
|
+
set logging(value: boolean | cdktf.IResolvable);
|
|
57
|
+
get loggingInput(): any;
|
|
58
|
+
protected synthesizeAttributes(): {
|
|
59
|
+
[name: string]: any;
|
|
60
|
+
};
|
|
61
|
+
protected synthesizeHclAttributes(): {
|
|
62
|
+
[name: string]: any;
|
|
63
|
+
};
|
|
64
|
+
}
|