@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,131 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_default_action_rule
|
|
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_default_action_rule aviatrix_distributed_firewalling_default_action_rule}
|
|
6
|
+
*/
|
|
7
|
+
export class DistributedFirewallingDefaultActionRule extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_distributed_firewalling_default_action_rule";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a DistributedFirewallingDefaultActionRule 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 DistributedFirewallingDefaultActionRule to import
|
|
19
|
+
* @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
|
|
20
|
+
* @param provider? Optional instance of the provider where the DistributedFirewallingDefaultActionRule to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_distributed_firewalling_default_action_rule", 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_default_action_rule aviatrix_distributed_firewalling_default_action_rule} 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 DistributedFirewallingDefaultActionRuleConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_distributed_firewalling_default_action_rule',
|
|
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._action = config.action;
|
|
52
|
+
this._id = config.id;
|
|
53
|
+
this._logging = config.logging;
|
|
54
|
+
}
|
|
55
|
+
// ==========
|
|
56
|
+
// ATTRIBUTES
|
|
57
|
+
// ==========
|
|
58
|
+
// action - computed: false, optional: false, required: true
|
|
59
|
+
_action;
|
|
60
|
+
get action() {
|
|
61
|
+
return this.getStringAttribute('action');
|
|
62
|
+
}
|
|
63
|
+
set action(value) {
|
|
64
|
+
this._action = value;
|
|
65
|
+
}
|
|
66
|
+
// Temporarily expose input value. Use with caution.
|
|
67
|
+
get actionInput() {
|
|
68
|
+
return this._action;
|
|
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
|
+
// logging - computed: false, optional: false, required: true
|
|
86
|
+
_logging;
|
|
87
|
+
get logging() {
|
|
88
|
+
return this.getBooleanAttribute('logging');
|
|
89
|
+
}
|
|
90
|
+
set logging(value) {
|
|
91
|
+
this._logging = value;
|
|
92
|
+
}
|
|
93
|
+
// Temporarily expose input value. Use with caution.
|
|
94
|
+
get loggingInput() {
|
|
95
|
+
return this._logging;
|
|
96
|
+
}
|
|
97
|
+
// =========
|
|
98
|
+
// SYNTHESIS
|
|
99
|
+
// =========
|
|
100
|
+
synthesizeAttributes() {
|
|
101
|
+
return {
|
|
102
|
+
action: cdktf.stringToTerraform(this._action),
|
|
103
|
+
id: cdktf.stringToTerraform(this._id),
|
|
104
|
+
logging: cdktf.booleanToTerraform(this._logging),
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
synthesizeHclAttributes() {
|
|
108
|
+
const attrs = {
|
|
109
|
+
action: {
|
|
110
|
+
value: cdktf.stringToHclTerraform(this._action),
|
|
111
|
+
isBlock: false,
|
|
112
|
+
type: "simple",
|
|
113
|
+
storageClassType: "string",
|
|
114
|
+
},
|
|
115
|
+
id: {
|
|
116
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
117
|
+
isBlock: false,
|
|
118
|
+
type: "simple",
|
|
119
|
+
storageClassType: "string",
|
|
120
|
+
},
|
|
121
|
+
logging: {
|
|
122
|
+
value: cdktf.booleanToHclTerraform(this._logging),
|
|
123
|
+
isBlock: false,
|
|
124
|
+
type: "simple",
|
|
125
|
+
storageClassType: "boolean",
|
|
126
|
+
},
|
|
127
|
+
};
|
|
128
|
+
// remove undefined attributes
|
|
129
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
130
|
+
}
|
|
131
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface DistributedFirewallingIntraVpcConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_intra_vpc#id DistributedFirewallingIntraVpc#id}
|
|
6
|
+
*
|
|
7
|
+
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
8
|
+
* 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.
|
|
9
|
+
*/
|
|
10
|
+
readonly id?: string;
|
|
11
|
+
/**
|
|
12
|
+
* vpcs block
|
|
13
|
+
*
|
|
14
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_intra_vpc#vpcs DistributedFirewallingIntraVpc#vpcs}
|
|
15
|
+
*/
|
|
16
|
+
readonly vpcs: DistributedFirewallingIntraVpcVpcs[] | cdktf.IResolvable;
|
|
17
|
+
}
|
|
18
|
+
export interface DistributedFirewallingIntraVpcVpcs {
|
|
19
|
+
/**
|
|
20
|
+
* Account Name of the VPC.
|
|
21
|
+
*
|
|
22
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_intra_vpc#account_name DistributedFirewallingIntraVpc#account_name}
|
|
23
|
+
*/
|
|
24
|
+
readonly accountName: string;
|
|
25
|
+
/**
|
|
26
|
+
* Region of the VPC.
|
|
27
|
+
*
|
|
28
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_intra_vpc#region DistributedFirewallingIntraVpc#region}
|
|
29
|
+
*/
|
|
30
|
+
readonly region: string;
|
|
31
|
+
/**
|
|
32
|
+
* vpc_id of the VPC.
|
|
33
|
+
*
|
|
34
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_intra_vpc#vpc_id DistributedFirewallingIntraVpc#vpc_id}
|
|
35
|
+
*/
|
|
36
|
+
readonly vpcId: string;
|
|
37
|
+
}
|
|
38
|
+
export declare function distributedFirewallingIntraVpcVpcsToTerraform(struct?: DistributedFirewallingIntraVpcVpcs | cdktf.IResolvable): any;
|
|
39
|
+
export declare function distributedFirewallingIntraVpcVpcsToHclTerraform(struct?: DistributedFirewallingIntraVpcVpcs | cdktf.IResolvable): any;
|
|
40
|
+
export declare class DistributedFirewallingIntraVpcVpcsOutputReference extends cdktf.ComplexObject {
|
|
41
|
+
private isEmptyObject;
|
|
42
|
+
private resolvableValue?;
|
|
43
|
+
/**
|
|
44
|
+
* @param terraformResource The parent resource
|
|
45
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
46
|
+
* @param complexObjectIndex the index of this item in the list
|
|
47
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
48
|
+
*/
|
|
49
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
50
|
+
get internalValue(): DistributedFirewallingIntraVpcVpcs | cdktf.IResolvable | undefined;
|
|
51
|
+
set internalValue(value: DistributedFirewallingIntraVpcVpcs | cdktf.IResolvable | undefined);
|
|
52
|
+
private _accountName?;
|
|
53
|
+
get accountName(): string;
|
|
54
|
+
set accountName(value: string);
|
|
55
|
+
get accountNameInput(): string;
|
|
56
|
+
private _region?;
|
|
57
|
+
get region(): string;
|
|
58
|
+
set region(value: string);
|
|
59
|
+
get regionInput(): string;
|
|
60
|
+
private _vpcId?;
|
|
61
|
+
get vpcId(): string;
|
|
62
|
+
set vpcId(value: string);
|
|
63
|
+
get vpcIdInput(): string;
|
|
64
|
+
}
|
|
65
|
+
export declare class DistributedFirewallingIntraVpcVpcsList extends cdktf.ComplexList {
|
|
66
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
67
|
+
protected terraformAttribute: string;
|
|
68
|
+
protected wrapsSet: boolean;
|
|
69
|
+
internalValue?: DistributedFirewallingIntraVpcVpcs[] | cdktf.IResolvable;
|
|
70
|
+
/**
|
|
71
|
+
* @param terraformResource The parent resource
|
|
72
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
73
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
74
|
+
*/
|
|
75
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
76
|
+
/**
|
|
77
|
+
* @param index the index of the item to return
|
|
78
|
+
*/
|
|
79
|
+
get(index: number): DistributedFirewallingIntraVpcVpcsOutputReference;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_intra_vpc aviatrix_distributed_firewalling_intra_vpc}
|
|
83
|
+
*/
|
|
84
|
+
export declare class DistributedFirewallingIntraVpc extends cdktf.TerraformResource {
|
|
85
|
+
static readonly tfResourceType = "aviatrix_distributed_firewalling_intra_vpc";
|
|
86
|
+
/**
|
|
87
|
+
* Generates CDKTF code for importing a DistributedFirewallingIntraVpc resource upon running "cdktf plan <stack-name>"
|
|
88
|
+
* @param scope The scope in which to define this construct
|
|
89
|
+
* @param importToId The construct id used in the generated config for the DistributedFirewallingIntraVpc to import
|
|
90
|
+
* @param importFromId The id of the existing DistributedFirewallingIntraVpc that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_intra_vpc#import import section} in the documentation of this resource for the id to use
|
|
91
|
+
* @param provider? Optional instance of the provider where the DistributedFirewallingIntraVpc to import is found
|
|
92
|
+
*/
|
|
93
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
94
|
+
/**
|
|
95
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_intra_vpc aviatrix_distributed_firewalling_intra_vpc} Resource
|
|
96
|
+
*
|
|
97
|
+
* @param scope The scope in which to define this construct
|
|
98
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
99
|
+
* @param options DistributedFirewallingIntraVpcConfig
|
|
100
|
+
*/
|
|
101
|
+
constructor(scope: Construct, id: string, config: DistributedFirewallingIntraVpcConfig);
|
|
102
|
+
private _id?;
|
|
103
|
+
get id(): string;
|
|
104
|
+
set id(value: string);
|
|
105
|
+
resetId(): void;
|
|
106
|
+
get idInput(): string;
|
|
107
|
+
private _vpcs;
|
|
108
|
+
get vpcs(): DistributedFirewallingIntraVpcVpcsList;
|
|
109
|
+
putVpcs(value: DistributedFirewallingIntraVpcVpcs[] | cdktf.IResolvable): void;
|
|
110
|
+
get vpcsInput(): any;
|
|
111
|
+
protected synthesizeAttributes(): {
|
|
112
|
+
[name: string]: any;
|
|
113
|
+
};
|
|
114
|
+
protected synthesizeHclAttributes(): {
|
|
115
|
+
[name: string]: any;
|
|
116
|
+
};
|
|
117
|
+
}
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_intra_vpc
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
export function distributedFirewallingIntraVpcVpcsToTerraform(struct) {
|
|
5
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
6
|
+
return struct;
|
|
7
|
+
}
|
|
8
|
+
if (cdktf.isComplexElement(struct)) {
|
|
9
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
account_name: cdktf.stringToTerraform(struct.accountName),
|
|
13
|
+
region: cdktf.stringToTerraform(struct.region),
|
|
14
|
+
vpc_id: cdktf.stringToTerraform(struct.vpcId),
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export function distributedFirewallingIntraVpcVpcsToHclTerraform(struct) {
|
|
18
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
19
|
+
return struct;
|
|
20
|
+
}
|
|
21
|
+
if (cdktf.isComplexElement(struct)) {
|
|
22
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
23
|
+
}
|
|
24
|
+
const attrs = {
|
|
25
|
+
account_name: {
|
|
26
|
+
value: cdktf.stringToHclTerraform(struct.accountName),
|
|
27
|
+
isBlock: false,
|
|
28
|
+
type: "simple",
|
|
29
|
+
storageClassType: "string",
|
|
30
|
+
},
|
|
31
|
+
region: {
|
|
32
|
+
value: cdktf.stringToHclTerraform(struct.region),
|
|
33
|
+
isBlock: false,
|
|
34
|
+
type: "simple",
|
|
35
|
+
storageClassType: "string",
|
|
36
|
+
},
|
|
37
|
+
vpc_id: {
|
|
38
|
+
value: cdktf.stringToHclTerraform(struct.vpcId),
|
|
39
|
+
isBlock: false,
|
|
40
|
+
type: "simple",
|
|
41
|
+
storageClassType: "string",
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
// remove undefined attributes
|
|
45
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
46
|
+
}
|
|
47
|
+
export class DistributedFirewallingIntraVpcVpcsOutputReference extends cdktf.ComplexObject {
|
|
48
|
+
isEmptyObject = false;
|
|
49
|
+
resolvableValue;
|
|
50
|
+
/**
|
|
51
|
+
* @param terraformResource The parent resource
|
|
52
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
53
|
+
* @param complexObjectIndex the index of this item in the list
|
|
54
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
55
|
+
*/
|
|
56
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
57
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
58
|
+
}
|
|
59
|
+
get internalValue() {
|
|
60
|
+
if (this.resolvableValue) {
|
|
61
|
+
return this.resolvableValue;
|
|
62
|
+
}
|
|
63
|
+
let hasAnyValues = this.isEmptyObject;
|
|
64
|
+
const internalValueResult = {};
|
|
65
|
+
if (this._accountName !== undefined) {
|
|
66
|
+
hasAnyValues = true;
|
|
67
|
+
internalValueResult.accountName = this._accountName;
|
|
68
|
+
}
|
|
69
|
+
if (this._region !== undefined) {
|
|
70
|
+
hasAnyValues = true;
|
|
71
|
+
internalValueResult.region = this._region;
|
|
72
|
+
}
|
|
73
|
+
if (this._vpcId !== undefined) {
|
|
74
|
+
hasAnyValues = true;
|
|
75
|
+
internalValueResult.vpcId = this._vpcId;
|
|
76
|
+
}
|
|
77
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
78
|
+
}
|
|
79
|
+
set internalValue(value) {
|
|
80
|
+
if (value === undefined) {
|
|
81
|
+
this.isEmptyObject = false;
|
|
82
|
+
this.resolvableValue = undefined;
|
|
83
|
+
this._accountName = undefined;
|
|
84
|
+
this._region = undefined;
|
|
85
|
+
this._vpcId = undefined;
|
|
86
|
+
}
|
|
87
|
+
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
88
|
+
this.isEmptyObject = false;
|
|
89
|
+
this.resolvableValue = value;
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
93
|
+
this.resolvableValue = undefined;
|
|
94
|
+
this._accountName = value.accountName;
|
|
95
|
+
this._region = value.region;
|
|
96
|
+
this._vpcId = value.vpcId;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
// account_name - computed: false, optional: false, required: true
|
|
100
|
+
_accountName;
|
|
101
|
+
get accountName() {
|
|
102
|
+
return this.getStringAttribute('account_name');
|
|
103
|
+
}
|
|
104
|
+
set accountName(value) {
|
|
105
|
+
this._accountName = value;
|
|
106
|
+
}
|
|
107
|
+
// Temporarily expose input value. Use with caution.
|
|
108
|
+
get accountNameInput() {
|
|
109
|
+
return this._accountName;
|
|
110
|
+
}
|
|
111
|
+
// region - computed: false, optional: false, required: true
|
|
112
|
+
_region;
|
|
113
|
+
get region() {
|
|
114
|
+
return this.getStringAttribute('region');
|
|
115
|
+
}
|
|
116
|
+
set region(value) {
|
|
117
|
+
this._region = value;
|
|
118
|
+
}
|
|
119
|
+
// Temporarily expose input value. Use with caution.
|
|
120
|
+
get regionInput() {
|
|
121
|
+
return this._region;
|
|
122
|
+
}
|
|
123
|
+
// vpc_id - computed: false, optional: false, required: true
|
|
124
|
+
_vpcId;
|
|
125
|
+
get vpcId() {
|
|
126
|
+
return this.getStringAttribute('vpc_id');
|
|
127
|
+
}
|
|
128
|
+
set vpcId(value) {
|
|
129
|
+
this._vpcId = value;
|
|
130
|
+
}
|
|
131
|
+
// Temporarily expose input value. Use with caution.
|
|
132
|
+
get vpcIdInput() {
|
|
133
|
+
return this._vpcId;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
export class DistributedFirewallingIntraVpcVpcsList extends cdktf.ComplexList {
|
|
137
|
+
terraformResource;
|
|
138
|
+
terraformAttribute;
|
|
139
|
+
wrapsSet;
|
|
140
|
+
internalValue;
|
|
141
|
+
/**
|
|
142
|
+
* @param terraformResource The parent resource
|
|
143
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
144
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
145
|
+
*/
|
|
146
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
147
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
148
|
+
this.terraformResource = terraformResource;
|
|
149
|
+
this.terraformAttribute = terraformAttribute;
|
|
150
|
+
this.wrapsSet = wrapsSet;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* @param index the index of the item to return
|
|
154
|
+
*/
|
|
155
|
+
get(index) {
|
|
156
|
+
return new DistributedFirewallingIntraVpcVpcsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_intra_vpc aviatrix_distributed_firewalling_intra_vpc}
|
|
161
|
+
*/
|
|
162
|
+
export class DistributedFirewallingIntraVpc extends cdktf.TerraformResource {
|
|
163
|
+
// =================
|
|
164
|
+
// STATIC PROPERTIES
|
|
165
|
+
// =================
|
|
166
|
+
static tfResourceType = "aviatrix_distributed_firewalling_intra_vpc";
|
|
167
|
+
// ==============
|
|
168
|
+
// STATIC Methods
|
|
169
|
+
// ==============
|
|
170
|
+
/**
|
|
171
|
+
* Generates CDKTF code for importing a DistributedFirewallingIntraVpc resource upon running "cdktf plan <stack-name>"
|
|
172
|
+
* @param scope The scope in which to define this construct
|
|
173
|
+
* @param importToId The construct id used in the generated config for the DistributedFirewallingIntraVpc to import
|
|
174
|
+
* @param importFromId The id of the existing DistributedFirewallingIntraVpc that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_intra_vpc#import import section} in the documentation of this resource for the id to use
|
|
175
|
+
* @param provider? Optional instance of the provider where the DistributedFirewallingIntraVpc to import is found
|
|
176
|
+
*/
|
|
177
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
178
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_distributed_firewalling_intra_vpc", importId: importFromId, provider });
|
|
179
|
+
}
|
|
180
|
+
// ===========
|
|
181
|
+
// INITIALIZER
|
|
182
|
+
// ===========
|
|
183
|
+
/**
|
|
184
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_intra_vpc aviatrix_distributed_firewalling_intra_vpc} Resource
|
|
185
|
+
*
|
|
186
|
+
* @param scope The scope in which to define this construct
|
|
187
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
188
|
+
* @param options DistributedFirewallingIntraVpcConfig
|
|
189
|
+
*/
|
|
190
|
+
constructor(scope, id, config) {
|
|
191
|
+
super(scope, id, {
|
|
192
|
+
terraformResourceType: 'aviatrix_distributed_firewalling_intra_vpc',
|
|
193
|
+
terraformGeneratorMetadata: {
|
|
194
|
+
providerName: 'aviatrix',
|
|
195
|
+
providerVersion: '8.1.10',
|
|
196
|
+
providerVersionConstraint: '8.1.10'
|
|
197
|
+
},
|
|
198
|
+
provider: config.provider,
|
|
199
|
+
dependsOn: config.dependsOn,
|
|
200
|
+
count: config.count,
|
|
201
|
+
lifecycle: config.lifecycle,
|
|
202
|
+
provisioners: config.provisioners,
|
|
203
|
+
connection: config.connection,
|
|
204
|
+
forEach: config.forEach
|
|
205
|
+
});
|
|
206
|
+
this._id = config.id;
|
|
207
|
+
this._vpcs.internalValue = config.vpcs;
|
|
208
|
+
}
|
|
209
|
+
// ==========
|
|
210
|
+
// ATTRIBUTES
|
|
211
|
+
// ==========
|
|
212
|
+
// id - computed: true, optional: true, required: false
|
|
213
|
+
_id;
|
|
214
|
+
get id() {
|
|
215
|
+
return this.getStringAttribute('id');
|
|
216
|
+
}
|
|
217
|
+
set id(value) {
|
|
218
|
+
this._id = value;
|
|
219
|
+
}
|
|
220
|
+
resetId() {
|
|
221
|
+
this._id = undefined;
|
|
222
|
+
}
|
|
223
|
+
// Temporarily expose input value. Use with caution.
|
|
224
|
+
get idInput() {
|
|
225
|
+
return this._id;
|
|
226
|
+
}
|
|
227
|
+
// vpcs - computed: false, optional: false, required: true
|
|
228
|
+
_vpcs = new DistributedFirewallingIntraVpcVpcsList(this, "vpcs", false);
|
|
229
|
+
get vpcs() {
|
|
230
|
+
return this._vpcs;
|
|
231
|
+
}
|
|
232
|
+
putVpcs(value) {
|
|
233
|
+
this._vpcs.internalValue = value;
|
|
234
|
+
}
|
|
235
|
+
// Temporarily expose input value. Use with caution.
|
|
236
|
+
get vpcsInput() {
|
|
237
|
+
return this._vpcs.internalValue;
|
|
238
|
+
}
|
|
239
|
+
// =========
|
|
240
|
+
// SYNTHESIS
|
|
241
|
+
// =========
|
|
242
|
+
synthesizeAttributes() {
|
|
243
|
+
return {
|
|
244
|
+
id: cdktf.stringToTerraform(this._id),
|
|
245
|
+
vpcs: cdktf.listMapper(distributedFirewallingIntraVpcVpcsToTerraform, true)(this._vpcs.internalValue),
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
synthesizeHclAttributes() {
|
|
249
|
+
const attrs = {
|
|
250
|
+
id: {
|
|
251
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
252
|
+
isBlock: false,
|
|
253
|
+
type: "simple",
|
|
254
|
+
storageClassType: "string",
|
|
255
|
+
},
|
|
256
|
+
vpcs: {
|
|
257
|
+
value: cdktf.listMapperHcl(distributedFirewallingIntraVpcVpcsToHclTerraform, true)(this._vpcs.internalValue),
|
|
258
|
+
isBlock: true,
|
|
259
|
+
type: "list",
|
|
260
|
+
storageClassType: "DistributedFirewallingIntraVpcVpcsList",
|
|
261
|
+
},
|
|
262
|
+
};
|
|
263
|
+
// remove undefined attributes
|
|
264
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
265
|
+
}
|
|
266
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface DistributedFirewallingOriginCertEnforcementConfigConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Which origin cert enforcement level to set to for distributed firewalling.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_origin_cert_enforcement_config#enforcement_level DistributedFirewallingOriginCertEnforcementConfig#enforcement_level}
|
|
8
|
+
*/
|
|
9
|
+
readonly enforcementLevel?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_origin_cert_enforcement_config#id DistributedFirewallingOriginCertEnforcementConfig#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_origin_cert_enforcement_config aviatrix_distributed_firewalling_origin_cert_enforcement_config}
|
|
20
|
+
*/
|
|
21
|
+
export declare class DistributedFirewallingOriginCertEnforcementConfig extends cdktf.TerraformResource {
|
|
22
|
+
static readonly tfResourceType = "aviatrix_distributed_firewalling_origin_cert_enforcement_config";
|
|
23
|
+
/**
|
|
24
|
+
* Generates CDKTF code for importing a DistributedFirewallingOriginCertEnforcementConfig 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 DistributedFirewallingOriginCertEnforcementConfig to import
|
|
27
|
+
* @param importFromId The id of the existing DistributedFirewallingOriginCertEnforcementConfig that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/distributed_firewalling_origin_cert_enforcement_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 DistributedFirewallingOriginCertEnforcementConfig 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_origin_cert_enforcement_config aviatrix_distributed_firewalling_origin_cert_enforcement_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 DistributedFirewallingOriginCertEnforcementConfigConfig = {}
|
|
37
|
+
*/
|
|
38
|
+
constructor(scope: Construct, id: string, config?: DistributedFirewallingOriginCertEnforcementConfigConfig);
|
|
39
|
+
private _enforcementLevel?;
|
|
40
|
+
get enforcementLevel(): string;
|
|
41
|
+
set enforcementLevel(value: string);
|
|
42
|
+
resetEnforcementLevel(): void;
|
|
43
|
+
get enforcementLevelInput(): string;
|
|
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
|
+
}
|