@cdktf-providers/aviatrixsystems-aviatrix 8.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +355 -0
- package/README.md +19 -0
- package/dist/account/index.d.ts +762 -0
- package/dist/account/index.js +1600 -0
- package/dist/account-user/index.d.ts +74 -0
- package/dist/account-user/index.js +151 -0
- package/dist/aws-guard-duty/index.d.ts +75 -0
- package/dist/aws-guard-duty/index.js +154 -0
- package/dist/aws-peer/index.d.ts +126 -0
- package/dist/aws-peer/index.js +257 -0
- package/dist/aws-tgw/index.d.ts +129 -0
- package/dist/aws-tgw/index.js +267 -0
- package/dist/aws-tgw-connect/index.d.ts +86 -0
- package/dist/aws-tgw-connect/index.js +179 -0
- package/dist/aws-tgw-connect-peer/index.d.ts +126 -0
- package/dist/aws-tgw-connect-peer/index.js +258 -0
- package/dist/aws-tgw-directconnect/index.d.ts +105 -0
- package/dist/aws-tgw-directconnect/index.js +214 -0
- package/dist/aws-tgw-intra-domain-inspection/index.d.ts +74 -0
- package/dist/aws-tgw-intra-domain-inspection/index.js +151 -0
- package/dist/aws-tgw-network-domain/index.d.ts +97 -0
- package/dist/aws-tgw-network-domain/index.js +200 -0
- package/dist/aws-tgw-peering/index.d.ts +64 -0
- package/dist/aws-tgw-peering/index.js +131 -0
- package/dist/aws-tgw-peering-domain-conn/index.d.ts +84 -0
- package/dist/aws-tgw-peering-domain-conn/index.js +171 -0
- package/dist/aws-tgw-transit-gateway-attachment/index.d.ts +94 -0
- package/dist/aws-tgw-transit-gateway-attachment/index.js +191 -0
- package/dist/aws-tgw-vpc-attachment/index.d.ts +160 -0
- package/dist/aws-tgw-vpc-attachment/index.js +329 -0
- package/dist/aws-tgw-vpn-conn/index.d.ts +225 -0
- package/dist/aws-tgw-vpn-conn/index.js +485 -0
- package/dist/azure-peer/index.d.ts +106 -0
- package/dist/azure-peer/index.js +219 -0
- package/dist/azure-spoke-native-peering/index.d.ts +84 -0
- package/dist/azure-spoke-native-peering/index.js +171 -0
- package/dist/azure-vng-conn/index.d.ts +67 -0
- package/dist/azure-vng-conn/index.js +143 -0
- package/dist/centralized-transit-firenet/index.d.ts +64 -0
- package/dist/centralized-transit-firenet/index.js +131 -0
- package/dist/cloudwatch-agent/index.d.ts +87 -0
- package/dist/cloudwatch-agent/index.js +181 -0
- package/dist/controller-access-allow-list-config/index.d.ts +119 -0
- package/dist/controller-access-allow-list-config/index.js +267 -0
- package/dist/controller-bgp-communities-auto-cloud-config/index.d.ts +64 -0
- package/dist/controller-bgp-communities-auto-cloud-config/index.js +131 -0
- package/dist/controller-bgp-communities-global-config/index.d.ts +54 -0
- package/dist/controller-bgp-communities-global-config/index.js +111 -0
- package/dist/controller-bgp-max-as-limit-config/index.d.ts +54 -0
- package/dist/controller-bgp-max-as-limit-config/index.js +111 -0
- package/dist/controller-cert-domain-config/index.d.ts +55 -0
- package/dist/controller-cert-domain-config/index.js +114 -0
- package/dist/controller-config/index.d.ts +267 -0
- package/dist/controller-config/index.js +563 -0
- package/dist/controller-email-config/index.d.ts +99 -0
- package/dist/controller-email-config/index.js +210 -0
- package/dist/controller-email-exception-notification-config/index.d.ts +55 -0
- package/dist/controller-email-exception-notification-config/index.js +114 -0
- package/dist/controller-gateway-keepalive-config/index.d.ts +54 -0
- package/dist/controller-gateway-keepalive-config/index.js +111 -0
- package/dist/controller-private-mode-config/index.d.ts +65 -0
- package/dist/controller-private-mode-config/index.js +134 -0
- package/dist/controller-private-oob/index.d.ts +55 -0
- package/dist/controller-private-oob/index.js +114 -0
- package/dist/controller-security-group-management-config/index.d.ts +65 -0
- package/dist/controller-security-group-management-config/index.js +134 -0
- package/dist/copilot-association/index.d.ts +54 -0
- package/dist/copilot-association/index.js +111 -0
- package/dist/copilot-fault-tolerant-deployment/index.d.ts +212 -0
- package/dist/copilot-fault-tolerant-deployment/index.js +468 -0
- package/dist/copilot-security-group-management-config/index.d.ts +120 -0
- package/dist/copilot-security-group-management-config/index.js +249 -0
- package/dist/copilot-simple-deployment/index.d.ts +138 -0
- package/dist/copilot-simple-deployment/index.js +285 -0
- package/dist/data-aviatrix-account/index.d.ts +73 -0
- package/dist/data-aviatrix-account/index.js +187 -0
- package/dist/data-aviatrix-caller-identity/index.d.ts +45 -0
- package/dist/data-aviatrix-caller-identity/index.js +95 -0
- package/dist/data-aviatrix-controller-metadata/index.d.ts +48 -0
- package/dist/data-aviatrix-controller-metadata/index.js +107 -0
- package/dist/data-aviatrix-device-interfaces/index.d.ts +89 -0
- package/dist/data-aviatrix-device-interfaces/index.js +190 -0
- package/dist/data-aviatrix-edge-gateway-wan-interface-discovery/index.d.ts +65 -0
- package/dist/data-aviatrix-edge-gateway-wan-interface-discovery/index.js +135 -0
- package/dist/data-aviatrix-firenet/index.d.ts +59 -0
- package/dist/data-aviatrix-firenet/index.js +131 -0
- package/dist/data-aviatrix-firenet-firewall-manager/index.d.ts +184 -0
- package/dist/data-aviatrix-firenet-firewall-manager/index.js +381 -0
- package/dist/data-aviatrix-firenet-vendor-integration/index.d.ts +195 -0
- package/dist/data-aviatrix-firenet-vendor-integration/index.js +404 -0
- package/dist/data-aviatrix-firewall/index.d.ts +96 -0
- package/dist/data-aviatrix-firewall/index.js +218 -0
- package/dist/data-aviatrix-firewall-instance-images/index.d.ts +90 -0
- package/dist/data-aviatrix-firewall-instance-images/index.js +194 -0
- package/dist/data-aviatrix-gateway/index.d.ts +135 -0
- package/dist/data-aviatrix-gateway/index.js +432 -0
- package/dist/data-aviatrix-gateway-image/index.d.ts +65 -0
- package/dist/data-aviatrix-gateway-image/index.js +135 -0
- package/dist/data-aviatrix-network-domains/index.d.ts +89 -0
- package/dist/data-aviatrix-network-domains/index.js +210 -0
- package/dist/data-aviatrix-smart-groups/index.d.ts +161 -0
- package/dist/data-aviatrix-smart-groups/index.js +373 -0
- package/dist/data-aviatrix-spoke-gateway/index.d.ts +125 -0
- package/dist/data-aviatrix-spoke-gateway/index.js +392 -0
- package/dist/data-aviatrix-spoke-gateway-inspection-subnets/index.d.ts +55 -0
- package/dist/data-aviatrix-spoke-gateway-inspection-subnets/index.js +115 -0
- package/dist/data-aviatrix-spoke-gateways/index.d.ts +130 -0
- package/dist/data-aviatrix-spoke-gateways/index.js +374 -0
- package/dist/data-aviatrix-transit-gateway/index.d.ts +208 -0
- package/dist/data-aviatrix-transit-gateway/index.js +602 -0
- package/dist/data-aviatrix-transit-gateways/index.d.ts +202 -0
- package/dist/data-aviatrix-transit-gateways/index.js +540 -0
- package/dist/data-aviatrix-vpc/index.d.ts +187 -0
- package/dist/data-aviatrix-vpc/index.js +439 -0
- package/dist/data-aviatrix-vpc-tracker/index.d.ts +165 -0
- package/dist/data-aviatrix-vpc-tracker/index.js +369 -0
- package/dist/datadog-agent/index.d.ts +88 -0
- package/dist/datadog-agent/index.js +184 -0
- package/dist/device-interface-config/index.d.ts +74 -0
- package/dist/device-interface-config/index.js +151 -0
- package/dist/distributed-firewalling-config/index.d.ts +55 -0
- package/dist/distributed-firewalling-config/index.js +114 -0
- package/dist/distributed-firewalling-default-action-rule/index.d.ts +64 -0
- package/dist/distributed-firewalling-default-action-rule/index.js +131 -0
- package/dist/distributed-firewalling-intra-vpc/index.d.ts +117 -0
- package/dist/distributed-firewalling-intra-vpc/index.js +266 -0
- package/dist/distributed-firewalling-origin-cert-enforcement-config/index.d.ts +55 -0
- package/dist/distributed-firewalling-origin-cert-enforcement-config/index.js +114 -0
- package/dist/distributed-firewalling-policy-list/index.d.ts +291 -0
- package/dist/distributed-firewalling-policy-list/index.js +705 -0
- package/dist/distributed-firewalling-proxy-ca-config/index.d.ts +69 -0
- package/dist/distributed-firewalling-proxy-ca-config/index.js +151 -0
- package/dist/edge-csp/index.d.ts +693 -0
- package/dist/edge-csp/index.js +1561 -0
- package/dist/edge-csp-ha/index.d.ts +227 -0
- package/dist/edge-csp-ha/index.js +532 -0
- package/dist/edge-equinix/index.d.ts +651 -0
- package/dist/edge-equinix/index.js +1475 -0
- package/dist/edge-equinix-ha/index.d.ts +227 -0
- package/dist/edge-equinix-ha/index.js +532 -0
- package/dist/edge-gateway-selfmanaged/index.d.ts +607 -0
- package/dist/edge-gateway-selfmanaged/index.js +1378 -0
- package/dist/edge-gateway-selfmanaged-ha/index.d.ts +246 -0
- package/dist/edge-gateway-selfmanaged-ha/index.js +558 -0
- package/dist/edge-megaport/index.d.ts +704 -0
- package/dist/edge-megaport/index.js +1600 -0
- package/dist/edge-megaport-ha/index.d.ts +206 -0
- package/dist/edge-megaport-ha/index.js +479 -0
- package/dist/edge-neo/index.d.ts +669 -0
- package/dist/edge-neo/index.js +1509 -0
- package/dist/edge-neo-device-onboarding/index.d.ts +216 -0
- package/dist/edge-neo-device-onboarding/index.js +489 -0
- package/dist/edge-neo-ha/index.d.ts +227 -0
- package/dist/edge-neo-ha/index.js +532 -0
- package/dist/edge-platform/index.d.ts +691 -0
- package/dist/edge-platform/index.js +1555 -0
- package/dist/edge-platform-device-onboarding/index.d.ts +216 -0
- package/dist/edge-platform-device-onboarding/index.js +489 -0
- package/dist/edge-platform-ha/index.d.ts +227 -0
- package/dist/edge-platform-ha/index.js +532 -0
- package/dist/edge-proxy-profile/index.d.ts +98 -0
- package/dist/edge-proxy-profile/index.js +204 -0
- package/dist/edge-spoke/index.d.ts +434 -0
- package/dist/edge-spoke/index.js +953 -0
- package/dist/edge-spoke-external-device-conn/index.d.ts +371 -0
- package/dist/edge-spoke-external-device-conn/index.js +800 -0
- package/dist/edge-spoke-transit-attachment/index.d.ts +197 -0
- package/dist/edge-spoke-transit-attachment/index.js +411 -0
- package/dist/edge-vm-selfmanaged/index.d.ts +423 -0
- package/dist/edge-vm-selfmanaged/index.js +930 -0
- package/dist/edge-vm-selfmanaged-ha/index.d.ts +202 -0
- package/dist/edge-vm-selfmanaged-ha/index.js +456 -0
- package/dist/edge-zededa/index.d.ts +693 -0
- package/dist/edge-zededa/index.js +1561 -0
- package/dist/edge-zededa-ha/index.d.ts +227 -0
- package/dist/edge-zededa-ha/index.js +532 -0
- package/dist/filebeat-forwarder/index.d.ts +98 -0
- package/dist/filebeat-forwarder/index.js +204 -0
- package/dist/firenet/index.d.ts +120 -0
- package/dist/firenet/index.js +249 -0
- package/dist/firewall/index.d.ts +204 -0
- package/dist/firewall/index.js +467 -0
- package/dist/firewall-instance/index.d.ts +384 -0
- package/dist/firewall-instance/index.js +794 -0
- package/dist/firewall-instance-association/index.d.ts +141 -0
- package/dist/firewall-instance-association/index.js +292 -0
- package/dist/firewall-management-access/index.d.ts +64 -0
- package/dist/firewall-management-access/index.js +131 -0
- package/dist/firewall-policy/index.d.ts +138 -0
- package/dist/firewall-policy/index.js +283 -0
- package/dist/firewall-tag/index.d.ts +118 -0
- package/dist/firewall-tag/index.js +264 -0
- package/dist/fqdn/index.d.ts +237 -0
- package/dist/fqdn/index.js +542 -0
- package/dist/fqdn-global-config/index.d.ts +110 -0
- package/dist/fqdn-global-config/index.js +229 -0
- package/dist/fqdn-pass-through/index.d.ts +64 -0
- package/dist/fqdn-pass-through/index.js +131 -0
- package/dist/fqdn-tag-rule/index.d.ts +95 -0
- package/dist/fqdn-tag-rule/index.js +194 -0
- package/dist/gateway/index.d.ts +913 -0
- package/dist/gateway/index.js +1904 -0
- package/dist/gateway-certificate-config/index.d.ts +64 -0
- package/dist/gateway-certificate-config/index.js +131 -0
- package/dist/gateway-dnat/index.d.ts +319 -0
- package/dist/gateway-dnat/index.js +785 -0
- package/dist/gateway-snat/index.d.ts +342 -0
- package/dist/gateway-snat/index.js +834 -0
- package/dist/geo-vpn/index.d.ts +94 -0
- package/dist/geo-vpn/index.js +191 -0
- package/dist/global-vpc-excluded-instance/index.d.ts +75 -0
- package/dist/global-vpc-excluded-instance/index.js +155 -0
- package/dist/global-vpc-tagging-settings/index.d.ts +64 -0
- package/dist/global-vpc-tagging-settings/index.js +131 -0
- package/dist/index.d.ts +150 -0
- package/dist/index.js +151 -0
- package/dist/kubernetes-cluster/index.d.ts +232 -0
- package/dist/kubernetes-cluster/index.js +534 -0
- package/dist/lazy-index.d.ts +0 -0
- package/dist/lazy-index.js +151 -0
- package/dist/link-hierarchy/index.d.ts +161 -0
- package/dist/link-hierarchy/index.js +370 -0
- package/dist/netflow-agent/index.d.ts +98 -0
- package/dist/netflow-agent/index.js +204 -0
- package/dist/periodic-ping/index.d.ts +74 -0
- package/dist/periodic-ping/index.js +151 -0
- package/dist/private-mode-lb/index.d.ts +159 -0
- package/dist/private-mode-lb/index.js +347 -0
- package/dist/private-mode-multicloud-endpoint/index.d.ts +85 -0
- package/dist/private-mode-multicloud-endpoint/index.js +175 -0
- package/dist/provider/index.d.ts +121 -0
- package/dist/provider/index.js +273 -0
- package/dist/proxy-config/index.d.ts +75 -0
- package/dist/proxy-config/index.js +154 -0
- package/dist/qos-class/index.d.ts +65 -0
- package/dist/qos-class/index.js +135 -0
- package/dist/qos-policy-list/index.d.ts +118 -0
- package/dist/qos-policy-list/index.js +270 -0
- package/dist/rbac-group/index.d.ts +65 -0
- package/dist/rbac-group/index.js +134 -0
- package/dist/rbac-group-access-account-attachment/index.d.ts +64 -0
- package/dist/rbac-group-access-account-attachment/index.js +131 -0
- package/dist/rbac-group-permission-attachment/index.d.ts +64 -0
- package/dist/rbac-group-permission-attachment/index.js +131 -0
- package/dist/rbac-group-user-attachment/index.d.ts +64 -0
- package/dist/rbac-group-user-attachment/index.js +131 -0
- package/dist/remote-syslog/index.d.ts +154 -0
- package/dist/remote-syslog/index.js +323 -0
- package/dist/saml-endpoint/index.d.ts +152 -0
- package/dist/saml-endpoint/index.js +315 -0
- package/dist/segmentation-network-domain/index.d.ts +54 -0
- package/dist/segmentation-network-domain/index.js +111 -0
- package/dist/segmentation-network-domain-association/index.d.ts +75 -0
- package/dist/segmentation-network-domain-association/index.js +154 -0
- package/dist/segmentation-network-domain-connection-policy/index.d.ts +64 -0
- package/dist/segmentation-network-domain-connection-policy/index.js +131 -0
- package/dist/site2cloud/index.d.ts +642 -0
- package/dist/site2cloud/index.js +1335 -0
- package/dist/site2cloud-ca-cert-tag/index.d.ts +112 -0
- package/dist/site2cloud-ca-cert-tag/index.js +256 -0
- package/dist/sla-class/index.d.ts +85 -0
- package/dist/sla-class/index.js +175 -0
- package/dist/smart-group/index.d.ts +336 -0
- package/dist/smart-group/index.js +789 -0
- package/dist/splunk-logging/index.d.ts +100 -0
- package/dist/splunk-logging/index.js +210 -0
- package/dist/spoke-external-device-conn/index.d.ts +638 -0
- package/dist/spoke-external-device-conn/index.js +1361 -0
- package/dist/spoke-gateway/index.d.ts +903 -0
- package/dist/spoke-gateway/index.js +1885 -0
- package/dist/spoke-gateway-subnet-group/index.d.ts +75 -0
- package/dist/spoke-gateway-subnet-group/index.js +154 -0
- package/dist/spoke-ha-gateway/index.d.ts +172 -0
- package/dist/spoke-ha-gateway/index.js +374 -0
- package/dist/spoke-transit-attachment/index.d.ts +131 -0
- package/dist/spoke-transit-attachment/index.js +273 -0
- package/dist/sumologic-forwarder/index.d.ts +98 -0
- package/dist/sumologic-forwarder/index.js +204 -0
- package/dist/traffic-classifier/index.d.ts +239 -0
- package/dist/traffic-classifier/index.js +574 -0
- package/dist/trans-peer/index.d.ts +74 -0
- package/dist/trans-peer/index.js +151 -0
- package/dist/transit-external-device-conn/index.d.ts +694 -0
- package/dist/transit-external-device-conn/index.js +1479 -0
- package/dist/transit-firenet-policy/index.d.ts +64 -0
- package/dist/transit-firenet-policy/index.js +131 -0
- package/dist/transit-gateway/index.d.ts +1566 -0
- package/dist/transit-gateway/index.js +3442 -0
- package/dist/transit-gateway-peering/index.d.ts +240 -0
- package/dist/transit-gateway-peering/index.js +499 -0
- package/dist/tunnel/index.d.ts +78 -0
- package/dist/tunnel/index.js +166 -0
- package/dist/vgw-conn/index.d.ts +158 -0
- package/dist/vgw-conn/index.js +323 -0
- package/dist/vpc/index.d.ts +339 -0
- package/dist/vpc/index.js +758 -0
- package/dist/vpn-cert-download/index.d.ts +66 -0
- package/dist/vpn-cert-download/index.js +137 -0
- package/dist/vpn-profile/index.d.ts +169 -0
- package/dist/vpn-profile/index.js +383 -0
- package/dist/vpn-user/index.d.ts +129 -0
- package/dist/vpn-user/index.js +272 -0
- package/dist/vpn-user-accelerator/index.d.ts +54 -0
- package/dist/vpn-user-accelerator/index.js +111 -0
- package/dist/web-group/index.d.ts +144 -0
- package/dist/web-group/index.js +341 -0
- package/package.json +51 -0
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/rbac_group_user_attachment
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/rbac_group_user_attachment aviatrix_rbac_group_user_attachment}
|
|
6
|
+
*/
|
|
7
|
+
export class RbacGroupUserAttachment extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_rbac_group_user_attachment";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a RbacGroupUserAttachment 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 RbacGroupUserAttachment to import
|
|
19
|
+
* @param importFromId The id of the existing RbacGroupUserAttachment that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/rbac_group_user_attachment#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the RbacGroupUserAttachment to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_rbac_group_user_attachment", importId: importFromId, provider });
|
|
24
|
+
}
|
|
25
|
+
// ===========
|
|
26
|
+
// INITIALIZER
|
|
27
|
+
// ===========
|
|
28
|
+
/**
|
|
29
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/rbac_group_user_attachment aviatrix_rbac_group_user_attachment} 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 RbacGroupUserAttachmentConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_rbac_group_user_attachment',
|
|
38
|
+
terraformGeneratorMetadata: {
|
|
39
|
+
providerName: 'aviatrix',
|
|
40
|
+
providerVersion: '8.1.10',
|
|
41
|
+
providerVersionConstraint: '8.1.10'
|
|
42
|
+
},
|
|
43
|
+
provider: config.provider,
|
|
44
|
+
dependsOn: config.dependsOn,
|
|
45
|
+
count: config.count,
|
|
46
|
+
lifecycle: config.lifecycle,
|
|
47
|
+
provisioners: config.provisioners,
|
|
48
|
+
connection: config.connection,
|
|
49
|
+
forEach: config.forEach
|
|
50
|
+
});
|
|
51
|
+
this._groupName = config.groupName;
|
|
52
|
+
this._id = config.id;
|
|
53
|
+
this._userName = config.userName;
|
|
54
|
+
}
|
|
55
|
+
// ==========
|
|
56
|
+
// ATTRIBUTES
|
|
57
|
+
// ==========
|
|
58
|
+
// group_name - computed: false, optional: false, required: true
|
|
59
|
+
_groupName;
|
|
60
|
+
get groupName() {
|
|
61
|
+
return this.getStringAttribute('group_name');
|
|
62
|
+
}
|
|
63
|
+
set groupName(value) {
|
|
64
|
+
this._groupName = value;
|
|
65
|
+
}
|
|
66
|
+
// Temporarily expose input value. Use with caution.
|
|
67
|
+
get groupNameInput() {
|
|
68
|
+
return this._groupName;
|
|
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
|
+
// user_name - computed: false, optional: false, required: true
|
|
86
|
+
_userName;
|
|
87
|
+
get userName() {
|
|
88
|
+
return this.getStringAttribute('user_name');
|
|
89
|
+
}
|
|
90
|
+
set userName(value) {
|
|
91
|
+
this._userName = value;
|
|
92
|
+
}
|
|
93
|
+
// Temporarily expose input value. Use with caution.
|
|
94
|
+
get userNameInput() {
|
|
95
|
+
return this._userName;
|
|
96
|
+
}
|
|
97
|
+
// =========
|
|
98
|
+
// SYNTHESIS
|
|
99
|
+
// =========
|
|
100
|
+
synthesizeAttributes() {
|
|
101
|
+
return {
|
|
102
|
+
group_name: cdktf.stringToTerraform(this._groupName),
|
|
103
|
+
id: cdktf.stringToTerraform(this._id),
|
|
104
|
+
user_name: cdktf.stringToTerraform(this._userName),
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
synthesizeHclAttributes() {
|
|
108
|
+
const attrs = {
|
|
109
|
+
group_name: {
|
|
110
|
+
value: cdktf.stringToHclTerraform(this._groupName),
|
|
111
|
+
isBlock: false,
|
|
112
|
+
type: "simple",
|
|
113
|
+
storageClassType: "string",
|
|
114
|
+
},
|
|
115
|
+
id: {
|
|
116
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
117
|
+
isBlock: false,
|
|
118
|
+
type: "simple",
|
|
119
|
+
storageClassType: "string",
|
|
120
|
+
},
|
|
121
|
+
user_name: {
|
|
122
|
+
value: cdktf.stringToHclTerraform(this._userName),
|
|
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,154 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface RemoteSyslogConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* CA certificate file.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/remote_syslog#ca_certificate_file RemoteSyslog#ca_certificate_file}
|
|
8
|
+
*/
|
|
9
|
+
readonly caCertificateFile?: string;
|
|
10
|
+
/**
|
|
11
|
+
* List of excluded gateways.
|
|
12
|
+
*
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/remote_syslog#excluded_gateways RemoteSyslog#excluded_gateways}
|
|
14
|
+
*/
|
|
15
|
+
readonly excludedGateways?: string[];
|
|
16
|
+
/**
|
|
17
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/remote_syslog#id RemoteSyslog#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
|
+
* A total of 10 profiles from index 0 to 9 are supported for remote syslog, while index 9 is reserved for CoPilot.
|
|
25
|
+
*
|
|
26
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/remote_syslog#index RemoteSyslog#index}
|
|
27
|
+
*/
|
|
28
|
+
readonly index?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Profile name.
|
|
31
|
+
*
|
|
32
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/remote_syslog#name RemoteSyslog#name}
|
|
33
|
+
*/
|
|
34
|
+
readonly name?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Listening port of the remote syslog server.
|
|
37
|
+
*
|
|
38
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/remote_syslog#port RemoteSyslog#port}
|
|
39
|
+
*/
|
|
40
|
+
readonly port: number;
|
|
41
|
+
/**
|
|
42
|
+
* Private key of the controller that pairs with the public certificate.
|
|
43
|
+
*
|
|
44
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/remote_syslog#private_key_file RemoteSyslog#private_key_file}
|
|
45
|
+
*/
|
|
46
|
+
readonly privateKeyFile?: string;
|
|
47
|
+
/**
|
|
48
|
+
* TCP or UDP (TCP by default).
|
|
49
|
+
*
|
|
50
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/remote_syslog#protocol RemoteSyslog#protocol}
|
|
51
|
+
*/
|
|
52
|
+
readonly protocol?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Public certificate of the controller signed by the same CA.
|
|
55
|
+
*
|
|
56
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/remote_syslog#public_certificate_file RemoteSyslog#public_certificate_file}
|
|
57
|
+
*/
|
|
58
|
+
readonly publicCertificateFile?: string;
|
|
59
|
+
/**
|
|
60
|
+
* FQDN or IP address of the remote syslog server.
|
|
61
|
+
*
|
|
62
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/remote_syslog#server RemoteSyslog#server}
|
|
63
|
+
*/
|
|
64
|
+
readonly server: string;
|
|
65
|
+
/**
|
|
66
|
+
* Useful when forwarding to 3rd party servers like Datadog or Sumo
|
|
67
|
+
*
|
|
68
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/remote_syslog#template RemoteSyslog#template}
|
|
69
|
+
*/
|
|
70
|
+
readonly template?: string;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/remote_syslog aviatrix_remote_syslog}
|
|
74
|
+
*/
|
|
75
|
+
export declare class RemoteSyslog extends cdktf.TerraformResource {
|
|
76
|
+
static readonly tfResourceType = "aviatrix_remote_syslog";
|
|
77
|
+
/**
|
|
78
|
+
* Generates CDKTF code for importing a RemoteSyslog resource upon running "cdktf plan <stack-name>"
|
|
79
|
+
* @param scope The scope in which to define this construct
|
|
80
|
+
* @param importToId The construct id used in the generated config for the RemoteSyslog to import
|
|
81
|
+
* @param importFromId The id of the existing RemoteSyslog that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/remote_syslog#import import section} in the documentation of this resource for the id to use
|
|
82
|
+
* @param provider? Optional instance of the provider where the RemoteSyslog to import is found
|
|
83
|
+
*/
|
|
84
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
85
|
+
/**
|
|
86
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/remote_syslog aviatrix_remote_syslog} Resource
|
|
87
|
+
*
|
|
88
|
+
* @param scope The scope in which to define this construct
|
|
89
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
90
|
+
* @param options RemoteSyslogConfig
|
|
91
|
+
*/
|
|
92
|
+
constructor(scope: Construct, id: string, config: RemoteSyslogConfig);
|
|
93
|
+
private _caCertificateFile?;
|
|
94
|
+
get caCertificateFile(): string;
|
|
95
|
+
set caCertificateFile(value: string);
|
|
96
|
+
resetCaCertificateFile(): void;
|
|
97
|
+
get caCertificateFileInput(): string;
|
|
98
|
+
private _excludedGateways?;
|
|
99
|
+
get excludedGateways(): string[];
|
|
100
|
+
set excludedGateways(value: string[]);
|
|
101
|
+
resetExcludedGateways(): void;
|
|
102
|
+
get excludedGatewaysInput(): string[];
|
|
103
|
+
private _id?;
|
|
104
|
+
get id(): string;
|
|
105
|
+
set id(value: string);
|
|
106
|
+
resetId(): void;
|
|
107
|
+
get idInput(): string;
|
|
108
|
+
private _index?;
|
|
109
|
+
get index(): number;
|
|
110
|
+
set index(value: number);
|
|
111
|
+
resetIndex(): void;
|
|
112
|
+
get indexInput(): number;
|
|
113
|
+
private _name?;
|
|
114
|
+
get name(): string;
|
|
115
|
+
set name(value: string);
|
|
116
|
+
resetName(): void;
|
|
117
|
+
get nameInput(): string;
|
|
118
|
+
get notls(): any;
|
|
119
|
+
private _port?;
|
|
120
|
+
get port(): number;
|
|
121
|
+
set port(value: number);
|
|
122
|
+
get portInput(): number;
|
|
123
|
+
private _privateKeyFile?;
|
|
124
|
+
get privateKeyFile(): string;
|
|
125
|
+
set privateKeyFile(value: string);
|
|
126
|
+
resetPrivateKeyFile(): void;
|
|
127
|
+
get privateKeyFileInput(): string;
|
|
128
|
+
private _protocol?;
|
|
129
|
+
get protocol(): string;
|
|
130
|
+
set protocol(value: string);
|
|
131
|
+
resetProtocol(): void;
|
|
132
|
+
get protocolInput(): string;
|
|
133
|
+
private _publicCertificateFile?;
|
|
134
|
+
get publicCertificateFile(): string;
|
|
135
|
+
set publicCertificateFile(value: string);
|
|
136
|
+
resetPublicCertificateFile(): void;
|
|
137
|
+
get publicCertificateFileInput(): string;
|
|
138
|
+
private _server?;
|
|
139
|
+
get server(): string;
|
|
140
|
+
set server(value: string);
|
|
141
|
+
get serverInput(): string;
|
|
142
|
+
get status(): any;
|
|
143
|
+
private _template?;
|
|
144
|
+
get template(): string;
|
|
145
|
+
set template(value: string);
|
|
146
|
+
resetTemplate(): void;
|
|
147
|
+
get templateInput(): string;
|
|
148
|
+
protected synthesizeAttributes(): {
|
|
149
|
+
[name: string]: any;
|
|
150
|
+
};
|
|
151
|
+
protected synthesizeHclAttributes(): {
|
|
152
|
+
[name: string]: any;
|
|
153
|
+
};
|
|
154
|
+
}
|
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/remote_syslog
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/remote_syslog aviatrix_remote_syslog}
|
|
6
|
+
*/
|
|
7
|
+
export class RemoteSyslog extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_remote_syslog";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a RemoteSyslog 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 RemoteSyslog to import
|
|
19
|
+
* @param importFromId The id of the existing RemoteSyslog that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/remote_syslog#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the RemoteSyslog to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_remote_syslog", importId: importFromId, provider });
|
|
24
|
+
}
|
|
25
|
+
// ===========
|
|
26
|
+
// INITIALIZER
|
|
27
|
+
// ===========
|
|
28
|
+
/**
|
|
29
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/remote_syslog aviatrix_remote_syslog} 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 RemoteSyslogConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_remote_syslog',
|
|
38
|
+
terraformGeneratorMetadata: {
|
|
39
|
+
providerName: 'aviatrix',
|
|
40
|
+
providerVersion: '8.1.10',
|
|
41
|
+
providerVersionConstraint: '8.1.10'
|
|
42
|
+
},
|
|
43
|
+
provider: config.provider,
|
|
44
|
+
dependsOn: config.dependsOn,
|
|
45
|
+
count: config.count,
|
|
46
|
+
lifecycle: config.lifecycle,
|
|
47
|
+
provisioners: config.provisioners,
|
|
48
|
+
connection: config.connection,
|
|
49
|
+
forEach: config.forEach
|
|
50
|
+
});
|
|
51
|
+
this._caCertificateFile = config.caCertificateFile;
|
|
52
|
+
this._excludedGateways = config.excludedGateways;
|
|
53
|
+
this._id = config.id;
|
|
54
|
+
this._index = config.index;
|
|
55
|
+
this._name = config.name;
|
|
56
|
+
this._port = config.port;
|
|
57
|
+
this._privateKeyFile = config.privateKeyFile;
|
|
58
|
+
this._protocol = config.protocol;
|
|
59
|
+
this._publicCertificateFile = config.publicCertificateFile;
|
|
60
|
+
this._server = config.server;
|
|
61
|
+
this._template = config.template;
|
|
62
|
+
}
|
|
63
|
+
// ==========
|
|
64
|
+
// ATTRIBUTES
|
|
65
|
+
// ==========
|
|
66
|
+
// ca_certificate_file - computed: false, optional: true, required: false
|
|
67
|
+
_caCertificateFile;
|
|
68
|
+
get caCertificateFile() {
|
|
69
|
+
return this.getStringAttribute('ca_certificate_file');
|
|
70
|
+
}
|
|
71
|
+
set caCertificateFile(value) {
|
|
72
|
+
this._caCertificateFile = value;
|
|
73
|
+
}
|
|
74
|
+
resetCaCertificateFile() {
|
|
75
|
+
this._caCertificateFile = undefined;
|
|
76
|
+
}
|
|
77
|
+
// Temporarily expose input value. Use with caution.
|
|
78
|
+
get caCertificateFileInput() {
|
|
79
|
+
return this._caCertificateFile;
|
|
80
|
+
}
|
|
81
|
+
// excluded_gateways - computed: false, optional: true, required: false
|
|
82
|
+
_excludedGateways;
|
|
83
|
+
get excludedGateways() {
|
|
84
|
+
return cdktf.Fn.tolist(this.getListAttribute('excluded_gateways'));
|
|
85
|
+
}
|
|
86
|
+
set excludedGateways(value) {
|
|
87
|
+
this._excludedGateways = value;
|
|
88
|
+
}
|
|
89
|
+
resetExcludedGateways() {
|
|
90
|
+
this._excludedGateways = undefined;
|
|
91
|
+
}
|
|
92
|
+
// Temporarily expose input value. Use with caution.
|
|
93
|
+
get excludedGatewaysInput() {
|
|
94
|
+
return this._excludedGateways;
|
|
95
|
+
}
|
|
96
|
+
// id - computed: true, optional: true, required: false
|
|
97
|
+
_id;
|
|
98
|
+
get id() {
|
|
99
|
+
return this.getStringAttribute('id');
|
|
100
|
+
}
|
|
101
|
+
set id(value) {
|
|
102
|
+
this._id = value;
|
|
103
|
+
}
|
|
104
|
+
resetId() {
|
|
105
|
+
this._id = undefined;
|
|
106
|
+
}
|
|
107
|
+
// Temporarily expose input value. Use with caution.
|
|
108
|
+
get idInput() {
|
|
109
|
+
return this._id;
|
|
110
|
+
}
|
|
111
|
+
// index - computed: false, optional: true, required: false
|
|
112
|
+
_index;
|
|
113
|
+
get index() {
|
|
114
|
+
return this.getNumberAttribute('index');
|
|
115
|
+
}
|
|
116
|
+
set index(value) {
|
|
117
|
+
this._index = value;
|
|
118
|
+
}
|
|
119
|
+
resetIndex() {
|
|
120
|
+
this._index = undefined;
|
|
121
|
+
}
|
|
122
|
+
// Temporarily expose input value. Use with caution.
|
|
123
|
+
get indexInput() {
|
|
124
|
+
return this._index;
|
|
125
|
+
}
|
|
126
|
+
// name - computed: false, optional: true, required: false
|
|
127
|
+
_name;
|
|
128
|
+
get name() {
|
|
129
|
+
return this.getStringAttribute('name');
|
|
130
|
+
}
|
|
131
|
+
set name(value) {
|
|
132
|
+
this._name = value;
|
|
133
|
+
}
|
|
134
|
+
resetName() {
|
|
135
|
+
this._name = undefined;
|
|
136
|
+
}
|
|
137
|
+
// Temporarily expose input value. Use with caution.
|
|
138
|
+
get nameInput() {
|
|
139
|
+
return this._name;
|
|
140
|
+
}
|
|
141
|
+
// notls - computed: true, optional: false, required: false
|
|
142
|
+
get notls() {
|
|
143
|
+
return this.getBooleanAttribute('notls');
|
|
144
|
+
}
|
|
145
|
+
// port - computed: false, optional: false, required: true
|
|
146
|
+
_port;
|
|
147
|
+
get port() {
|
|
148
|
+
return this.getNumberAttribute('port');
|
|
149
|
+
}
|
|
150
|
+
set port(value) {
|
|
151
|
+
this._port = value;
|
|
152
|
+
}
|
|
153
|
+
// Temporarily expose input value. Use with caution.
|
|
154
|
+
get portInput() {
|
|
155
|
+
return this._port;
|
|
156
|
+
}
|
|
157
|
+
// private_key_file - computed: false, optional: true, required: false
|
|
158
|
+
_privateKeyFile;
|
|
159
|
+
get privateKeyFile() {
|
|
160
|
+
return this.getStringAttribute('private_key_file');
|
|
161
|
+
}
|
|
162
|
+
set privateKeyFile(value) {
|
|
163
|
+
this._privateKeyFile = value;
|
|
164
|
+
}
|
|
165
|
+
resetPrivateKeyFile() {
|
|
166
|
+
this._privateKeyFile = undefined;
|
|
167
|
+
}
|
|
168
|
+
// Temporarily expose input value. Use with caution.
|
|
169
|
+
get privateKeyFileInput() {
|
|
170
|
+
return this._privateKeyFile;
|
|
171
|
+
}
|
|
172
|
+
// protocol - computed: false, optional: true, required: false
|
|
173
|
+
_protocol;
|
|
174
|
+
get protocol() {
|
|
175
|
+
return this.getStringAttribute('protocol');
|
|
176
|
+
}
|
|
177
|
+
set protocol(value) {
|
|
178
|
+
this._protocol = value;
|
|
179
|
+
}
|
|
180
|
+
resetProtocol() {
|
|
181
|
+
this._protocol = undefined;
|
|
182
|
+
}
|
|
183
|
+
// Temporarily expose input value. Use with caution.
|
|
184
|
+
get protocolInput() {
|
|
185
|
+
return this._protocol;
|
|
186
|
+
}
|
|
187
|
+
// public_certificate_file - computed: false, optional: true, required: false
|
|
188
|
+
_publicCertificateFile;
|
|
189
|
+
get publicCertificateFile() {
|
|
190
|
+
return this.getStringAttribute('public_certificate_file');
|
|
191
|
+
}
|
|
192
|
+
set publicCertificateFile(value) {
|
|
193
|
+
this._publicCertificateFile = value;
|
|
194
|
+
}
|
|
195
|
+
resetPublicCertificateFile() {
|
|
196
|
+
this._publicCertificateFile = undefined;
|
|
197
|
+
}
|
|
198
|
+
// Temporarily expose input value. Use with caution.
|
|
199
|
+
get publicCertificateFileInput() {
|
|
200
|
+
return this._publicCertificateFile;
|
|
201
|
+
}
|
|
202
|
+
// server - computed: false, optional: false, required: true
|
|
203
|
+
_server;
|
|
204
|
+
get server() {
|
|
205
|
+
return this.getStringAttribute('server');
|
|
206
|
+
}
|
|
207
|
+
set server(value) {
|
|
208
|
+
this._server = value;
|
|
209
|
+
}
|
|
210
|
+
// Temporarily expose input value. Use with caution.
|
|
211
|
+
get serverInput() {
|
|
212
|
+
return this._server;
|
|
213
|
+
}
|
|
214
|
+
// status - computed: true, optional: false, required: false
|
|
215
|
+
get status() {
|
|
216
|
+
return this.getStringAttribute('status');
|
|
217
|
+
}
|
|
218
|
+
// template - computed: false, optional: true, required: false
|
|
219
|
+
_template;
|
|
220
|
+
get template() {
|
|
221
|
+
return this.getStringAttribute('template');
|
|
222
|
+
}
|
|
223
|
+
set template(value) {
|
|
224
|
+
this._template = value;
|
|
225
|
+
}
|
|
226
|
+
resetTemplate() {
|
|
227
|
+
this._template = undefined;
|
|
228
|
+
}
|
|
229
|
+
// Temporarily expose input value. Use with caution.
|
|
230
|
+
get templateInput() {
|
|
231
|
+
return this._template;
|
|
232
|
+
}
|
|
233
|
+
// =========
|
|
234
|
+
// SYNTHESIS
|
|
235
|
+
// =========
|
|
236
|
+
synthesizeAttributes() {
|
|
237
|
+
return {
|
|
238
|
+
ca_certificate_file: cdktf.stringToTerraform(this._caCertificateFile),
|
|
239
|
+
excluded_gateways: cdktf.listMapper(cdktf.stringToTerraform, false)(this._excludedGateways),
|
|
240
|
+
id: cdktf.stringToTerraform(this._id),
|
|
241
|
+
index: cdktf.numberToTerraform(this._index),
|
|
242
|
+
name: cdktf.stringToTerraform(this._name),
|
|
243
|
+
port: cdktf.numberToTerraform(this._port),
|
|
244
|
+
private_key_file: cdktf.stringToTerraform(this._privateKeyFile),
|
|
245
|
+
protocol: cdktf.stringToTerraform(this._protocol),
|
|
246
|
+
public_certificate_file: cdktf.stringToTerraform(this._publicCertificateFile),
|
|
247
|
+
server: cdktf.stringToTerraform(this._server),
|
|
248
|
+
template: cdktf.stringToTerraform(this._template),
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
synthesizeHclAttributes() {
|
|
252
|
+
const attrs = {
|
|
253
|
+
ca_certificate_file: {
|
|
254
|
+
value: cdktf.stringToHclTerraform(this._caCertificateFile),
|
|
255
|
+
isBlock: false,
|
|
256
|
+
type: "simple",
|
|
257
|
+
storageClassType: "string",
|
|
258
|
+
},
|
|
259
|
+
excluded_gateways: {
|
|
260
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._excludedGateways),
|
|
261
|
+
isBlock: false,
|
|
262
|
+
type: "set",
|
|
263
|
+
storageClassType: "stringList",
|
|
264
|
+
},
|
|
265
|
+
id: {
|
|
266
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
267
|
+
isBlock: false,
|
|
268
|
+
type: "simple",
|
|
269
|
+
storageClassType: "string",
|
|
270
|
+
},
|
|
271
|
+
index: {
|
|
272
|
+
value: cdktf.numberToHclTerraform(this._index),
|
|
273
|
+
isBlock: false,
|
|
274
|
+
type: "simple",
|
|
275
|
+
storageClassType: "number",
|
|
276
|
+
},
|
|
277
|
+
name: {
|
|
278
|
+
value: cdktf.stringToHclTerraform(this._name),
|
|
279
|
+
isBlock: false,
|
|
280
|
+
type: "simple",
|
|
281
|
+
storageClassType: "string",
|
|
282
|
+
},
|
|
283
|
+
port: {
|
|
284
|
+
value: cdktf.numberToHclTerraform(this._port),
|
|
285
|
+
isBlock: false,
|
|
286
|
+
type: "simple",
|
|
287
|
+
storageClassType: "number",
|
|
288
|
+
},
|
|
289
|
+
private_key_file: {
|
|
290
|
+
value: cdktf.stringToHclTerraform(this._privateKeyFile),
|
|
291
|
+
isBlock: false,
|
|
292
|
+
type: "simple",
|
|
293
|
+
storageClassType: "string",
|
|
294
|
+
},
|
|
295
|
+
protocol: {
|
|
296
|
+
value: cdktf.stringToHclTerraform(this._protocol),
|
|
297
|
+
isBlock: false,
|
|
298
|
+
type: "simple",
|
|
299
|
+
storageClassType: "string",
|
|
300
|
+
},
|
|
301
|
+
public_certificate_file: {
|
|
302
|
+
value: cdktf.stringToHclTerraform(this._publicCertificateFile),
|
|
303
|
+
isBlock: false,
|
|
304
|
+
type: "simple",
|
|
305
|
+
storageClassType: "string",
|
|
306
|
+
},
|
|
307
|
+
server: {
|
|
308
|
+
value: cdktf.stringToHclTerraform(this._server),
|
|
309
|
+
isBlock: false,
|
|
310
|
+
type: "simple",
|
|
311
|
+
storageClassType: "string",
|
|
312
|
+
},
|
|
313
|
+
template: {
|
|
314
|
+
value: cdktf.stringToHclTerraform(this._template),
|
|
315
|
+
isBlock: false,
|
|
316
|
+
type: "simple",
|
|
317
|
+
storageClassType: "string",
|
|
318
|
+
},
|
|
319
|
+
};
|
|
320
|
+
// remove undefined attributes
|
|
321
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
322
|
+
}
|
|
323
|
+
}
|