@cdktf-providers/aviatrixsystems-aviatrix 8.1.10 → 8.2.0
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/README.md +3 -3
- package/dist/account/index.d.ts +80 -69
- package/dist/account/index.js +29 -6
- package/dist/account-user/index.d.ts +7 -7
- package/dist/account-user/index.js +6 -6
- package/dist/aws-guard-duty/index.d.ts +7 -7
- package/dist/aws-guard-duty/index.js +6 -6
- package/dist/aws-peer/index.d.ts +12 -12
- package/dist/aws-peer/index.js +6 -6
- package/dist/aws-tgw/index.d.ts +12 -12
- package/dist/aws-tgw/index.js +6 -6
- package/dist/aws-tgw-connect/index.d.ts +8 -8
- package/dist/aws-tgw-connect/index.js +6 -6
- package/dist/aws-tgw-connect-peer/index.d.ts +12 -12
- package/dist/aws-tgw-connect-peer/index.js +6 -6
- package/dist/aws-tgw-directconnect/index.d.ts +10 -10
- package/dist/aws-tgw-directconnect/index.js +6 -6
- package/dist/aws-tgw-intra-domain-inspection/index.d.ts +7 -7
- package/dist/aws-tgw-intra-domain-inspection/index.js +6 -6
- package/dist/aws-tgw-network-domain/index.d.ts +9 -9
- package/dist/aws-tgw-network-domain/index.js +6 -6
- package/dist/aws-tgw-peering/index.d.ts +6 -6
- package/dist/aws-tgw-peering/index.js +6 -6
- package/dist/aws-tgw-peering-domain-conn/index.d.ts +8 -8
- package/dist/aws-tgw-peering-domain-conn/index.js +6 -6
- package/dist/aws-tgw-transit-gateway-attachment/index.d.ts +9 -9
- package/dist/aws-tgw-transit-gateway-attachment/index.js +6 -6
- package/dist/aws-tgw-vpc-attachment/index.d.ts +15 -15
- package/dist/aws-tgw-vpc-attachment/index.js +6 -6
- package/dist/aws-tgw-vpn-conn/index.d.ts +17 -17
- package/dist/aws-tgw-vpn-conn/index.js +6 -6
- package/dist/azure-peer/index.d.ts +10 -10
- package/dist/azure-peer/index.js +6 -6
- package/dist/azure-spoke-native-peering/index.d.ts +8 -8
- package/dist/azure-spoke-native-peering/index.js +6 -6
- package/dist/azure-vng-conn/index.d.ts +6 -6
- package/dist/azure-vng-conn/index.js +6 -6
- package/dist/centralized-transit-firenet/index.d.ts +6 -6
- package/dist/centralized-transit-firenet/index.js +6 -6
- package/dist/cloudwatch-agent/index.d.ts +8 -8
- package/dist/cloudwatch-agent/index.js +6 -6
- package/dist/controller-access-allow-list-config/index.d.ts +8 -8
- package/dist/controller-access-allow-list-config/index.js +6 -6
- package/dist/controller-bgp-communities-auto-cloud-config/index.d.ts +6 -6
- package/dist/controller-bgp-communities-auto-cloud-config/index.js +6 -6
- package/dist/controller-bgp-communities-global-config/index.d.ts +5 -5
- package/dist/controller-bgp-communities-global-config/index.js +6 -6
- package/dist/controller-bgp-max-as-limit-config/index.d.ts +5 -5
- package/dist/controller-bgp-max-as-limit-config/index.js +6 -6
- package/dist/controller-cert-domain-config/index.d.ts +5 -5
- package/dist/controller-cert-domain-config/index.js +6 -6
- package/dist/controller-config/index.d.ts +24 -24
- package/dist/controller-config/index.js +6 -6
- package/dist/controller-email-config/index.d.ts +9 -9
- package/dist/controller-email-config/index.js +6 -6
- package/dist/controller-email-exception-notification-config/index.d.ts +5 -5
- package/dist/controller-email-exception-notification-config/index.js +6 -6
- package/dist/controller-gateway-keepalive-config/index.d.ts +5 -5
- package/dist/controller-gateway-keepalive-config/index.js +6 -6
- package/dist/controller-private-mode-config/index.d.ts +6 -6
- package/dist/controller-private-mode-config/index.js +6 -6
- package/dist/controller-private-oob/index.d.ts +5 -5
- package/dist/controller-private-oob/index.js +6 -6
- package/dist/controller-security-group-management-config/index.d.ts +6 -6
- package/dist/controller-security-group-management-config/index.js +6 -6
- package/dist/copilot-association/index.d.ts +5 -5
- package/dist/copilot-association/index.js +6 -6
- package/dist/copilot-fault-tolerant-deployment/index.d.ts +17 -17
- package/dist/copilot-fault-tolerant-deployment/index.js +6 -6
- package/dist/copilot-security-group-management-config/index.d.ts +11 -11
- package/dist/copilot-security-group-management-config/index.js +6 -6
- package/dist/copilot-simple-deployment/index.d.ts +13 -13
- package/dist/copilot-simple-deployment/index.js +6 -6
- package/dist/data-aviatrix-account/index.d.ts +5 -5
- package/dist/data-aviatrix-account/index.js +6 -6
- package/dist/data-aviatrix-caller-identity/index.d.ts +4 -4
- package/dist/data-aviatrix-caller-identity/index.js +6 -6
- package/dist/data-aviatrix-controller-metadata/index.d.ts +4 -4
- package/dist/data-aviatrix-controller-metadata/index.js +6 -6
- package/dist/data-aviatrix-dcf-attachment-point/index.d.ts +55 -0
- package/dist/data-aviatrix-dcf-attachment-point/index.js +115 -0
- package/dist/data-aviatrix-dcf-log-profile/index.d.ts +57 -0
- package/dist/data-aviatrix-dcf-log-profile/index.js +123 -0
- package/dist/data-aviatrix-dcf-trustbundle/index.d.ts +57 -0
- package/dist/data-aviatrix-dcf-trustbundle/index.js +123 -0
- package/dist/data-aviatrix-device-interfaces/index.d.ts +5 -5
- package/dist/data-aviatrix-device-interfaces/index.js +6 -6
- package/dist/data-aviatrix-edge-gateway-wan-interface-discovery/index.d.ts +6 -6
- package/dist/data-aviatrix-edge-gateway-wan-interface-discovery/index.js +6 -6
- package/dist/data-aviatrix-firenet/index.d.ts +5 -5
- package/dist/data-aviatrix-firenet/index.js +6 -6
- package/dist/data-aviatrix-firenet-firewall-manager/index.d.ts +17 -17
- package/dist/data-aviatrix-firenet-firewall-manager/index.js +6 -6
- package/dist/data-aviatrix-firenet-vendor-integration/index.d.ts +18 -18
- package/dist/data-aviatrix-firenet-vendor-integration/index.js +6 -6
- package/dist/data-aviatrix-firewall/index.d.ts +5 -5
- package/dist/data-aviatrix-firewall/index.js +6 -6
- package/dist/data-aviatrix-firewall-instance-images/index.d.ts +5 -5
- package/dist/data-aviatrix-firewall-instance-images/index.js +6 -6
- package/dist/data-aviatrix-gateway/index.d.ts +5 -5
- package/dist/data-aviatrix-gateway/index.js +6 -6
- package/dist/data-aviatrix-gateway-image/index.d.ts +6 -6
- package/dist/data-aviatrix-gateway-image/index.js +6 -6
- package/dist/data-aviatrix-network-domains/index.d.ts +4 -4
- package/dist/data-aviatrix-network-domains/index.js +6 -6
- package/dist/data-aviatrix-smart-groups/index.d.ts +4 -4
- package/dist/data-aviatrix-smart-groups/index.js +6 -6
- package/dist/data-aviatrix-spoke-gateway/index.d.ts +5 -5
- package/dist/data-aviatrix-spoke-gateway/index.js +6 -6
- package/dist/data-aviatrix-spoke-gateway-inspection-subnets/index.d.ts +5 -5
- package/dist/data-aviatrix-spoke-gateway-inspection-subnets/index.js +6 -6
- package/dist/data-aviatrix-spoke-gateways/index.d.ts +4 -4
- package/dist/data-aviatrix-spoke-gateways/index.js +6 -6
- package/dist/data-aviatrix-transit-gateway/index.d.ts +5 -5
- package/dist/data-aviatrix-transit-gateway/index.js +6 -6
- package/dist/data-aviatrix-transit-gateways/index.d.ts +4 -4
- package/dist/data-aviatrix-transit-gateways/index.js +6 -6
- package/dist/data-aviatrix-vpc/index.d.ts +6 -6
- package/dist/data-aviatrix-vpc/index.js +6 -6
- package/dist/data-aviatrix-vpc-tracker/index.d.ts +8 -8
- package/dist/data-aviatrix-vpc-tracker/index.js +6 -6
- package/dist/data-aviatrix-web-group/index.d.ts +123 -0
- package/dist/data-aviatrix-web-group/index.js +265 -0
- package/dist/datadog-agent/index.d.ts +8 -8
- package/dist/datadog-agent/index.js +6 -6
- package/dist/dcf-ips-profile/index.d.ts +127 -0
- package/dist/dcf-ips-profile/index.js +275 -0
- package/dist/dcf-ips-profile-vpc/index.d.ts +64 -0
- package/dist/dcf-ips-profile-vpc/index.js +131 -0
- package/dist/dcf-ips-rule-feed/index.d.ts +67 -0
- package/dist/dcf-ips-rule-feed/index.js +143 -0
- package/dist/dcf-policy-group/index.d.ts +260 -0
- package/dist/dcf-policy-group/index.js +605 -0
- package/dist/dcf-ruleset/index.d.ts +325 -0
- package/dist/dcf-ruleset/index.js +783 -0
- package/dist/dcf-tls-profile/index.d.ts +86 -0
- package/dist/dcf-tls-profile/index.js +178 -0
- package/dist/dcf-trustbundle/index.d.ts +66 -0
- package/dist/dcf-trustbundle/index.js +139 -0
- package/dist/device-interface-config/index.d.ts +7 -7
- package/dist/device-interface-config/index.js +6 -6
- package/dist/distributed-firewalling-config/index.d.ts +5 -5
- package/dist/distributed-firewalling-config/index.js +6 -6
- package/dist/distributed-firewalling-default-action-rule/index.d.ts +17 -6
- package/dist/distributed-firewalling-default-action-rule/index.js +29 -6
- package/dist/distributed-firewalling-deployment-policy/index.d.ts +66 -0
- package/dist/distributed-firewalling-deployment-policy/index.js +137 -0
- package/dist/distributed-firewalling-intra-vpc/index.d.ts +8 -8
- package/dist/distributed-firewalling-intra-vpc/index.js +6 -6
- package/dist/distributed-firewalling-origin-cert-enforcement-config/index.d.ts +5 -5
- package/dist/distributed-firewalling-origin-cert-enforcement-config/index.js +6 -6
- package/dist/distributed-firewalling-policy-list/index.d.ts +32 -21
- package/dist/distributed-firewalling-policy-list/index.js +34 -6
- package/dist/distributed-firewalling-proxy-ca-config/index.d.ts +6 -6
- package/dist/distributed-firewalling-proxy-ca-config/index.js +6 -6
- package/dist/edge-csp/index.d.ts +58 -58
- package/dist/edge-csp/index.js +6 -6
- package/dist/edge-csp-ha/index.d.ts +18 -18
- package/dist/edge-csp-ha/index.js +6 -6
- package/dist/edge-equinix/index.d.ts +54 -54
- package/dist/edge-equinix/index.js +6 -6
- package/dist/edge-equinix-ha/index.d.ts +18 -18
- package/dist/edge-equinix-ha/index.js +6 -6
- package/dist/edge-gateway-selfmanaged/index.d.ts +94 -50
- package/dist/edge-gateway-selfmanaged/index.js +108 -6
- package/dist/edge-gateway-selfmanaged-ha/index.d.ts +42 -20
- package/dist/edge-gateway-selfmanaged-ha/index.js +62 -6
- package/dist/edge-megaport/index.d.ts +56 -56
- package/dist/edge-megaport/index.js +6 -6
- package/dist/edge-megaport-ha/index.d.ts +16 -16
- package/dist/edge-megaport-ha/index.js +6 -6
- package/dist/edge-neo/index.d.ts +56 -56
- package/dist/edge-neo/index.js +6 -6
- package/dist/edge-neo-device-onboarding/index.d.ts +17 -17
- package/dist/edge-neo-device-onboarding/index.js +6 -6
- package/dist/edge-neo-ha/index.d.ts +18 -18
- package/dist/edge-neo-ha/index.js +6 -6
- package/dist/edge-platform/index.d.ts +80 -58
- package/dist/edge-platform/index.js +62 -6
- package/dist/edge-platform-device-onboarding/index.d.ts +17 -17
- package/dist/edge-platform-device-onboarding/index.js +6 -6
- package/dist/edge-platform-ha/index.d.ts +40 -18
- package/dist/edge-platform-ha/index.js +62 -6
- package/dist/edge-proxy-profile/index.d.ts +9 -9
- package/dist/edge-proxy-profile/index.js +6 -6
- package/dist/edge-spoke/index.d.ts +37 -37
- package/dist/edge-spoke/index.js +6 -6
- package/dist/edge-spoke-external-device-conn/index.d.ts +66 -33
- package/dist/edge-spoke-external-device-conn/index.js +75 -6
- package/dist/edge-spoke-transit-attachment/index.d.ts +29 -18
- package/dist/edge-spoke-transit-attachment/index.js +29 -6
- package/dist/edge-vm-selfmanaged/index.d.ts +36 -36
- package/dist/edge-vm-selfmanaged/index.js +6 -6
- package/dist/edge-vm-selfmanaged-ha/index.d.ts +16 -16
- package/dist/edge-vm-selfmanaged-ha/index.js +6 -6
- package/dist/edge-zededa/index.d.ts +58 -58
- package/dist/edge-zededa/index.js +6 -6
- package/dist/edge-zededa-ha/index.d.ts +18 -18
- package/dist/edge-zededa-ha/index.js +6 -6
- package/dist/filebeat-forwarder/index.d.ts +9 -9
- package/dist/filebeat-forwarder/index.js +6 -6
- package/dist/firenet/index.d.ts +11 -11
- package/dist/firenet/index.js +6 -6
- package/dist/firewall/index.d.ts +16 -16
- package/dist/firewall/index.js +6 -6
- package/dist/firewall-instance/index.d.ts +34 -34
- package/dist/firewall-instance/index.js +6 -6
- package/dist/firewall-instance-association/index.d.ts +13 -13
- package/dist/firewall-instance-association/index.js +6 -6
- package/dist/firewall-management-access/index.d.ts +6 -6
- package/dist/firewall-management-access/index.js +6 -6
- package/dist/firewall-policy/index.d.ts +13 -13
- package/dist/firewall-policy/index.js +6 -6
- package/dist/firewall-tag/index.d.ts +8 -8
- package/dist/firewall-tag/index.js +6 -6
- package/dist/fqdn/index.d.ts +16 -16
- package/dist/fqdn/index.js +6 -6
- package/dist/fqdn-global-config/index.d.ts +10 -10
- package/dist/fqdn-global-config/index.js +6 -6
- package/dist/fqdn-pass-through/index.d.ts +6 -6
- package/dist/fqdn-pass-through/index.js +6 -6
- package/dist/fqdn-tag-rule/index.d.ts +9 -9
- package/dist/fqdn-tag-rule/index.js +6 -6
- package/dist/gateway/index.d.ts +82 -82
- package/dist/gateway/index.js +6 -6
- package/dist/gateway-certificate-config/index.d.ts +6 -6
- package/dist/gateway-certificate-config/index.js +6 -6
- package/dist/gateway-dnat/index.d.ts +18 -18
- package/dist/gateway-dnat/index.js +6 -6
- package/dist/gateway-snat/index.d.ts +20 -20
- package/dist/gateway-snat/index.js +6 -6
- package/dist/geo-vpn/index.d.ts +9 -9
- package/dist/geo-vpn/index.js +6 -6
- package/dist/global-vpc-excluded-instance/index.d.ts +7 -7
- package/dist/global-vpc-excluded-instance/index.js +6 -6
- package/dist/global-vpc-tagging-settings/index.d.ts +6 -6
- package/dist/global-vpc-tagging-settings/index.js +6 -6
- package/dist/index.d.ts +15 -0
- package/dist/index.js +15 -0
- package/dist/k8s-config/index.d.ts +66 -0
- package/dist/k8s-config/index.js +137 -0
- package/dist/kubernetes-cluster/index.d.ts +20 -20
- package/dist/kubernetes-cluster/index.js +6 -6
- package/dist/lazy-index.js +15 -0
- package/dist/link-hierarchy/index.d.ts +9 -9
- package/dist/link-hierarchy/index.js +6 -6
- package/dist/netflow-agent/index.d.ts +9 -9
- package/dist/netflow-agent/index.js +6 -6
- package/dist/periodic-ping/index.d.ts +7 -7
- package/dist/periodic-ping/index.js +6 -6
- package/dist/private-mode-lb/index.d.ts +12 -12
- package/dist/private-mode-lb/index.js +6 -6
- package/dist/private-mode-multicloud-endpoint/index.d.ts +8 -8
- package/dist/private-mode-multicloud-endpoint/index.js +6 -6
- package/dist/provider/index.d.ts +13 -13
- package/dist/provider/index.js +6 -6
- package/dist/proxy-config/index.d.ts +7 -7
- package/dist/proxy-config/index.js +6 -6
- package/dist/qos-class/index.d.ts +6 -6
- package/dist/qos-class/index.js +6 -6
- package/dist/qos-policy-list/index.d.ts +8 -8
- package/dist/qos-policy-list/index.js +6 -6
- package/dist/rbac-group/index.d.ts +6 -6
- package/dist/rbac-group/index.js +6 -6
- package/dist/rbac-group-access-account-attachment/index.d.ts +6 -6
- package/dist/rbac-group-access-account-attachment/index.js +6 -6
- package/dist/rbac-group-access-account-membership/index.d.ts +75 -0
- package/dist/rbac-group-access-account-membership/index.js +154 -0
- package/dist/rbac-group-permission-attachment/index.d.ts +6 -6
- package/dist/rbac-group-permission-attachment/index.js +6 -6
- package/dist/rbac-group-user-attachment/index.d.ts +6 -6
- package/dist/rbac-group-user-attachment/index.js +6 -6
- package/dist/rbac-group-user-membership/index.d.ts +75 -0
- package/dist/rbac-group-user-membership/index.js +154 -0
- package/dist/remote-syslog/index.d.ts +14 -14
- package/dist/remote-syslog/index.js +6 -6
- package/dist/saml-endpoint/index.d.ts +14 -14
- package/dist/saml-endpoint/index.js +6 -6
- package/dist/segmentation-network-domain/index.d.ts +5 -5
- package/dist/segmentation-network-domain/index.js +6 -6
- package/dist/segmentation-network-domain-association/index.d.ts +7 -7
- package/dist/segmentation-network-domain-association/index.js +6 -6
- package/dist/segmentation-network-domain-connection-policy/index.d.ts +6 -6
- package/dist/segmentation-network-domain-connection-policy/index.js +6 -6
- package/dist/site2cloud/index.d.ts +59 -59
- package/dist/site2cloud/index.js +6 -6
- package/dist/site2cloud-ca-cert-tag/index.d.ts +7 -7
- package/dist/site2cloud-ca-cert-tag/index.js +6 -6
- package/dist/sla-class/index.d.ts +8 -8
- package/dist/sla-class/index.js +6 -6
- package/dist/smart-group/index.d.ts +25 -25
- package/dist/smart-group/index.js +6 -6
- package/dist/splunk-logging/index.d.ts +9 -9
- package/dist/splunk-logging/index.js +6 -6
- package/dist/spoke-external-device-conn/index.d.ts +112 -57
- package/dist/spoke-external-device-conn/index.js +121 -6
- package/dist/spoke-gateway/index.d.ts +158 -81
- package/dist/spoke-gateway/index.js +167 -6
- package/dist/spoke-gateway-subnet-group/index.d.ts +7 -7
- package/dist/spoke-gateway-subnet-group/index.js +6 -6
- package/dist/spoke-ha-gateway/index.d.ts +26 -15
- package/dist/spoke-ha-gateway/index.js +29 -6
- package/dist/spoke-transit-attachment/index.d.ts +12 -12
- package/dist/spoke-transit-attachment/index.js +6 -6
- package/dist/sumologic-forwarder/index.d.ts +9 -9
- package/dist/sumologic-forwarder/index.js +6 -6
- package/dist/traffic-classifier/index.d.ts +16 -16
- package/dist/traffic-classifier/index.js +6 -6
- package/dist/trans-peer/index.d.ts +7 -7
- package/dist/trans-peer/index.js +6 -6
- package/dist/transit-external-device-conn/index.d.ts +117 -62
- package/dist/transit-external-device-conn/index.js +122 -7
- package/dist/transit-firenet-policy/index.d.ts +6 -6
- package/dist/transit-firenet-policy/index.js +6 -6
- package/dist/transit-gateway/index.d.ts +201 -124
- package/dist/transit-gateway/index.js +177 -6
- package/dist/transit-gateway-peering/index.d.ts +22 -22
- package/dist/transit-gateway-peering/index.js +7 -7
- package/dist/tunnel/index.d.ts +7 -7
- package/dist/tunnel/index.js +6 -6
- package/dist/vgw-conn/index.d.ts +15 -15
- package/dist/vgw-conn/index.js +6 -6
- package/dist/vpc/index.d.ts +46 -21
- package/dist/vpc/index.js +64 -6
- package/dist/vpn-cert-download/index.d.ts +6 -6
- package/dist/vpn-cert-download/index.js +6 -6
- package/dist/vpn-profile/index.d.ts +13 -13
- package/dist/vpn-profile/index.js +6 -6
- package/dist/vpn-user/index.d.ts +12 -12
- package/dist/vpn-user/index.js +6 -6
- package/dist/vpn-user-accelerator/index.d.ts +5 -5
- package/dist/vpn-user-accelerator/index.js +6 -6
- package/dist/web-group/index.d.ts +9 -9
- package/dist/web-group/index.js +6 -6
- package/package.json +2 -2
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
export function dcfIpsProfileRuleFeedsToTerraform(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
|
+
custom_feeds_ids: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.customFeedsIds),
|
|
13
|
+
external_feeds_ids: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.externalFeedsIds),
|
|
14
|
+
ignored_sids: cdktf.listMapper(cdktf.numberToTerraform, false)(struct.ignoredSids),
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export function dcfIpsProfileRuleFeedsToHclTerraform(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
|
+
custom_feeds_ids: {
|
|
26
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.customFeedsIds),
|
|
27
|
+
isBlock: false,
|
|
28
|
+
type: "set",
|
|
29
|
+
storageClassType: "stringList",
|
|
30
|
+
},
|
|
31
|
+
external_feeds_ids: {
|
|
32
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.externalFeedsIds),
|
|
33
|
+
isBlock: false,
|
|
34
|
+
type: "set",
|
|
35
|
+
storageClassType: "stringList",
|
|
36
|
+
},
|
|
37
|
+
ignored_sids: {
|
|
38
|
+
value: cdktf.listMapperHcl(cdktf.numberToHclTerraform, false)(struct.ignoredSids),
|
|
39
|
+
isBlock: false,
|
|
40
|
+
type: "set",
|
|
41
|
+
storageClassType: "numberList",
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
// remove undefined attributes
|
|
45
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
46
|
+
}
|
|
47
|
+
export class DcfIpsProfileRuleFeedsOutputReference extends cdktf.ComplexObject {
|
|
48
|
+
isEmptyObject = false;
|
|
49
|
+
/**
|
|
50
|
+
* @param terraformResource The parent resource
|
|
51
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
52
|
+
*/
|
|
53
|
+
constructor(terraformResource, terraformAttribute) {
|
|
54
|
+
super(terraformResource, terraformAttribute, false, 0);
|
|
55
|
+
}
|
|
56
|
+
get internalValue() {
|
|
57
|
+
let hasAnyValues = this.isEmptyObject;
|
|
58
|
+
const internalValueResult = {};
|
|
59
|
+
if (this._customFeedsIds !== undefined) {
|
|
60
|
+
hasAnyValues = true;
|
|
61
|
+
internalValueResult.customFeedsIds = this._customFeedsIds;
|
|
62
|
+
}
|
|
63
|
+
if (this._externalFeedsIds !== undefined) {
|
|
64
|
+
hasAnyValues = true;
|
|
65
|
+
internalValueResult.externalFeedsIds = this._externalFeedsIds;
|
|
66
|
+
}
|
|
67
|
+
if (this._ignoredSids !== undefined) {
|
|
68
|
+
hasAnyValues = true;
|
|
69
|
+
internalValueResult.ignoredSids = this._ignoredSids;
|
|
70
|
+
}
|
|
71
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
72
|
+
}
|
|
73
|
+
set internalValue(value) {
|
|
74
|
+
if (value === undefined) {
|
|
75
|
+
this.isEmptyObject = false;
|
|
76
|
+
this._customFeedsIds = undefined;
|
|
77
|
+
this._externalFeedsIds = undefined;
|
|
78
|
+
this._ignoredSids = undefined;
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
82
|
+
this._customFeedsIds = value.customFeedsIds;
|
|
83
|
+
this._externalFeedsIds = value.externalFeedsIds;
|
|
84
|
+
this._ignoredSids = value.ignoredSids;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
// custom_feeds_ids - computed: false, optional: false, required: true
|
|
88
|
+
_customFeedsIds;
|
|
89
|
+
get customFeedsIds() {
|
|
90
|
+
return cdktf.Fn.tolist(this.getListAttribute('custom_feeds_ids'));
|
|
91
|
+
}
|
|
92
|
+
set customFeedsIds(value) {
|
|
93
|
+
this._customFeedsIds = value;
|
|
94
|
+
}
|
|
95
|
+
// Temporarily expose input value. Use with caution.
|
|
96
|
+
get customFeedsIdsInput() {
|
|
97
|
+
return this._customFeedsIds;
|
|
98
|
+
}
|
|
99
|
+
// external_feeds_ids - computed: false, optional: false, required: true
|
|
100
|
+
_externalFeedsIds;
|
|
101
|
+
get externalFeedsIds() {
|
|
102
|
+
return cdktf.Fn.tolist(this.getListAttribute('external_feeds_ids'));
|
|
103
|
+
}
|
|
104
|
+
set externalFeedsIds(value) {
|
|
105
|
+
this._externalFeedsIds = value;
|
|
106
|
+
}
|
|
107
|
+
// Temporarily expose input value. Use with caution.
|
|
108
|
+
get externalFeedsIdsInput() {
|
|
109
|
+
return this._externalFeedsIds;
|
|
110
|
+
}
|
|
111
|
+
// ignored_sids - computed: false, optional: false, required: true
|
|
112
|
+
_ignoredSids;
|
|
113
|
+
get ignoredSids() {
|
|
114
|
+
return cdktf.Token.asNumberList(cdktf.Fn.tolist(this.getNumberListAttribute('ignored_sids')));
|
|
115
|
+
}
|
|
116
|
+
set ignoredSids(value) {
|
|
117
|
+
this._ignoredSids = value;
|
|
118
|
+
}
|
|
119
|
+
// Temporarily expose input value. Use with caution.
|
|
120
|
+
get ignoredSidsInput() {
|
|
121
|
+
return this._ignoredSids;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile aviatrix_dcf_ips_profile}
|
|
126
|
+
*/
|
|
127
|
+
export class DcfIpsProfile extends cdktf.TerraformResource {
|
|
128
|
+
// =================
|
|
129
|
+
// STATIC PROPERTIES
|
|
130
|
+
// =================
|
|
131
|
+
static tfResourceType = "aviatrix_dcf_ips_profile";
|
|
132
|
+
// ==============
|
|
133
|
+
// STATIC Methods
|
|
134
|
+
// ==============
|
|
135
|
+
/**
|
|
136
|
+
* Generates CDKTF code for importing a DcfIpsProfile resource upon running "cdktf plan <stack-name>"
|
|
137
|
+
* @param scope The scope in which to define this construct
|
|
138
|
+
* @param importToId The construct id used in the generated config for the DcfIpsProfile to import
|
|
139
|
+
* @param importFromId The id of the existing DcfIpsProfile that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile#import import section} in the documentation of this resource for the id to use
|
|
140
|
+
* @param provider? Optional instance of the provider where the DcfIpsProfile to import is found
|
|
141
|
+
*/
|
|
142
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
143
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_dcf_ips_profile", importId: importFromId, provider });
|
|
144
|
+
}
|
|
145
|
+
// ===========
|
|
146
|
+
// INITIALIZER
|
|
147
|
+
// ===========
|
|
148
|
+
/**
|
|
149
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile aviatrix_dcf_ips_profile} Resource
|
|
150
|
+
*
|
|
151
|
+
* @param scope The scope in which to define this construct
|
|
152
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
153
|
+
* @param options DcfIpsProfileConfig
|
|
154
|
+
*/
|
|
155
|
+
constructor(scope, id, config) {
|
|
156
|
+
super(scope, id, {
|
|
157
|
+
terraformResourceType: 'aviatrix_dcf_ips_profile',
|
|
158
|
+
terraformGeneratorMetadata: {
|
|
159
|
+
providerName: 'aviatrix',
|
|
160
|
+
providerVersion: '8.2.0',
|
|
161
|
+
providerVersionConstraint: '8.2.0'
|
|
162
|
+
},
|
|
163
|
+
provider: config.provider,
|
|
164
|
+
dependsOn: config.dependsOn,
|
|
165
|
+
count: config.count,
|
|
166
|
+
lifecycle: config.lifecycle,
|
|
167
|
+
provisioners: config.provisioners,
|
|
168
|
+
connection: config.connection,
|
|
169
|
+
forEach: config.forEach
|
|
170
|
+
});
|
|
171
|
+
this._id = config.id;
|
|
172
|
+
this._intrusionActions = config.intrusionActions;
|
|
173
|
+
this._profileName = config.profileName;
|
|
174
|
+
this._ruleFeeds.internalValue = config.ruleFeeds;
|
|
175
|
+
}
|
|
176
|
+
// ==========
|
|
177
|
+
// ATTRIBUTES
|
|
178
|
+
// ==========
|
|
179
|
+
// id - computed: true, optional: true, required: false
|
|
180
|
+
_id;
|
|
181
|
+
get id() {
|
|
182
|
+
return this.getStringAttribute('id');
|
|
183
|
+
}
|
|
184
|
+
set id(value) {
|
|
185
|
+
this._id = value;
|
|
186
|
+
}
|
|
187
|
+
resetId() {
|
|
188
|
+
this._id = undefined;
|
|
189
|
+
}
|
|
190
|
+
// Temporarily expose input value. Use with caution.
|
|
191
|
+
get idInput() {
|
|
192
|
+
return this._id;
|
|
193
|
+
}
|
|
194
|
+
// intrusion_actions - computed: false, optional: false, required: true
|
|
195
|
+
_intrusionActions;
|
|
196
|
+
get intrusionActions() {
|
|
197
|
+
return this.getStringMapAttribute('intrusion_actions');
|
|
198
|
+
}
|
|
199
|
+
set intrusionActions(value) {
|
|
200
|
+
this._intrusionActions = value;
|
|
201
|
+
}
|
|
202
|
+
// Temporarily expose input value. Use with caution.
|
|
203
|
+
get intrusionActionsInput() {
|
|
204
|
+
return this._intrusionActions;
|
|
205
|
+
}
|
|
206
|
+
// profile_name - computed: false, optional: false, required: true
|
|
207
|
+
_profileName;
|
|
208
|
+
get profileName() {
|
|
209
|
+
return this.getStringAttribute('profile_name');
|
|
210
|
+
}
|
|
211
|
+
set profileName(value) {
|
|
212
|
+
this._profileName = value;
|
|
213
|
+
}
|
|
214
|
+
// Temporarily expose input value. Use with caution.
|
|
215
|
+
get profileNameInput() {
|
|
216
|
+
return this._profileName;
|
|
217
|
+
}
|
|
218
|
+
// uuid - computed: true, optional: false, required: false
|
|
219
|
+
get uuid() {
|
|
220
|
+
return this.getStringAttribute('uuid');
|
|
221
|
+
}
|
|
222
|
+
// rule_feeds - computed: false, optional: false, required: true
|
|
223
|
+
_ruleFeeds = new DcfIpsProfileRuleFeedsOutputReference(this, "rule_feeds");
|
|
224
|
+
get ruleFeeds() {
|
|
225
|
+
return this._ruleFeeds;
|
|
226
|
+
}
|
|
227
|
+
putRuleFeeds(value) {
|
|
228
|
+
this._ruleFeeds.internalValue = value;
|
|
229
|
+
}
|
|
230
|
+
// Temporarily expose input value. Use with caution.
|
|
231
|
+
get ruleFeedsInput() {
|
|
232
|
+
return this._ruleFeeds.internalValue;
|
|
233
|
+
}
|
|
234
|
+
// =========
|
|
235
|
+
// SYNTHESIS
|
|
236
|
+
// =========
|
|
237
|
+
synthesizeAttributes() {
|
|
238
|
+
return {
|
|
239
|
+
id: cdktf.stringToTerraform(this._id),
|
|
240
|
+
intrusion_actions: cdktf.hashMapper(cdktf.stringToTerraform)(this._intrusionActions),
|
|
241
|
+
profile_name: cdktf.stringToTerraform(this._profileName),
|
|
242
|
+
rule_feeds: dcfIpsProfileRuleFeedsToTerraform(this._ruleFeeds.internalValue),
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
synthesizeHclAttributes() {
|
|
246
|
+
const attrs = {
|
|
247
|
+
id: {
|
|
248
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
249
|
+
isBlock: false,
|
|
250
|
+
type: "simple",
|
|
251
|
+
storageClassType: "string",
|
|
252
|
+
},
|
|
253
|
+
intrusion_actions: {
|
|
254
|
+
value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(this._intrusionActions),
|
|
255
|
+
isBlock: false,
|
|
256
|
+
type: "map",
|
|
257
|
+
storageClassType: "stringMap",
|
|
258
|
+
},
|
|
259
|
+
profile_name: {
|
|
260
|
+
value: cdktf.stringToHclTerraform(this._profileName),
|
|
261
|
+
isBlock: false,
|
|
262
|
+
type: "simple",
|
|
263
|
+
storageClassType: "string",
|
|
264
|
+
},
|
|
265
|
+
rule_feeds: {
|
|
266
|
+
value: dcfIpsProfileRuleFeedsToHclTerraform(this._ruleFeeds.internalValue),
|
|
267
|
+
isBlock: true,
|
|
268
|
+
type: "set",
|
|
269
|
+
storageClassType: "DcfIpsProfileRuleFeedsList",
|
|
270
|
+
},
|
|
271
|
+
};
|
|
272
|
+
// remove undefined attributes
|
|
273
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
274
|
+
}
|
|
275
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface DcfIpsProfileVpcConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* List of DCF IPS profile UUIDs to assign to the VPC.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile_vpc#dcf_ips_profiles DcfIpsProfileVpc#dcf_ips_profiles}
|
|
8
|
+
*/
|
|
9
|
+
readonly dcfIpsProfiles: string[];
|
|
10
|
+
/**
|
|
11
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile_vpc#id DcfIpsProfileVpc#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
|
+
* The VPC ID to assign DCF IPS profiles to.
|
|
19
|
+
*
|
|
20
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile_vpc#vpc_id DcfIpsProfileVpc#vpc_id}
|
|
21
|
+
*/
|
|
22
|
+
readonly vpcId: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile_vpc aviatrix_dcf_ips_profile_vpc}
|
|
26
|
+
*/
|
|
27
|
+
export declare class DcfIpsProfileVpc extends cdktf.TerraformResource {
|
|
28
|
+
static readonly tfResourceType = "aviatrix_dcf_ips_profile_vpc";
|
|
29
|
+
/**
|
|
30
|
+
* Generates CDKTF code for importing a DcfIpsProfileVpc 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 DcfIpsProfileVpc to import
|
|
33
|
+
* @param importFromId The id of the existing DcfIpsProfileVpc that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile_vpc#import import section} in the documentation of this resource for the id to use
|
|
34
|
+
* @param provider? Optional instance of the provider where the DcfIpsProfileVpc 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.2.0/docs/resources/dcf_ips_profile_vpc aviatrix_dcf_ips_profile_vpc} 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 DcfIpsProfileVpcConfig
|
|
43
|
+
*/
|
|
44
|
+
constructor(scope: Construct, id: string, config: DcfIpsProfileVpcConfig);
|
|
45
|
+
private _dcfIpsProfiles?;
|
|
46
|
+
get dcfIpsProfiles(): string[];
|
|
47
|
+
set dcfIpsProfiles(value: string[]);
|
|
48
|
+
get dcfIpsProfilesInput(): string[];
|
|
49
|
+
private _id?;
|
|
50
|
+
get id(): string;
|
|
51
|
+
set id(value: string);
|
|
52
|
+
resetId(): void;
|
|
53
|
+
get idInput(): string;
|
|
54
|
+
private _vpcId?;
|
|
55
|
+
get vpcId(): string;
|
|
56
|
+
set vpcId(value: string);
|
|
57
|
+
get vpcIdInput(): string;
|
|
58
|
+
protected synthesizeAttributes(): {
|
|
59
|
+
[name: string]: any;
|
|
60
|
+
};
|
|
61
|
+
protected synthesizeHclAttributes(): {
|
|
62
|
+
[name: string]: any;
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile_vpc
|
|
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.2.0/docs/resources/dcf_ips_profile_vpc aviatrix_dcf_ips_profile_vpc}
|
|
6
|
+
*/
|
|
7
|
+
export class DcfIpsProfileVpc extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_dcf_ips_profile_vpc";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a DcfIpsProfileVpc 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 DcfIpsProfileVpc to import
|
|
19
|
+
* @param importFromId The id of the existing DcfIpsProfileVpc that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile_vpc#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the DcfIpsProfileVpc to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_dcf_ips_profile_vpc", importId: importFromId, provider });
|
|
24
|
+
}
|
|
25
|
+
// ===========
|
|
26
|
+
// INITIALIZER
|
|
27
|
+
// ===========
|
|
28
|
+
/**
|
|
29
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_profile_vpc aviatrix_dcf_ips_profile_vpc} 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 DcfIpsProfileVpcConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_dcf_ips_profile_vpc',
|
|
38
|
+
terraformGeneratorMetadata: {
|
|
39
|
+
providerName: 'aviatrix',
|
|
40
|
+
providerVersion: '8.2.0',
|
|
41
|
+
providerVersionConstraint: '8.2.0'
|
|
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._dcfIpsProfiles = config.dcfIpsProfiles;
|
|
52
|
+
this._id = config.id;
|
|
53
|
+
this._vpcId = config.vpcId;
|
|
54
|
+
}
|
|
55
|
+
// ==========
|
|
56
|
+
// ATTRIBUTES
|
|
57
|
+
// ==========
|
|
58
|
+
// dcf_ips_profiles - computed: false, optional: false, required: true
|
|
59
|
+
_dcfIpsProfiles;
|
|
60
|
+
get dcfIpsProfiles() {
|
|
61
|
+
return cdktf.Fn.tolist(this.getListAttribute('dcf_ips_profiles'));
|
|
62
|
+
}
|
|
63
|
+
set dcfIpsProfiles(value) {
|
|
64
|
+
this._dcfIpsProfiles = value;
|
|
65
|
+
}
|
|
66
|
+
// Temporarily expose input value. Use with caution.
|
|
67
|
+
get dcfIpsProfilesInput() {
|
|
68
|
+
return this._dcfIpsProfiles;
|
|
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
|
+
// vpc_id - computed: false, optional: false, required: true
|
|
86
|
+
_vpcId;
|
|
87
|
+
get vpcId() {
|
|
88
|
+
return this.getStringAttribute('vpc_id');
|
|
89
|
+
}
|
|
90
|
+
set vpcId(value) {
|
|
91
|
+
this._vpcId = value;
|
|
92
|
+
}
|
|
93
|
+
// Temporarily expose input value. Use with caution.
|
|
94
|
+
get vpcIdInput() {
|
|
95
|
+
return this._vpcId;
|
|
96
|
+
}
|
|
97
|
+
// =========
|
|
98
|
+
// SYNTHESIS
|
|
99
|
+
// =========
|
|
100
|
+
synthesizeAttributes() {
|
|
101
|
+
return {
|
|
102
|
+
dcf_ips_profiles: cdktf.listMapper(cdktf.stringToTerraform, false)(this._dcfIpsProfiles),
|
|
103
|
+
id: cdktf.stringToTerraform(this._id),
|
|
104
|
+
vpc_id: cdktf.stringToTerraform(this._vpcId),
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
synthesizeHclAttributes() {
|
|
108
|
+
const attrs = {
|
|
109
|
+
dcf_ips_profiles: {
|
|
110
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._dcfIpsProfiles),
|
|
111
|
+
isBlock: false,
|
|
112
|
+
type: "set",
|
|
113
|
+
storageClassType: "stringList",
|
|
114
|
+
},
|
|
115
|
+
id: {
|
|
116
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
117
|
+
isBlock: false,
|
|
118
|
+
type: "simple",
|
|
119
|
+
storageClassType: "string",
|
|
120
|
+
},
|
|
121
|
+
vpc_id: {
|
|
122
|
+
value: cdktf.stringToHclTerraform(this._vpcId),
|
|
123
|
+
isBlock: false,
|
|
124
|
+
type: "simple",
|
|
125
|
+
storageClassType: "string",
|
|
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,67 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface DcfIpsRuleFeedConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Name for the rule feed.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_rule_feed#feed_name DcfIpsRuleFeed#feed_name}
|
|
8
|
+
*/
|
|
9
|
+
readonly feedName: string;
|
|
10
|
+
/**
|
|
11
|
+
* IPS rule feed file content containing Suricata rules.
|
|
12
|
+
*
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_rule_feed#file_content DcfIpsRuleFeed#file_content}
|
|
14
|
+
*/
|
|
15
|
+
readonly fileContent: string;
|
|
16
|
+
/**
|
|
17
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_rule_feed#id DcfIpsRuleFeed#id}
|
|
18
|
+
*
|
|
19
|
+
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
20
|
+
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
21
|
+
*/
|
|
22
|
+
readonly id?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_rule_feed aviatrix_dcf_ips_rule_feed}
|
|
26
|
+
*/
|
|
27
|
+
export declare class DcfIpsRuleFeed extends cdktf.TerraformResource {
|
|
28
|
+
static readonly tfResourceType = "aviatrix_dcf_ips_rule_feed";
|
|
29
|
+
/**
|
|
30
|
+
* Generates CDKTF code for importing a DcfIpsRuleFeed 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 DcfIpsRuleFeed to import
|
|
33
|
+
* @param importFromId The id of the existing DcfIpsRuleFeed that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_rule_feed#import import section} in the documentation of this resource for the id to use
|
|
34
|
+
* @param provider? Optional instance of the provider where the DcfIpsRuleFeed 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.2.0/docs/resources/dcf_ips_rule_feed aviatrix_dcf_ips_rule_feed} 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 DcfIpsRuleFeedConfig
|
|
43
|
+
*/
|
|
44
|
+
constructor(scope: Construct, id: string, config: DcfIpsRuleFeedConfig);
|
|
45
|
+
get contentHash(): any;
|
|
46
|
+
private _feedName?;
|
|
47
|
+
get feedName(): string;
|
|
48
|
+
set feedName(value: string);
|
|
49
|
+
get feedNameInput(): string;
|
|
50
|
+
private _fileContent?;
|
|
51
|
+
get fileContent(): string;
|
|
52
|
+
set fileContent(value: string);
|
|
53
|
+
get fileContentInput(): string;
|
|
54
|
+
private _id?;
|
|
55
|
+
get id(): string;
|
|
56
|
+
set id(value: string);
|
|
57
|
+
resetId(): void;
|
|
58
|
+
get idInput(): string;
|
|
59
|
+
get ipsRules(): any;
|
|
60
|
+
get uuid(): any;
|
|
61
|
+
protected synthesizeAttributes(): {
|
|
62
|
+
[name: string]: any;
|
|
63
|
+
};
|
|
64
|
+
protected synthesizeHclAttributes(): {
|
|
65
|
+
[name: string]: any;
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_rule_feed
|
|
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.2.0/docs/resources/dcf_ips_rule_feed aviatrix_dcf_ips_rule_feed}
|
|
6
|
+
*/
|
|
7
|
+
export class DcfIpsRuleFeed extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_dcf_ips_rule_feed";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a DcfIpsRuleFeed 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 DcfIpsRuleFeed to import
|
|
19
|
+
* @param importFromId The id of the existing DcfIpsRuleFeed that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_rule_feed#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the DcfIpsRuleFeed to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_dcf_ips_rule_feed", importId: importFromId, provider });
|
|
24
|
+
}
|
|
25
|
+
// ===========
|
|
26
|
+
// INITIALIZER
|
|
27
|
+
// ===========
|
|
28
|
+
/**
|
|
29
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_ips_rule_feed aviatrix_dcf_ips_rule_feed} 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 DcfIpsRuleFeedConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_dcf_ips_rule_feed',
|
|
38
|
+
terraformGeneratorMetadata: {
|
|
39
|
+
providerName: 'aviatrix',
|
|
40
|
+
providerVersion: '8.2.0',
|
|
41
|
+
providerVersionConstraint: '8.2.0'
|
|
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._feedName = config.feedName;
|
|
52
|
+
this._fileContent = config.fileContent;
|
|
53
|
+
this._id = config.id;
|
|
54
|
+
}
|
|
55
|
+
// ==========
|
|
56
|
+
// ATTRIBUTES
|
|
57
|
+
// ==========
|
|
58
|
+
// content_hash - computed: true, optional: false, required: false
|
|
59
|
+
get contentHash() {
|
|
60
|
+
return this.getStringAttribute('content_hash');
|
|
61
|
+
}
|
|
62
|
+
// feed_name - computed: false, optional: false, required: true
|
|
63
|
+
_feedName;
|
|
64
|
+
get feedName() {
|
|
65
|
+
return this.getStringAttribute('feed_name');
|
|
66
|
+
}
|
|
67
|
+
set feedName(value) {
|
|
68
|
+
this._feedName = value;
|
|
69
|
+
}
|
|
70
|
+
// Temporarily expose input value. Use with caution.
|
|
71
|
+
get feedNameInput() {
|
|
72
|
+
return this._feedName;
|
|
73
|
+
}
|
|
74
|
+
// file_content - computed: false, optional: false, required: true
|
|
75
|
+
_fileContent;
|
|
76
|
+
get fileContent() {
|
|
77
|
+
return this.getStringAttribute('file_content');
|
|
78
|
+
}
|
|
79
|
+
set fileContent(value) {
|
|
80
|
+
this._fileContent = value;
|
|
81
|
+
}
|
|
82
|
+
// Temporarily expose input value. Use with caution.
|
|
83
|
+
get fileContentInput() {
|
|
84
|
+
return this._fileContent;
|
|
85
|
+
}
|
|
86
|
+
// id - computed: true, optional: true, required: false
|
|
87
|
+
_id;
|
|
88
|
+
get id() {
|
|
89
|
+
return this.getStringAttribute('id');
|
|
90
|
+
}
|
|
91
|
+
set id(value) {
|
|
92
|
+
this._id = value;
|
|
93
|
+
}
|
|
94
|
+
resetId() {
|
|
95
|
+
this._id = undefined;
|
|
96
|
+
}
|
|
97
|
+
// Temporarily expose input value. Use with caution.
|
|
98
|
+
get idInput() {
|
|
99
|
+
return this._id;
|
|
100
|
+
}
|
|
101
|
+
// ips_rules - computed: true, optional: false, required: false
|
|
102
|
+
get ipsRules() {
|
|
103
|
+
return this.getListAttribute('ips_rules');
|
|
104
|
+
}
|
|
105
|
+
// uuid - computed: true, optional: false, required: false
|
|
106
|
+
get uuid() {
|
|
107
|
+
return this.getStringAttribute('uuid');
|
|
108
|
+
}
|
|
109
|
+
// =========
|
|
110
|
+
// SYNTHESIS
|
|
111
|
+
// =========
|
|
112
|
+
synthesizeAttributes() {
|
|
113
|
+
return {
|
|
114
|
+
feed_name: cdktf.stringToTerraform(this._feedName),
|
|
115
|
+
file_content: cdktf.stringToTerraform(this._fileContent),
|
|
116
|
+
id: cdktf.stringToTerraform(this._id),
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
synthesizeHclAttributes() {
|
|
120
|
+
const attrs = {
|
|
121
|
+
feed_name: {
|
|
122
|
+
value: cdktf.stringToHclTerraform(this._feedName),
|
|
123
|
+
isBlock: false,
|
|
124
|
+
type: "simple",
|
|
125
|
+
storageClassType: "string",
|
|
126
|
+
},
|
|
127
|
+
file_content: {
|
|
128
|
+
value: cdktf.stringToHclTerraform(this._fileContent),
|
|
129
|
+
isBlock: false,
|
|
130
|
+
type: "simple",
|
|
131
|
+
storageClassType: "string",
|
|
132
|
+
},
|
|
133
|
+
id: {
|
|
134
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
135
|
+
isBlock: false,
|
|
136
|
+
type: "simple",
|
|
137
|
+
storageClassType: "string",
|
|
138
|
+
},
|
|
139
|
+
};
|
|
140
|
+
// remove undefined attributes
|
|
141
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
142
|
+
}
|
|
143
|
+
}
|