@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,273 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/spoke_transit_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/spoke_transit_attachment aviatrix_spoke_transit_attachment}
|
|
6
|
+
*/
|
|
7
|
+
export class SpokeTransitAttachment extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_spoke_transit_attachment";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a SpokeTransitAttachment 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 SpokeTransitAttachment to import
|
|
19
|
+
* @param importFromId The id of the existing SpokeTransitAttachment that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/spoke_transit_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 SpokeTransitAttachment to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_spoke_transit_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/spoke_transit_attachment aviatrix_spoke_transit_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 SpokeTransitAttachmentConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_spoke_transit_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._enableMaxPerformance = config.enableMaxPerformance;
|
|
52
|
+
this._id = config.id;
|
|
53
|
+
this._routeTables = config.routeTables;
|
|
54
|
+
this._spokeGwName = config.spokeGwName;
|
|
55
|
+
this._spokePrependAsPath = config.spokePrependAsPath;
|
|
56
|
+
this._transitGatewayLogicalIfnames = config.transitGatewayLogicalIfnames;
|
|
57
|
+
this._transitGwName = config.transitGwName;
|
|
58
|
+
this._transitPrependAsPath = config.transitPrependAsPath;
|
|
59
|
+
this._tunnelCount = config.tunnelCount;
|
|
60
|
+
}
|
|
61
|
+
// ==========
|
|
62
|
+
// ATTRIBUTES
|
|
63
|
+
// ==========
|
|
64
|
+
// enable_max_performance - computed: false, optional: true, required: false
|
|
65
|
+
_enableMaxPerformance;
|
|
66
|
+
get enableMaxPerformance() {
|
|
67
|
+
return this.getBooleanAttribute('enable_max_performance');
|
|
68
|
+
}
|
|
69
|
+
set enableMaxPerformance(value) {
|
|
70
|
+
this._enableMaxPerformance = value;
|
|
71
|
+
}
|
|
72
|
+
resetEnableMaxPerformance() {
|
|
73
|
+
this._enableMaxPerformance = undefined;
|
|
74
|
+
}
|
|
75
|
+
// Temporarily expose input value. Use with caution.
|
|
76
|
+
get enableMaxPerformanceInput() {
|
|
77
|
+
return this._enableMaxPerformance;
|
|
78
|
+
}
|
|
79
|
+
// id - computed: true, optional: true, required: false
|
|
80
|
+
_id;
|
|
81
|
+
get id() {
|
|
82
|
+
return this.getStringAttribute('id');
|
|
83
|
+
}
|
|
84
|
+
set id(value) {
|
|
85
|
+
this._id = value;
|
|
86
|
+
}
|
|
87
|
+
resetId() {
|
|
88
|
+
this._id = undefined;
|
|
89
|
+
}
|
|
90
|
+
// Temporarily expose input value. Use with caution.
|
|
91
|
+
get idInput() {
|
|
92
|
+
return this._id;
|
|
93
|
+
}
|
|
94
|
+
// route_tables - computed: false, optional: true, required: false
|
|
95
|
+
_routeTables;
|
|
96
|
+
get routeTables() {
|
|
97
|
+
return cdktf.Fn.tolist(this.getListAttribute('route_tables'));
|
|
98
|
+
}
|
|
99
|
+
set routeTables(value) {
|
|
100
|
+
this._routeTables = value;
|
|
101
|
+
}
|
|
102
|
+
resetRouteTables() {
|
|
103
|
+
this._routeTables = undefined;
|
|
104
|
+
}
|
|
105
|
+
// Temporarily expose input value. Use with caution.
|
|
106
|
+
get routeTablesInput() {
|
|
107
|
+
return this._routeTables;
|
|
108
|
+
}
|
|
109
|
+
// spoke_bgp_enabled - computed: true, optional: false, required: false
|
|
110
|
+
get spokeBgpEnabled() {
|
|
111
|
+
return this.getBooleanAttribute('spoke_bgp_enabled');
|
|
112
|
+
}
|
|
113
|
+
// spoke_gw_name - computed: false, optional: false, required: true
|
|
114
|
+
_spokeGwName;
|
|
115
|
+
get spokeGwName() {
|
|
116
|
+
return this.getStringAttribute('spoke_gw_name');
|
|
117
|
+
}
|
|
118
|
+
set spokeGwName(value) {
|
|
119
|
+
this._spokeGwName = value;
|
|
120
|
+
}
|
|
121
|
+
// Temporarily expose input value. Use with caution.
|
|
122
|
+
get spokeGwNameInput() {
|
|
123
|
+
return this._spokeGwName;
|
|
124
|
+
}
|
|
125
|
+
// spoke_prepend_as_path - computed: false, optional: true, required: false
|
|
126
|
+
_spokePrependAsPath;
|
|
127
|
+
get spokePrependAsPath() {
|
|
128
|
+
return this.getListAttribute('spoke_prepend_as_path');
|
|
129
|
+
}
|
|
130
|
+
set spokePrependAsPath(value) {
|
|
131
|
+
this._spokePrependAsPath = value;
|
|
132
|
+
}
|
|
133
|
+
resetSpokePrependAsPath() {
|
|
134
|
+
this._spokePrependAsPath = undefined;
|
|
135
|
+
}
|
|
136
|
+
// Temporarily expose input value. Use with caution.
|
|
137
|
+
get spokePrependAsPathInput() {
|
|
138
|
+
return this._spokePrependAsPath;
|
|
139
|
+
}
|
|
140
|
+
// transit_gateway_logical_ifnames - computed: false, optional: true, required: false
|
|
141
|
+
_transitGatewayLogicalIfnames;
|
|
142
|
+
get transitGatewayLogicalIfnames() {
|
|
143
|
+
return this.getListAttribute('transit_gateway_logical_ifnames');
|
|
144
|
+
}
|
|
145
|
+
set transitGatewayLogicalIfnames(value) {
|
|
146
|
+
this._transitGatewayLogicalIfnames = value;
|
|
147
|
+
}
|
|
148
|
+
resetTransitGatewayLogicalIfnames() {
|
|
149
|
+
this._transitGatewayLogicalIfnames = undefined;
|
|
150
|
+
}
|
|
151
|
+
// Temporarily expose input value. Use with caution.
|
|
152
|
+
get transitGatewayLogicalIfnamesInput() {
|
|
153
|
+
return this._transitGatewayLogicalIfnames;
|
|
154
|
+
}
|
|
155
|
+
// transit_gw_name - computed: false, optional: false, required: true
|
|
156
|
+
_transitGwName;
|
|
157
|
+
get transitGwName() {
|
|
158
|
+
return this.getStringAttribute('transit_gw_name');
|
|
159
|
+
}
|
|
160
|
+
set transitGwName(value) {
|
|
161
|
+
this._transitGwName = value;
|
|
162
|
+
}
|
|
163
|
+
// Temporarily expose input value. Use with caution.
|
|
164
|
+
get transitGwNameInput() {
|
|
165
|
+
return this._transitGwName;
|
|
166
|
+
}
|
|
167
|
+
// transit_prepend_as_path - computed: false, optional: true, required: false
|
|
168
|
+
_transitPrependAsPath;
|
|
169
|
+
get transitPrependAsPath() {
|
|
170
|
+
return this.getListAttribute('transit_prepend_as_path');
|
|
171
|
+
}
|
|
172
|
+
set transitPrependAsPath(value) {
|
|
173
|
+
this._transitPrependAsPath = value;
|
|
174
|
+
}
|
|
175
|
+
resetTransitPrependAsPath() {
|
|
176
|
+
this._transitPrependAsPath = undefined;
|
|
177
|
+
}
|
|
178
|
+
// Temporarily expose input value. Use with caution.
|
|
179
|
+
get transitPrependAsPathInput() {
|
|
180
|
+
return this._transitPrependAsPath;
|
|
181
|
+
}
|
|
182
|
+
// tunnel_count - computed: false, optional: true, required: false
|
|
183
|
+
_tunnelCount;
|
|
184
|
+
get tunnelCount() {
|
|
185
|
+
return this.getNumberAttribute('tunnel_count');
|
|
186
|
+
}
|
|
187
|
+
set tunnelCount(value) {
|
|
188
|
+
this._tunnelCount = value;
|
|
189
|
+
}
|
|
190
|
+
resetTunnelCount() {
|
|
191
|
+
this._tunnelCount = undefined;
|
|
192
|
+
}
|
|
193
|
+
// Temporarily expose input value. Use with caution.
|
|
194
|
+
get tunnelCountInput() {
|
|
195
|
+
return this._tunnelCount;
|
|
196
|
+
}
|
|
197
|
+
// =========
|
|
198
|
+
// SYNTHESIS
|
|
199
|
+
// =========
|
|
200
|
+
synthesizeAttributes() {
|
|
201
|
+
return {
|
|
202
|
+
enable_max_performance: cdktf.booleanToTerraform(this._enableMaxPerformance),
|
|
203
|
+
id: cdktf.stringToTerraform(this._id),
|
|
204
|
+
route_tables: cdktf.listMapper(cdktf.stringToTerraform, false)(this._routeTables),
|
|
205
|
+
spoke_gw_name: cdktf.stringToTerraform(this._spokeGwName),
|
|
206
|
+
spoke_prepend_as_path: cdktf.listMapper(cdktf.stringToTerraform, false)(this._spokePrependAsPath),
|
|
207
|
+
transit_gateway_logical_ifnames: cdktf.listMapper(cdktf.stringToTerraform, false)(this._transitGatewayLogicalIfnames),
|
|
208
|
+
transit_gw_name: cdktf.stringToTerraform(this._transitGwName),
|
|
209
|
+
transit_prepend_as_path: cdktf.listMapper(cdktf.stringToTerraform, false)(this._transitPrependAsPath),
|
|
210
|
+
tunnel_count: cdktf.numberToTerraform(this._tunnelCount),
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
synthesizeHclAttributes() {
|
|
214
|
+
const attrs = {
|
|
215
|
+
enable_max_performance: {
|
|
216
|
+
value: cdktf.booleanToHclTerraform(this._enableMaxPerformance),
|
|
217
|
+
isBlock: false,
|
|
218
|
+
type: "simple",
|
|
219
|
+
storageClassType: "boolean",
|
|
220
|
+
},
|
|
221
|
+
id: {
|
|
222
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
223
|
+
isBlock: false,
|
|
224
|
+
type: "simple",
|
|
225
|
+
storageClassType: "string",
|
|
226
|
+
},
|
|
227
|
+
route_tables: {
|
|
228
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._routeTables),
|
|
229
|
+
isBlock: false,
|
|
230
|
+
type: "set",
|
|
231
|
+
storageClassType: "stringList",
|
|
232
|
+
},
|
|
233
|
+
spoke_gw_name: {
|
|
234
|
+
value: cdktf.stringToHclTerraform(this._spokeGwName),
|
|
235
|
+
isBlock: false,
|
|
236
|
+
type: "simple",
|
|
237
|
+
storageClassType: "string",
|
|
238
|
+
},
|
|
239
|
+
spoke_prepend_as_path: {
|
|
240
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._spokePrependAsPath),
|
|
241
|
+
isBlock: false,
|
|
242
|
+
type: "list",
|
|
243
|
+
storageClassType: "stringList",
|
|
244
|
+
},
|
|
245
|
+
transit_gateway_logical_ifnames: {
|
|
246
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._transitGatewayLogicalIfnames),
|
|
247
|
+
isBlock: false,
|
|
248
|
+
type: "list",
|
|
249
|
+
storageClassType: "stringList",
|
|
250
|
+
},
|
|
251
|
+
transit_gw_name: {
|
|
252
|
+
value: cdktf.stringToHclTerraform(this._transitGwName),
|
|
253
|
+
isBlock: false,
|
|
254
|
+
type: "simple",
|
|
255
|
+
storageClassType: "string",
|
|
256
|
+
},
|
|
257
|
+
transit_prepend_as_path: {
|
|
258
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._transitPrependAsPath),
|
|
259
|
+
isBlock: false,
|
|
260
|
+
type: "list",
|
|
261
|
+
storageClassType: "stringList",
|
|
262
|
+
},
|
|
263
|
+
tunnel_count: {
|
|
264
|
+
value: cdktf.numberToHclTerraform(this._tunnelCount),
|
|
265
|
+
isBlock: false,
|
|
266
|
+
type: "simple",
|
|
267
|
+
storageClassType: "number",
|
|
268
|
+
},
|
|
269
|
+
};
|
|
270
|
+
// remove undefined attributes
|
|
271
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
272
|
+
}
|
|
273
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface SumologicForwarderConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Access ID.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/sumologic_forwarder#access_id SumologicForwarder#access_id}
|
|
8
|
+
*/
|
|
9
|
+
readonly accessId: string;
|
|
10
|
+
/**
|
|
11
|
+
* Access key.
|
|
12
|
+
*
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/sumologic_forwarder#access_key SumologicForwarder#access_key}
|
|
14
|
+
*/
|
|
15
|
+
readonly accessKey: string;
|
|
16
|
+
/**
|
|
17
|
+
* Custom configuration.
|
|
18
|
+
*
|
|
19
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/sumologic_forwarder#custom_configuration SumologicForwarder#custom_configuration}
|
|
20
|
+
*/
|
|
21
|
+
readonly customConfiguration?: string;
|
|
22
|
+
/**
|
|
23
|
+
* List of excluded gateways.
|
|
24
|
+
*
|
|
25
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/sumologic_forwarder#excluded_gateways SumologicForwarder#excluded_gateways}
|
|
26
|
+
*/
|
|
27
|
+
readonly excludedGateways?: string[];
|
|
28
|
+
/**
|
|
29
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/sumologic_forwarder#id SumologicForwarder#id}
|
|
30
|
+
*
|
|
31
|
+
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
32
|
+
* 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.
|
|
33
|
+
*/
|
|
34
|
+
readonly id?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Source category.
|
|
37
|
+
*
|
|
38
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/sumologic_forwarder#source_category SumologicForwarder#source_category}
|
|
39
|
+
*/
|
|
40
|
+
readonly sourceCategory?: string;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/sumologic_forwarder aviatrix_sumologic_forwarder}
|
|
44
|
+
*/
|
|
45
|
+
export declare class SumologicForwarder extends cdktf.TerraformResource {
|
|
46
|
+
static readonly tfResourceType = "aviatrix_sumologic_forwarder";
|
|
47
|
+
/**
|
|
48
|
+
* Generates CDKTF code for importing a SumologicForwarder resource upon running "cdktf plan <stack-name>"
|
|
49
|
+
* @param scope The scope in which to define this construct
|
|
50
|
+
* @param importToId The construct id used in the generated config for the SumologicForwarder to import
|
|
51
|
+
* @param importFromId The id of the existing SumologicForwarder that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/sumologic_forwarder#import import section} in the documentation of this resource for the id to use
|
|
52
|
+
* @param provider? Optional instance of the provider where the SumologicForwarder to import is found
|
|
53
|
+
*/
|
|
54
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
55
|
+
/**
|
|
56
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/sumologic_forwarder aviatrix_sumologic_forwarder} Resource
|
|
57
|
+
*
|
|
58
|
+
* @param scope The scope in which to define this construct
|
|
59
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
60
|
+
* @param options SumologicForwarderConfig
|
|
61
|
+
*/
|
|
62
|
+
constructor(scope: Construct, id: string, config: SumologicForwarderConfig);
|
|
63
|
+
private _accessId?;
|
|
64
|
+
get accessId(): string;
|
|
65
|
+
set accessId(value: string);
|
|
66
|
+
get accessIdInput(): string;
|
|
67
|
+
private _accessKey?;
|
|
68
|
+
get accessKey(): string;
|
|
69
|
+
set accessKey(value: string);
|
|
70
|
+
get accessKeyInput(): string;
|
|
71
|
+
private _customConfiguration?;
|
|
72
|
+
get customConfiguration(): string;
|
|
73
|
+
set customConfiguration(value: string);
|
|
74
|
+
resetCustomConfiguration(): void;
|
|
75
|
+
get customConfigurationInput(): string;
|
|
76
|
+
private _excludedGateways?;
|
|
77
|
+
get excludedGateways(): string[];
|
|
78
|
+
set excludedGateways(value: string[]);
|
|
79
|
+
resetExcludedGateways(): void;
|
|
80
|
+
get excludedGatewaysInput(): string[];
|
|
81
|
+
private _id?;
|
|
82
|
+
get id(): string;
|
|
83
|
+
set id(value: string);
|
|
84
|
+
resetId(): void;
|
|
85
|
+
get idInput(): string;
|
|
86
|
+
private _sourceCategory?;
|
|
87
|
+
get sourceCategory(): string;
|
|
88
|
+
set sourceCategory(value: string);
|
|
89
|
+
resetSourceCategory(): void;
|
|
90
|
+
get sourceCategoryInput(): string;
|
|
91
|
+
get status(): any;
|
|
92
|
+
protected synthesizeAttributes(): {
|
|
93
|
+
[name: string]: any;
|
|
94
|
+
};
|
|
95
|
+
protected synthesizeHclAttributes(): {
|
|
96
|
+
[name: string]: any;
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/sumologic_forwarder
|
|
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/sumologic_forwarder aviatrix_sumologic_forwarder}
|
|
6
|
+
*/
|
|
7
|
+
export class SumologicForwarder extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_sumologic_forwarder";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a SumologicForwarder 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 SumologicForwarder to import
|
|
19
|
+
* @param importFromId The id of the existing SumologicForwarder that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/sumologic_forwarder#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the SumologicForwarder to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_sumologic_forwarder", 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/sumologic_forwarder aviatrix_sumologic_forwarder} 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 SumologicForwarderConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_sumologic_forwarder',
|
|
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._accessId = config.accessId;
|
|
52
|
+
this._accessKey = config.accessKey;
|
|
53
|
+
this._customConfiguration = config.customConfiguration;
|
|
54
|
+
this._excludedGateways = config.excludedGateways;
|
|
55
|
+
this._id = config.id;
|
|
56
|
+
this._sourceCategory = config.sourceCategory;
|
|
57
|
+
}
|
|
58
|
+
// ==========
|
|
59
|
+
// ATTRIBUTES
|
|
60
|
+
// ==========
|
|
61
|
+
// access_id - computed: false, optional: false, required: true
|
|
62
|
+
_accessId;
|
|
63
|
+
get accessId() {
|
|
64
|
+
return this.getStringAttribute('access_id');
|
|
65
|
+
}
|
|
66
|
+
set accessId(value) {
|
|
67
|
+
this._accessId = value;
|
|
68
|
+
}
|
|
69
|
+
// Temporarily expose input value. Use with caution.
|
|
70
|
+
get accessIdInput() {
|
|
71
|
+
return this._accessId;
|
|
72
|
+
}
|
|
73
|
+
// access_key - computed: false, optional: false, required: true
|
|
74
|
+
_accessKey;
|
|
75
|
+
get accessKey() {
|
|
76
|
+
return this.getStringAttribute('access_key');
|
|
77
|
+
}
|
|
78
|
+
set accessKey(value) {
|
|
79
|
+
this._accessKey = value;
|
|
80
|
+
}
|
|
81
|
+
// Temporarily expose input value. Use with caution.
|
|
82
|
+
get accessKeyInput() {
|
|
83
|
+
return this._accessKey;
|
|
84
|
+
}
|
|
85
|
+
// custom_configuration - computed: false, optional: true, required: false
|
|
86
|
+
_customConfiguration;
|
|
87
|
+
get customConfiguration() {
|
|
88
|
+
return this.getStringAttribute('custom_configuration');
|
|
89
|
+
}
|
|
90
|
+
set customConfiguration(value) {
|
|
91
|
+
this._customConfiguration = value;
|
|
92
|
+
}
|
|
93
|
+
resetCustomConfiguration() {
|
|
94
|
+
this._customConfiguration = undefined;
|
|
95
|
+
}
|
|
96
|
+
// Temporarily expose input value. Use with caution.
|
|
97
|
+
get customConfigurationInput() {
|
|
98
|
+
return this._customConfiguration;
|
|
99
|
+
}
|
|
100
|
+
// excluded_gateways - computed: false, optional: true, required: false
|
|
101
|
+
_excludedGateways;
|
|
102
|
+
get excludedGateways() {
|
|
103
|
+
return cdktf.Fn.tolist(this.getListAttribute('excluded_gateways'));
|
|
104
|
+
}
|
|
105
|
+
set excludedGateways(value) {
|
|
106
|
+
this._excludedGateways = value;
|
|
107
|
+
}
|
|
108
|
+
resetExcludedGateways() {
|
|
109
|
+
this._excludedGateways = undefined;
|
|
110
|
+
}
|
|
111
|
+
// Temporarily expose input value. Use with caution.
|
|
112
|
+
get excludedGatewaysInput() {
|
|
113
|
+
return this._excludedGateways;
|
|
114
|
+
}
|
|
115
|
+
// id - computed: true, optional: true, required: false
|
|
116
|
+
_id;
|
|
117
|
+
get id() {
|
|
118
|
+
return this.getStringAttribute('id');
|
|
119
|
+
}
|
|
120
|
+
set id(value) {
|
|
121
|
+
this._id = value;
|
|
122
|
+
}
|
|
123
|
+
resetId() {
|
|
124
|
+
this._id = undefined;
|
|
125
|
+
}
|
|
126
|
+
// Temporarily expose input value. Use with caution.
|
|
127
|
+
get idInput() {
|
|
128
|
+
return this._id;
|
|
129
|
+
}
|
|
130
|
+
// source_category - computed: false, optional: true, required: false
|
|
131
|
+
_sourceCategory;
|
|
132
|
+
get sourceCategory() {
|
|
133
|
+
return this.getStringAttribute('source_category');
|
|
134
|
+
}
|
|
135
|
+
set sourceCategory(value) {
|
|
136
|
+
this._sourceCategory = value;
|
|
137
|
+
}
|
|
138
|
+
resetSourceCategory() {
|
|
139
|
+
this._sourceCategory = undefined;
|
|
140
|
+
}
|
|
141
|
+
// Temporarily expose input value. Use with caution.
|
|
142
|
+
get sourceCategoryInput() {
|
|
143
|
+
return this._sourceCategory;
|
|
144
|
+
}
|
|
145
|
+
// status - computed: true, optional: false, required: false
|
|
146
|
+
get status() {
|
|
147
|
+
return this.getStringAttribute('status');
|
|
148
|
+
}
|
|
149
|
+
// =========
|
|
150
|
+
// SYNTHESIS
|
|
151
|
+
// =========
|
|
152
|
+
synthesizeAttributes() {
|
|
153
|
+
return {
|
|
154
|
+
access_id: cdktf.stringToTerraform(this._accessId),
|
|
155
|
+
access_key: cdktf.stringToTerraform(this._accessKey),
|
|
156
|
+
custom_configuration: cdktf.stringToTerraform(this._customConfiguration),
|
|
157
|
+
excluded_gateways: cdktf.listMapper(cdktf.stringToTerraform, false)(this._excludedGateways),
|
|
158
|
+
id: cdktf.stringToTerraform(this._id),
|
|
159
|
+
source_category: cdktf.stringToTerraform(this._sourceCategory),
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
synthesizeHclAttributes() {
|
|
163
|
+
const attrs = {
|
|
164
|
+
access_id: {
|
|
165
|
+
value: cdktf.stringToHclTerraform(this._accessId),
|
|
166
|
+
isBlock: false,
|
|
167
|
+
type: "simple",
|
|
168
|
+
storageClassType: "string",
|
|
169
|
+
},
|
|
170
|
+
access_key: {
|
|
171
|
+
value: cdktf.stringToHclTerraform(this._accessKey),
|
|
172
|
+
isBlock: false,
|
|
173
|
+
type: "simple",
|
|
174
|
+
storageClassType: "string",
|
|
175
|
+
},
|
|
176
|
+
custom_configuration: {
|
|
177
|
+
value: cdktf.stringToHclTerraform(this._customConfiguration),
|
|
178
|
+
isBlock: false,
|
|
179
|
+
type: "simple",
|
|
180
|
+
storageClassType: "string",
|
|
181
|
+
},
|
|
182
|
+
excluded_gateways: {
|
|
183
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._excludedGateways),
|
|
184
|
+
isBlock: false,
|
|
185
|
+
type: "set",
|
|
186
|
+
storageClassType: "stringList",
|
|
187
|
+
},
|
|
188
|
+
id: {
|
|
189
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
190
|
+
isBlock: false,
|
|
191
|
+
type: "simple",
|
|
192
|
+
storageClassType: "string",
|
|
193
|
+
},
|
|
194
|
+
source_category: {
|
|
195
|
+
value: cdktf.stringToHclTerraform(this._sourceCategory),
|
|
196
|
+
isBlock: false,
|
|
197
|
+
type: "simple",
|
|
198
|
+
storageClassType: "string",
|
|
199
|
+
},
|
|
200
|
+
};
|
|
201
|
+
// remove undefined attributes
|
|
202
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
203
|
+
}
|
|
204
|
+
}
|