@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,605 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_policy_group
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
export function dcfPolicyGroupAttachmentPointToTerraform(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
|
+
name: cdktf.stringToTerraform(struct.name),
|
|
13
|
+
priority: cdktf.numberToTerraform(struct.priority),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export function dcfPolicyGroupAttachmentPointToHclTerraform(struct) {
|
|
17
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
18
|
+
return struct;
|
|
19
|
+
}
|
|
20
|
+
if (cdktf.isComplexElement(struct)) {
|
|
21
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
22
|
+
}
|
|
23
|
+
const attrs = {
|
|
24
|
+
name: {
|
|
25
|
+
value: cdktf.stringToHclTerraform(struct.name),
|
|
26
|
+
isBlock: false,
|
|
27
|
+
type: "simple",
|
|
28
|
+
storageClassType: "string",
|
|
29
|
+
},
|
|
30
|
+
priority: {
|
|
31
|
+
value: cdktf.numberToHclTerraform(struct.priority),
|
|
32
|
+
isBlock: false,
|
|
33
|
+
type: "simple",
|
|
34
|
+
storageClassType: "number",
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
// remove undefined attributes
|
|
38
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
39
|
+
}
|
|
40
|
+
export class DcfPolicyGroupAttachmentPointOutputReference extends cdktf.ComplexObject {
|
|
41
|
+
isEmptyObject = false;
|
|
42
|
+
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, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
50
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
51
|
+
}
|
|
52
|
+
get internalValue() {
|
|
53
|
+
if (this.resolvableValue) {
|
|
54
|
+
return this.resolvableValue;
|
|
55
|
+
}
|
|
56
|
+
let hasAnyValues = this.isEmptyObject;
|
|
57
|
+
const internalValueResult = {};
|
|
58
|
+
if (this._name !== undefined) {
|
|
59
|
+
hasAnyValues = true;
|
|
60
|
+
internalValueResult.name = this._name;
|
|
61
|
+
}
|
|
62
|
+
if (this._priority !== undefined) {
|
|
63
|
+
hasAnyValues = true;
|
|
64
|
+
internalValueResult.priority = this._priority;
|
|
65
|
+
}
|
|
66
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
67
|
+
}
|
|
68
|
+
set internalValue(value) {
|
|
69
|
+
if (value === undefined) {
|
|
70
|
+
this.isEmptyObject = false;
|
|
71
|
+
this.resolvableValue = undefined;
|
|
72
|
+
this._name = undefined;
|
|
73
|
+
this._priority = undefined;
|
|
74
|
+
}
|
|
75
|
+
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
76
|
+
this.isEmptyObject = false;
|
|
77
|
+
this.resolvableValue = value;
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
80
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
81
|
+
this.resolvableValue = undefined;
|
|
82
|
+
this._name = value.name;
|
|
83
|
+
this._priority = value.priority;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
// name - computed: false, optional: false, required: true
|
|
87
|
+
_name;
|
|
88
|
+
get name() {
|
|
89
|
+
return this.getStringAttribute('name');
|
|
90
|
+
}
|
|
91
|
+
set name(value) {
|
|
92
|
+
this._name = value;
|
|
93
|
+
}
|
|
94
|
+
// Temporarily expose input value. Use with caution.
|
|
95
|
+
get nameInput() {
|
|
96
|
+
return this._name;
|
|
97
|
+
}
|
|
98
|
+
// priority - computed: false, optional: false, required: true
|
|
99
|
+
_priority;
|
|
100
|
+
get priority() {
|
|
101
|
+
return this.getNumberAttribute('priority');
|
|
102
|
+
}
|
|
103
|
+
set priority(value) {
|
|
104
|
+
this._priority = value;
|
|
105
|
+
}
|
|
106
|
+
// Temporarily expose input value. Use with caution.
|
|
107
|
+
get priorityInput() {
|
|
108
|
+
return this._priority;
|
|
109
|
+
}
|
|
110
|
+
// target_uuid - computed: true, optional: false, required: false
|
|
111
|
+
get targetUuid() {
|
|
112
|
+
return this.getStringAttribute('target_uuid');
|
|
113
|
+
}
|
|
114
|
+
// uuid - computed: true, optional: false, required: false
|
|
115
|
+
get uuid() {
|
|
116
|
+
return this.getStringAttribute('uuid');
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
export class DcfPolicyGroupAttachmentPointList extends cdktf.ComplexList {
|
|
120
|
+
terraformResource;
|
|
121
|
+
terraformAttribute;
|
|
122
|
+
wrapsSet;
|
|
123
|
+
internalValue;
|
|
124
|
+
/**
|
|
125
|
+
* @param terraformResource The parent resource
|
|
126
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
127
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
128
|
+
*/
|
|
129
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
130
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
131
|
+
this.terraformResource = terraformResource;
|
|
132
|
+
this.terraformAttribute = terraformAttribute;
|
|
133
|
+
this.wrapsSet = wrapsSet;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* @param index the index of the item to return
|
|
137
|
+
*/
|
|
138
|
+
get(index) {
|
|
139
|
+
return new DcfPolicyGroupAttachmentPointOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
export function dcfPolicyGroupPolicyGroupReferenceToTerraform(struct) {
|
|
143
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
144
|
+
return struct;
|
|
145
|
+
}
|
|
146
|
+
if (cdktf.isComplexElement(struct)) {
|
|
147
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
148
|
+
}
|
|
149
|
+
return {
|
|
150
|
+
priority: cdktf.numberToTerraform(struct.priority),
|
|
151
|
+
target_uuid: cdktf.stringToTerraform(struct.targetUuid),
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
export function dcfPolicyGroupPolicyGroupReferenceToHclTerraform(struct) {
|
|
155
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
156
|
+
return struct;
|
|
157
|
+
}
|
|
158
|
+
if (cdktf.isComplexElement(struct)) {
|
|
159
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
160
|
+
}
|
|
161
|
+
const attrs = {
|
|
162
|
+
priority: {
|
|
163
|
+
value: cdktf.numberToHclTerraform(struct.priority),
|
|
164
|
+
isBlock: false,
|
|
165
|
+
type: "simple",
|
|
166
|
+
storageClassType: "number",
|
|
167
|
+
},
|
|
168
|
+
target_uuid: {
|
|
169
|
+
value: cdktf.stringToHclTerraform(struct.targetUuid),
|
|
170
|
+
isBlock: false,
|
|
171
|
+
type: "simple",
|
|
172
|
+
storageClassType: "string",
|
|
173
|
+
},
|
|
174
|
+
};
|
|
175
|
+
// remove undefined attributes
|
|
176
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
177
|
+
}
|
|
178
|
+
export class DcfPolicyGroupPolicyGroupReferenceOutputReference extends cdktf.ComplexObject {
|
|
179
|
+
isEmptyObject = false;
|
|
180
|
+
resolvableValue;
|
|
181
|
+
/**
|
|
182
|
+
* @param terraformResource The parent resource
|
|
183
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
184
|
+
* @param complexObjectIndex the index of this item in the list
|
|
185
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
186
|
+
*/
|
|
187
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
188
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
189
|
+
}
|
|
190
|
+
get internalValue() {
|
|
191
|
+
if (this.resolvableValue) {
|
|
192
|
+
return this.resolvableValue;
|
|
193
|
+
}
|
|
194
|
+
let hasAnyValues = this.isEmptyObject;
|
|
195
|
+
const internalValueResult = {};
|
|
196
|
+
if (this._priority !== undefined) {
|
|
197
|
+
hasAnyValues = true;
|
|
198
|
+
internalValueResult.priority = this._priority;
|
|
199
|
+
}
|
|
200
|
+
if (this._targetUuid !== undefined) {
|
|
201
|
+
hasAnyValues = true;
|
|
202
|
+
internalValueResult.targetUuid = this._targetUuid;
|
|
203
|
+
}
|
|
204
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
205
|
+
}
|
|
206
|
+
set internalValue(value) {
|
|
207
|
+
if (value === undefined) {
|
|
208
|
+
this.isEmptyObject = false;
|
|
209
|
+
this.resolvableValue = undefined;
|
|
210
|
+
this._priority = undefined;
|
|
211
|
+
this._targetUuid = undefined;
|
|
212
|
+
}
|
|
213
|
+
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
214
|
+
this.isEmptyObject = false;
|
|
215
|
+
this.resolvableValue = value;
|
|
216
|
+
}
|
|
217
|
+
else {
|
|
218
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
219
|
+
this.resolvableValue = undefined;
|
|
220
|
+
this._priority = value.priority;
|
|
221
|
+
this._targetUuid = value.targetUuid;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
// priority - computed: false, optional: false, required: true
|
|
225
|
+
_priority;
|
|
226
|
+
get priority() {
|
|
227
|
+
return this.getNumberAttribute('priority');
|
|
228
|
+
}
|
|
229
|
+
set priority(value) {
|
|
230
|
+
this._priority = value;
|
|
231
|
+
}
|
|
232
|
+
// Temporarily expose input value. Use with caution.
|
|
233
|
+
get priorityInput() {
|
|
234
|
+
return this._priority;
|
|
235
|
+
}
|
|
236
|
+
// target_uuid - computed: false, optional: false, required: true
|
|
237
|
+
_targetUuid;
|
|
238
|
+
get targetUuid() {
|
|
239
|
+
return this.getStringAttribute('target_uuid');
|
|
240
|
+
}
|
|
241
|
+
set targetUuid(value) {
|
|
242
|
+
this._targetUuid = value;
|
|
243
|
+
}
|
|
244
|
+
// Temporarily expose input value. Use with caution.
|
|
245
|
+
get targetUuidInput() {
|
|
246
|
+
return this._targetUuid;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
export class DcfPolicyGroupPolicyGroupReferenceList extends cdktf.ComplexList {
|
|
250
|
+
terraformResource;
|
|
251
|
+
terraformAttribute;
|
|
252
|
+
wrapsSet;
|
|
253
|
+
internalValue;
|
|
254
|
+
/**
|
|
255
|
+
* @param terraformResource The parent resource
|
|
256
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
257
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
258
|
+
*/
|
|
259
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
260
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
261
|
+
this.terraformResource = terraformResource;
|
|
262
|
+
this.terraformAttribute = terraformAttribute;
|
|
263
|
+
this.wrapsSet = wrapsSet;
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* @param index the index of the item to return
|
|
267
|
+
*/
|
|
268
|
+
get(index) {
|
|
269
|
+
return new DcfPolicyGroupPolicyGroupReferenceOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
export function dcfPolicyGroupRulesetReferenceToTerraform(struct) {
|
|
273
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
274
|
+
return struct;
|
|
275
|
+
}
|
|
276
|
+
if (cdktf.isComplexElement(struct)) {
|
|
277
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
278
|
+
}
|
|
279
|
+
return {
|
|
280
|
+
priority: cdktf.numberToTerraform(struct.priority),
|
|
281
|
+
target_uuid: cdktf.stringToTerraform(struct.targetUuid),
|
|
282
|
+
};
|
|
283
|
+
}
|
|
284
|
+
export function dcfPolicyGroupRulesetReferenceToHclTerraform(struct) {
|
|
285
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
286
|
+
return struct;
|
|
287
|
+
}
|
|
288
|
+
if (cdktf.isComplexElement(struct)) {
|
|
289
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
290
|
+
}
|
|
291
|
+
const attrs = {
|
|
292
|
+
priority: {
|
|
293
|
+
value: cdktf.numberToHclTerraform(struct.priority),
|
|
294
|
+
isBlock: false,
|
|
295
|
+
type: "simple",
|
|
296
|
+
storageClassType: "number",
|
|
297
|
+
},
|
|
298
|
+
target_uuid: {
|
|
299
|
+
value: cdktf.stringToHclTerraform(struct.targetUuid),
|
|
300
|
+
isBlock: false,
|
|
301
|
+
type: "simple",
|
|
302
|
+
storageClassType: "string",
|
|
303
|
+
},
|
|
304
|
+
};
|
|
305
|
+
// remove undefined attributes
|
|
306
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
307
|
+
}
|
|
308
|
+
export class DcfPolicyGroupRulesetReferenceOutputReference extends cdktf.ComplexObject {
|
|
309
|
+
isEmptyObject = false;
|
|
310
|
+
resolvableValue;
|
|
311
|
+
/**
|
|
312
|
+
* @param terraformResource The parent resource
|
|
313
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
314
|
+
* @param complexObjectIndex the index of this item in the list
|
|
315
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
316
|
+
*/
|
|
317
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
318
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
319
|
+
}
|
|
320
|
+
get internalValue() {
|
|
321
|
+
if (this.resolvableValue) {
|
|
322
|
+
return this.resolvableValue;
|
|
323
|
+
}
|
|
324
|
+
let hasAnyValues = this.isEmptyObject;
|
|
325
|
+
const internalValueResult = {};
|
|
326
|
+
if (this._priority !== undefined) {
|
|
327
|
+
hasAnyValues = true;
|
|
328
|
+
internalValueResult.priority = this._priority;
|
|
329
|
+
}
|
|
330
|
+
if (this._targetUuid !== undefined) {
|
|
331
|
+
hasAnyValues = true;
|
|
332
|
+
internalValueResult.targetUuid = this._targetUuid;
|
|
333
|
+
}
|
|
334
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
335
|
+
}
|
|
336
|
+
set internalValue(value) {
|
|
337
|
+
if (value === undefined) {
|
|
338
|
+
this.isEmptyObject = false;
|
|
339
|
+
this.resolvableValue = undefined;
|
|
340
|
+
this._priority = undefined;
|
|
341
|
+
this._targetUuid = undefined;
|
|
342
|
+
}
|
|
343
|
+
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
344
|
+
this.isEmptyObject = false;
|
|
345
|
+
this.resolvableValue = value;
|
|
346
|
+
}
|
|
347
|
+
else {
|
|
348
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
349
|
+
this.resolvableValue = undefined;
|
|
350
|
+
this._priority = value.priority;
|
|
351
|
+
this._targetUuid = value.targetUuid;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
// priority - computed: false, optional: false, required: true
|
|
355
|
+
_priority;
|
|
356
|
+
get priority() {
|
|
357
|
+
return this.getNumberAttribute('priority');
|
|
358
|
+
}
|
|
359
|
+
set priority(value) {
|
|
360
|
+
this._priority = value;
|
|
361
|
+
}
|
|
362
|
+
// Temporarily expose input value. Use with caution.
|
|
363
|
+
get priorityInput() {
|
|
364
|
+
return this._priority;
|
|
365
|
+
}
|
|
366
|
+
// target_uuid - computed: false, optional: false, required: true
|
|
367
|
+
_targetUuid;
|
|
368
|
+
get targetUuid() {
|
|
369
|
+
return this.getStringAttribute('target_uuid');
|
|
370
|
+
}
|
|
371
|
+
set targetUuid(value) {
|
|
372
|
+
this._targetUuid = value;
|
|
373
|
+
}
|
|
374
|
+
// Temporarily expose input value. Use with caution.
|
|
375
|
+
get targetUuidInput() {
|
|
376
|
+
return this._targetUuid;
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
export class DcfPolicyGroupRulesetReferenceList extends cdktf.ComplexList {
|
|
380
|
+
terraformResource;
|
|
381
|
+
terraformAttribute;
|
|
382
|
+
wrapsSet;
|
|
383
|
+
internalValue;
|
|
384
|
+
/**
|
|
385
|
+
* @param terraformResource The parent resource
|
|
386
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
387
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
388
|
+
*/
|
|
389
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
390
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
391
|
+
this.terraformResource = terraformResource;
|
|
392
|
+
this.terraformAttribute = terraformAttribute;
|
|
393
|
+
this.wrapsSet = wrapsSet;
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* @param index the index of the item to return
|
|
397
|
+
*/
|
|
398
|
+
get(index) {
|
|
399
|
+
return new DcfPolicyGroupRulesetReferenceOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
/**
|
|
403
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_policy_group aviatrix_dcf_policy_group}
|
|
404
|
+
*/
|
|
405
|
+
export class DcfPolicyGroup extends cdktf.TerraformResource {
|
|
406
|
+
// =================
|
|
407
|
+
// STATIC PROPERTIES
|
|
408
|
+
// =================
|
|
409
|
+
static tfResourceType = "aviatrix_dcf_policy_group";
|
|
410
|
+
// ==============
|
|
411
|
+
// STATIC Methods
|
|
412
|
+
// ==============
|
|
413
|
+
/**
|
|
414
|
+
* Generates CDKTF code for importing a DcfPolicyGroup resource upon running "cdktf plan <stack-name>"
|
|
415
|
+
* @param scope The scope in which to define this construct
|
|
416
|
+
* @param importToId The construct id used in the generated config for the DcfPolicyGroup to import
|
|
417
|
+
* @param importFromId The id of the existing DcfPolicyGroup that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_policy_group#import import section} in the documentation of this resource for the id to use
|
|
418
|
+
* @param provider? Optional instance of the provider where the DcfPolicyGroup to import is found
|
|
419
|
+
*/
|
|
420
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
421
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_dcf_policy_group", importId: importFromId, provider });
|
|
422
|
+
}
|
|
423
|
+
// ===========
|
|
424
|
+
// INITIALIZER
|
|
425
|
+
// ===========
|
|
426
|
+
/**
|
|
427
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.2.0/docs/resources/dcf_policy_group aviatrix_dcf_policy_group} Resource
|
|
428
|
+
*
|
|
429
|
+
* @param scope The scope in which to define this construct
|
|
430
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
431
|
+
* @param options DcfPolicyGroupConfig
|
|
432
|
+
*/
|
|
433
|
+
constructor(scope, id, config) {
|
|
434
|
+
super(scope, id, {
|
|
435
|
+
terraformResourceType: 'aviatrix_dcf_policy_group',
|
|
436
|
+
terraformGeneratorMetadata: {
|
|
437
|
+
providerName: 'aviatrix',
|
|
438
|
+
providerVersion: '8.2.0',
|
|
439
|
+
providerVersionConstraint: '8.2.0'
|
|
440
|
+
},
|
|
441
|
+
provider: config.provider,
|
|
442
|
+
dependsOn: config.dependsOn,
|
|
443
|
+
count: config.count,
|
|
444
|
+
lifecycle: config.lifecycle,
|
|
445
|
+
provisioners: config.provisioners,
|
|
446
|
+
connection: config.connection,
|
|
447
|
+
forEach: config.forEach
|
|
448
|
+
});
|
|
449
|
+
this._attachTo = config.attachTo;
|
|
450
|
+
this._id = config.id;
|
|
451
|
+
this._name = config.name;
|
|
452
|
+
this._attachmentPoint.internalValue = config.attachmentPoint;
|
|
453
|
+
this._policyGroupReference.internalValue = config.policyGroupReference;
|
|
454
|
+
this._rulesetReference.internalValue = config.rulesetReference;
|
|
455
|
+
}
|
|
456
|
+
// ==========
|
|
457
|
+
// ATTRIBUTES
|
|
458
|
+
// ==========
|
|
459
|
+
// attach_to - computed: false, optional: true, required: false
|
|
460
|
+
_attachTo;
|
|
461
|
+
get attachTo() {
|
|
462
|
+
return this.getStringAttribute('attach_to');
|
|
463
|
+
}
|
|
464
|
+
set attachTo(value) {
|
|
465
|
+
this._attachTo = value;
|
|
466
|
+
}
|
|
467
|
+
resetAttachTo() {
|
|
468
|
+
this._attachTo = undefined;
|
|
469
|
+
}
|
|
470
|
+
// Temporarily expose input value. Use with caution.
|
|
471
|
+
get attachToInput() {
|
|
472
|
+
return this._attachTo;
|
|
473
|
+
}
|
|
474
|
+
// id - computed: true, optional: true, required: false
|
|
475
|
+
_id;
|
|
476
|
+
get id() {
|
|
477
|
+
return this.getStringAttribute('id');
|
|
478
|
+
}
|
|
479
|
+
set id(value) {
|
|
480
|
+
this._id = value;
|
|
481
|
+
}
|
|
482
|
+
resetId() {
|
|
483
|
+
this._id = undefined;
|
|
484
|
+
}
|
|
485
|
+
// Temporarily expose input value. Use with caution.
|
|
486
|
+
get idInput() {
|
|
487
|
+
return this._id;
|
|
488
|
+
}
|
|
489
|
+
// name - computed: false, optional: false, required: true
|
|
490
|
+
_name;
|
|
491
|
+
get name() {
|
|
492
|
+
return this.getStringAttribute('name');
|
|
493
|
+
}
|
|
494
|
+
set name(value) {
|
|
495
|
+
this._name = value;
|
|
496
|
+
}
|
|
497
|
+
// Temporarily expose input value. Use with caution.
|
|
498
|
+
get nameInput() {
|
|
499
|
+
return this._name;
|
|
500
|
+
}
|
|
501
|
+
// system_resource - computed: true, optional: false, required: false
|
|
502
|
+
get systemResource() {
|
|
503
|
+
return this.getBooleanAttribute('system_resource');
|
|
504
|
+
}
|
|
505
|
+
// attachment_point - computed: false, optional: true, required: false
|
|
506
|
+
_attachmentPoint = new DcfPolicyGroupAttachmentPointList(this, "attachment_point", true);
|
|
507
|
+
get attachmentPoint() {
|
|
508
|
+
return this._attachmentPoint;
|
|
509
|
+
}
|
|
510
|
+
putAttachmentPoint(value) {
|
|
511
|
+
this._attachmentPoint.internalValue = value;
|
|
512
|
+
}
|
|
513
|
+
resetAttachmentPoint() {
|
|
514
|
+
this._attachmentPoint.internalValue = undefined;
|
|
515
|
+
}
|
|
516
|
+
// Temporarily expose input value. Use with caution.
|
|
517
|
+
get attachmentPointInput() {
|
|
518
|
+
return this._attachmentPoint.internalValue;
|
|
519
|
+
}
|
|
520
|
+
// policy_group_reference - computed: false, optional: true, required: false
|
|
521
|
+
_policyGroupReference = new DcfPolicyGroupPolicyGroupReferenceList(this, "policy_group_reference", true);
|
|
522
|
+
get policyGroupReference() {
|
|
523
|
+
return this._policyGroupReference;
|
|
524
|
+
}
|
|
525
|
+
putPolicyGroupReference(value) {
|
|
526
|
+
this._policyGroupReference.internalValue = value;
|
|
527
|
+
}
|
|
528
|
+
resetPolicyGroupReference() {
|
|
529
|
+
this._policyGroupReference.internalValue = undefined;
|
|
530
|
+
}
|
|
531
|
+
// Temporarily expose input value. Use with caution.
|
|
532
|
+
get policyGroupReferenceInput() {
|
|
533
|
+
return this._policyGroupReference.internalValue;
|
|
534
|
+
}
|
|
535
|
+
// ruleset_reference - computed: false, optional: true, required: false
|
|
536
|
+
_rulesetReference = new DcfPolicyGroupRulesetReferenceList(this, "ruleset_reference", true);
|
|
537
|
+
get rulesetReference() {
|
|
538
|
+
return this._rulesetReference;
|
|
539
|
+
}
|
|
540
|
+
putRulesetReference(value) {
|
|
541
|
+
this._rulesetReference.internalValue = value;
|
|
542
|
+
}
|
|
543
|
+
resetRulesetReference() {
|
|
544
|
+
this._rulesetReference.internalValue = undefined;
|
|
545
|
+
}
|
|
546
|
+
// Temporarily expose input value. Use with caution.
|
|
547
|
+
get rulesetReferenceInput() {
|
|
548
|
+
return this._rulesetReference.internalValue;
|
|
549
|
+
}
|
|
550
|
+
// =========
|
|
551
|
+
// SYNTHESIS
|
|
552
|
+
// =========
|
|
553
|
+
synthesizeAttributes() {
|
|
554
|
+
return {
|
|
555
|
+
attach_to: cdktf.stringToTerraform(this._attachTo),
|
|
556
|
+
id: cdktf.stringToTerraform(this._id),
|
|
557
|
+
name: cdktf.stringToTerraform(this._name),
|
|
558
|
+
attachment_point: cdktf.listMapper(dcfPolicyGroupAttachmentPointToTerraform, true)(this._attachmentPoint.internalValue),
|
|
559
|
+
policy_group_reference: cdktf.listMapper(dcfPolicyGroupPolicyGroupReferenceToTerraform, true)(this._policyGroupReference.internalValue),
|
|
560
|
+
ruleset_reference: cdktf.listMapper(dcfPolicyGroupRulesetReferenceToTerraform, true)(this._rulesetReference.internalValue),
|
|
561
|
+
};
|
|
562
|
+
}
|
|
563
|
+
synthesizeHclAttributes() {
|
|
564
|
+
const attrs = {
|
|
565
|
+
attach_to: {
|
|
566
|
+
value: cdktf.stringToHclTerraform(this._attachTo),
|
|
567
|
+
isBlock: false,
|
|
568
|
+
type: "simple",
|
|
569
|
+
storageClassType: "string",
|
|
570
|
+
},
|
|
571
|
+
id: {
|
|
572
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
573
|
+
isBlock: false,
|
|
574
|
+
type: "simple",
|
|
575
|
+
storageClassType: "string",
|
|
576
|
+
},
|
|
577
|
+
name: {
|
|
578
|
+
value: cdktf.stringToHclTerraform(this._name),
|
|
579
|
+
isBlock: false,
|
|
580
|
+
type: "simple",
|
|
581
|
+
storageClassType: "string",
|
|
582
|
+
},
|
|
583
|
+
attachment_point: {
|
|
584
|
+
value: cdktf.listMapperHcl(dcfPolicyGroupAttachmentPointToHclTerraform, true)(this._attachmentPoint.internalValue),
|
|
585
|
+
isBlock: true,
|
|
586
|
+
type: "set",
|
|
587
|
+
storageClassType: "DcfPolicyGroupAttachmentPointList",
|
|
588
|
+
},
|
|
589
|
+
policy_group_reference: {
|
|
590
|
+
value: cdktf.listMapperHcl(dcfPolicyGroupPolicyGroupReferenceToHclTerraform, true)(this._policyGroupReference.internalValue),
|
|
591
|
+
isBlock: true,
|
|
592
|
+
type: "set",
|
|
593
|
+
storageClassType: "DcfPolicyGroupPolicyGroupReferenceList",
|
|
594
|
+
},
|
|
595
|
+
ruleset_reference: {
|
|
596
|
+
value: cdktf.listMapperHcl(dcfPolicyGroupRulesetReferenceToHclTerraform, true)(this._rulesetReference.internalValue),
|
|
597
|
+
isBlock: true,
|
|
598
|
+
type: "set",
|
|
599
|
+
storageClassType: "DcfPolicyGroupRulesetReferenceList",
|
|
600
|
+
},
|
|
601
|
+
};
|
|
602
|
+
// remove undefined attributes
|
|
603
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
604
|
+
}
|
|
605
|
+
}
|