@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,285 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/copilot_simple_deployment
|
|
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/copilot_simple_deployment aviatrix_copilot_simple_deployment}
|
|
6
|
+
*/
|
|
7
|
+
export class CopilotSimpleDeployment extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_copilot_simple_deployment";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a CopilotSimpleDeployment 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 CopilotSimpleDeployment to import
|
|
19
|
+
* @param importFromId The id of the existing CopilotSimpleDeployment that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/resources/copilot_simple_deployment#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the CopilotSimpleDeployment to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_copilot_simple_deployment", 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/copilot_simple_deployment aviatrix_copilot_simple_deployment} 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 CopilotSimpleDeploymentConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_copilot_simple_deployment',
|
|
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._accountName = config.accountName;
|
|
52
|
+
this._cloudType = config.cloudType;
|
|
53
|
+
this._controllerServiceAccountPassword = config.controllerServiceAccountPassword;
|
|
54
|
+
this._controllerServiceAccountUsername = config.controllerServiceAccountUsername;
|
|
55
|
+
this._dataVolumeSize = config.dataVolumeSize;
|
|
56
|
+
this._id = config.id;
|
|
57
|
+
this._instanceSize = config.instanceSize;
|
|
58
|
+
this._region = config.region;
|
|
59
|
+
this._subnet = config.subnet;
|
|
60
|
+
this._vpcId = config.vpcId;
|
|
61
|
+
}
|
|
62
|
+
// ==========
|
|
63
|
+
// ATTRIBUTES
|
|
64
|
+
// ==========
|
|
65
|
+
// account_name - computed: false, optional: false, required: true
|
|
66
|
+
_accountName;
|
|
67
|
+
get accountName() {
|
|
68
|
+
return this.getStringAttribute('account_name');
|
|
69
|
+
}
|
|
70
|
+
set accountName(value) {
|
|
71
|
+
this._accountName = value;
|
|
72
|
+
}
|
|
73
|
+
// Temporarily expose input value. Use with caution.
|
|
74
|
+
get accountNameInput() {
|
|
75
|
+
return this._accountName;
|
|
76
|
+
}
|
|
77
|
+
// cloud_type - computed: false, optional: false, required: true
|
|
78
|
+
_cloudType;
|
|
79
|
+
get cloudType() {
|
|
80
|
+
return this.getNumberAttribute('cloud_type');
|
|
81
|
+
}
|
|
82
|
+
set cloudType(value) {
|
|
83
|
+
this._cloudType = value;
|
|
84
|
+
}
|
|
85
|
+
// Temporarily expose input value. Use with caution.
|
|
86
|
+
get cloudTypeInput() {
|
|
87
|
+
return this._cloudType;
|
|
88
|
+
}
|
|
89
|
+
// controller_service_account_password - computed: false, optional: false, required: true
|
|
90
|
+
_controllerServiceAccountPassword;
|
|
91
|
+
get controllerServiceAccountPassword() {
|
|
92
|
+
return this.getStringAttribute('controller_service_account_password');
|
|
93
|
+
}
|
|
94
|
+
set controllerServiceAccountPassword(value) {
|
|
95
|
+
this._controllerServiceAccountPassword = value;
|
|
96
|
+
}
|
|
97
|
+
// Temporarily expose input value. Use with caution.
|
|
98
|
+
get controllerServiceAccountPasswordInput() {
|
|
99
|
+
return this._controllerServiceAccountPassword;
|
|
100
|
+
}
|
|
101
|
+
// controller_service_account_username - computed: false, optional: false, required: true
|
|
102
|
+
_controllerServiceAccountUsername;
|
|
103
|
+
get controllerServiceAccountUsername() {
|
|
104
|
+
return this.getStringAttribute('controller_service_account_username');
|
|
105
|
+
}
|
|
106
|
+
set controllerServiceAccountUsername(value) {
|
|
107
|
+
this._controllerServiceAccountUsername = value;
|
|
108
|
+
}
|
|
109
|
+
// Temporarily expose input value. Use with caution.
|
|
110
|
+
get controllerServiceAccountUsernameInput() {
|
|
111
|
+
return this._controllerServiceAccountUsername;
|
|
112
|
+
}
|
|
113
|
+
// data_volume_size - computed: false, optional: true, required: false
|
|
114
|
+
_dataVolumeSize;
|
|
115
|
+
get dataVolumeSize() {
|
|
116
|
+
return this.getNumberAttribute('data_volume_size');
|
|
117
|
+
}
|
|
118
|
+
set dataVolumeSize(value) {
|
|
119
|
+
this._dataVolumeSize = value;
|
|
120
|
+
}
|
|
121
|
+
resetDataVolumeSize() {
|
|
122
|
+
this._dataVolumeSize = undefined;
|
|
123
|
+
}
|
|
124
|
+
// Temporarily expose input value. Use with caution.
|
|
125
|
+
get dataVolumeSizeInput() {
|
|
126
|
+
return this._dataVolumeSize;
|
|
127
|
+
}
|
|
128
|
+
// id - computed: true, optional: true, required: false
|
|
129
|
+
_id;
|
|
130
|
+
get id() {
|
|
131
|
+
return this.getStringAttribute('id');
|
|
132
|
+
}
|
|
133
|
+
set id(value) {
|
|
134
|
+
this._id = value;
|
|
135
|
+
}
|
|
136
|
+
resetId() {
|
|
137
|
+
this._id = undefined;
|
|
138
|
+
}
|
|
139
|
+
// Temporarily expose input value. Use with caution.
|
|
140
|
+
get idInput() {
|
|
141
|
+
return this._id;
|
|
142
|
+
}
|
|
143
|
+
// instance_size - computed: false, optional: true, required: false
|
|
144
|
+
_instanceSize;
|
|
145
|
+
get instanceSize() {
|
|
146
|
+
return this.getStringAttribute('instance_size');
|
|
147
|
+
}
|
|
148
|
+
set instanceSize(value) {
|
|
149
|
+
this._instanceSize = value;
|
|
150
|
+
}
|
|
151
|
+
resetInstanceSize() {
|
|
152
|
+
this._instanceSize = undefined;
|
|
153
|
+
}
|
|
154
|
+
// Temporarily expose input value. Use with caution.
|
|
155
|
+
get instanceSizeInput() {
|
|
156
|
+
return this._instanceSize;
|
|
157
|
+
}
|
|
158
|
+
// private_ip - computed: true, optional: false, required: false
|
|
159
|
+
get privateIp() {
|
|
160
|
+
return this.getStringAttribute('private_ip');
|
|
161
|
+
}
|
|
162
|
+
// public_ip - computed: true, optional: false, required: false
|
|
163
|
+
get publicIp() {
|
|
164
|
+
return this.getStringAttribute('public_ip');
|
|
165
|
+
}
|
|
166
|
+
// region - computed: false, optional: false, required: true
|
|
167
|
+
_region;
|
|
168
|
+
get region() {
|
|
169
|
+
return this.getStringAttribute('region');
|
|
170
|
+
}
|
|
171
|
+
set region(value) {
|
|
172
|
+
this._region = value;
|
|
173
|
+
}
|
|
174
|
+
// Temporarily expose input value. Use with caution.
|
|
175
|
+
get regionInput() {
|
|
176
|
+
return this._region;
|
|
177
|
+
}
|
|
178
|
+
// subnet - computed: false, optional: false, required: true
|
|
179
|
+
_subnet;
|
|
180
|
+
get subnet() {
|
|
181
|
+
return this.getStringAttribute('subnet');
|
|
182
|
+
}
|
|
183
|
+
set subnet(value) {
|
|
184
|
+
this._subnet = value;
|
|
185
|
+
}
|
|
186
|
+
// Temporarily expose input value. Use with caution.
|
|
187
|
+
get subnetInput() {
|
|
188
|
+
return this._subnet;
|
|
189
|
+
}
|
|
190
|
+
// vpc_id - computed: false, optional: false, required: true
|
|
191
|
+
_vpcId;
|
|
192
|
+
get vpcId() {
|
|
193
|
+
return this.getStringAttribute('vpc_id');
|
|
194
|
+
}
|
|
195
|
+
set vpcId(value) {
|
|
196
|
+
this._vpcId = value;
|
|
197
|
+
}
|
|
198
|
+
// Temporarily expose input value. Use with caution.
|
|
199
|
+
get vpcIdInput() {
|
|
200
|
+
return this._vpcId;
|
|
201
|
+
}
|
|
202
|
+
// =========
|
|
203
|
+
// SYNTHESIS
|
|
204
|
+
// =========
|
|
205
|
+
synthesizeAttributes() {
|
|
206
|
+
return {
|
|
207
|
+
account_name: cdktf.stringToTerraform(this._accountName),
|
|
208
|
+
cloud_type: cdktf.numberToTerraform(this._cloudType),
|
|
209
|
+
controller_service_account_password: cdktf.stringToTerraform(this._controllerServiceAccountPassword),
|
|
210
|
+
controller_service_account_username: cdktf.stringToTerraform(this._controllerServiceAccountUsername),
|
|
211
|
+
data_volume_size: cdktf.numberToTerraform(this._dataVolumeSize),
|
|
212
|
+
id: cdktf.stringToTerraform(this._id),
|
|
213
|
+
instance_size: cdktf.stringToTerraform(this._instanceSize),
|
|
214
|
+
region: cdktf.stringToTerraform(this._region),
|
|
215
|
+
subnet: cdktf.stringToTerraform(this._subnet),
|
|
216
|
+
vpc_id: cdktf.stringToTerraform(this._vpcId),
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
synthesizeHclAttributes() {
|
|
220
|
+
const attrs = {
|
|
221
|
+
account_name: {
|
|
222
|
+
value: cdktf.stringToHclTerraform(this._accountName),
|
|
223
|
+
isBlock: false,
|
|
224
|
+
type: "simple",
|
|
225
|
+
storageClassType: "string",
|
|
226
|
+
},
|
|
227
|
+
cloud_type: {
|
|
228
|
+
value: cdktf.numberToHclTerraform(this._cloudType),
|
|
229
|
+
isBlock: false,
|
|
230
|
+
type: "simple",
|
|
231
|
+
storageClassType: "number",
|
|
232
|
+
},
|
|
233
|
+
controller_service_account_password: {
|
|
234
|
+
value: cdktf.stringToHclTerraform(this._controllerServiceAccountPassword),
|
|
235
|
+
isBlock: false,
|
|
236
|
+
type: "simple",
|
|
237
|
+
storageClassType: "string",
|
|
238
|
+
},
|
|
239
|
+
controller_service_account_username: {
|
|
240
|
+
value: cdktf.stringToHclTerraform(this._controllerServiceAccountUsername),
|
|
241
|
+
isBlock: false,
|
|
242
|
+
type: "simple",
|
|
243
|
+
storageClassType: "string",
|
|
244
|
+
},
|
|
245
|
+
data_volume_size: {
|
|
246
|
+
value: cdktf.numberToHclTerraform(this._dataVolumeSize),
|
|
247
|
+
isBlock: false,
|
|
248
|
+
type: "simple",
|
|
249
|
+
storageClassType: "number",
|
|
250
|
+
},
|
|
251
|
+
id: {
|
|
252
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
253
|
+
isBlock: false,
|
|
254
|
+
type: "simple",
|
|
255
|
+
storageClassType: "string",
|
|
256
|
+
},
|
|
257
|
+
instance_size: {
|
|
258
|
+
value: cdktf.stringToHclTerraform(this._instanceSize),
|
|
259
|
+
isBlock: false,
|
|
260
|
+
type: "simple",
|
|
261
|
+
storageClassType: "string",
|
|
262
|
+
},
|
|
263
|
+
region: {
|
|
264
|
+
value: cdktf.stringToHclTerraform(this._region),
|
|
265
|
+
isBlock: false,
|
|
266
|
+
type: "simple",
|
|
267
|
+
storageClassType: "string",
|
|
268
|
+
},
|
|
269
|
+
subnet: {
|
|
270
|
+
value: cdktf.stringToHclTerraform(this._subnet),
|
|
271
|
+
isBlock: false,
|
|
272
|
+
type: "simple",
|
|
273
|
+
storageClassType: "string",
|
|
274
|
+
},
|
|
275
|
+
vpc_id: {
|
|
276
|
+
value: cdktf.stringToHclTerraform(this._vpcId),
|
|
277
|
+
isBlock: false,
|
|
278
|
+
type: "simple",
|
|
279
|
+
storageClassType: "string",
|
|
280
|
+
},
|
|
281
|
+
};
|
|
282
|
+
// remove undefined attributes
|
|
283
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
284
|
+
}
|
|
285
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface DataAviatrixAccountConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Account name. This can be used for logging in to CloudN console or UserConnect controller.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/account#account_name DataAviatrixAccount#account_name}
|
|
8
|
+
*/
|
|
9
|
+
readonly accountName: string;
|
|
10
|
+
/**
|
|
11
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/account#id DataAviatrixAccount#id}
|
|
12
|
+
*
|
|
13
|
+
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
14
|
+
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
15
|
+
*/
|
|
16
|
+
readonly id?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/account aviatrix_account}
|
|
20
|
+
*/
|
|
21
|
+
export declare class DataAviatrixAccount extends cdktf.TerraformDataSource {
|
|
22
|
+
static readonly tfResourceType = "aviatrix_account";
|
|
23
|
+
/**
|
|
24
|
+
* Generates CDKTF code for importing a DataAviatrixAccount resource upon running "cdktf plan <stack-name>"
|
|
25
|
+
* @param scope The scope in which to define this construct
|
|
26
|
+
* @param importToId The construct id used in the generated config for the DataAviatrixAccount to import
|
|
27
|
+
* @param importFromId The id of the existing DataAviatrixAccount that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/account#import import section} in the documentation of this resource for the id to use
|
|
28
|
+
* @param provider? Optional instance of the provider where the DataAviatrixAccount to import is found
|
|
29
|
+
*/
|
|
30
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
31
|
+
/**
|
|
32
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/account aviatrix_account} Data Source
|
|
33
|
+
*
|
|
34
|
+
* @param scope The scope in which to define this construct
|
|
35
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
36
|
+
* @param options DataAviatrixAccountConfig
|
|
37
|
+
*/
|
|
38
|
+
constructor(scope: Construct, id: string, config: DataAviatrixAccountConfig);
|
|
39
|
+
private _accountName?;
|
|
40
|
+
get accountName(): string;
|
|
41
|
+
set accountName(value: string);
|
|
42
|
+
get accountNameInput(): string;
|
|
43
|
+
get alicloudAccountId(): any;
|
|
44
|
+
get armSubscriptionId(): any;
|
|
45
|
+
get awsAccountNumber(): any;
|
|
46
|
+
get awsGatewayRoleApp(): any;
|
|
47
|
+
get awsGatewayRoleEc2(): any;
|
|
48
|
+
get awsRoleArn(): any;
|
|
49
|
+
get awsRoleEc2(): any;
|
|
50
|
+
get awschinaAccountNumber(): any;
|
|
51
|
+
get awschinaIam(): any;
|
|
52
|
+
get awschinaRoleApp(): any;
|
|
53
|
+
get awschinaRoleEc2(): any;
|
|
54
|
+
get awsgovAccountNumber(): any;
|
|
55
|
+
get awsgovIam(): any;
|
|
56
|
+
get awsgovRoleApp(): any;
|
|
57
|
+
get awsgovRoleEc2(): any;
|
|
58
|
+
get azurechinaSubscriptionId(): any;
|
|
59
|
+
get azuregovSubscriptionId(): any;
|
|
60
|
+
get cloudType(): any;
|
|
61
|
+
get gcloudProjectId(): any;
|
|
62
|
+
private _id?;
|
|
63
|
+
get id(): string;
|
|
64
|
+
set id(value: string);
|
|
65
|
+
resetId(): void;
|
|
66
|
+
get idInput(): string;
|
|
67
|
+
protected synthesizeAttributes(): {
|
|
68
|
+
[name: string]: any;
|
|
69
|
+
};
|
|
70
|
+
protected synthesizeHclAttributes(): {
|
|
71
|
+
[name: string]: any;
|
|
72
|
+
};
|
|
73
|
+
}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/account
|
|
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/data-sources/account aviatrix_account}
|
|
6
|
+
*/
|
|
7
|
+
export class DataAviatrixAccount extends cdktf.TerraformDataSource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_account";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a DataAviatrixAccount 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 DataAviatrixAccount to import
|
|
19
|
+
* @param importFromId The id of the existing DataAviatrixAccount that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/account#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the DataAviatrixAccount to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_account", 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/data-sources/account aviatrix_account} Data Source
|
|
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 DataAviatrixAccountConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_account',
|
|
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._accountName = config.accountName;
|
|
52
|
+
this._id = config.id;
|
|
53
|
+
}
|
|
54
|
+
// ==========
|
|
55
|
+
// ATTRIBUTES
|
|
56
|
+
// ==========
|
|
57
|
+
// account_name - computed: false, optional: false, required: true
|
|
58
|
+
_accountName;
|
|
59
|
+
get accountName() {
|
|
60
|
+
return this.getStringAttribute('account_name');
|
|
61
|
+
}
|
|
62
|
+
set accountName(value) {
|
|
63
|
+
this._accountName = value;
|
|
64
|
+
}
|
|
65
|
+
// Temporarily expose input value. Use with caution.
|
|
66
|
+
get accountNameInput() {
|
|
67
|
+
return this._accountName;
|
|
68
|
+
}
|
|
69
|
+
// alicloud_account_id - computed: true, optional: false, required: false
|
|
70
|
+
get alicloudAccountId() {
|
|
71
|
+
return this.getStringAttribute('alicloud_account_id');
|
|
72
|
+
}
|
|
73
|
+
// arm_subscription_id - computed: true, optional: false, required: false
|
|
74
|
+
get armSubscriptionId() {
|
|
75
|
+
return this.getStringAttribute('arm_subscription_id');
|
|
76
|
+
}
|
|
77
|
+
// aws_account_number - computed: true, optional: false, required: false
|
|
78
|
+
get awsAccountNumber() {
|
|
79
|
+
return this.getStringAttribute('aws_account_number');
|
|
80
|
+
}
|
|
81
|
+
// aws_gateway_role_app - computed: true, optional: false, required: false
|
|
82
|
+
get awsGatewayRoleApp() {
|
|
83
|
+
return this.getStringAttribute('aws_gateway_role_app');
|
|
84
|
+
}
|
|
85
|
+
// aws_gateway_role_ec2 - computed: true, optional: false, required: false
|
|
86
|
+
get awsGatewayRoleEc2() {
|
|
87
|
+
return this.getStringAttribute('aws_gateway_role_ec2');
|
|
88
|
+
}
|
|
89
|
+
// aws_role_arn - computed: true, optional: false, required: false
|
|
90
|
+
get awsRoleArn() {
|
|
91
|
+
return this.getStringAttribute('aws_role_arn');
|
|
92
|
+
}
|
|
93
|
+
// aws_role_ec2 - computed: true, optional: false, required: false
|
|
94
|
+
get awsRoleEc2() {
|
|
95
|
+
return this.getStringAttribute('aws_role_ec2');
|
|
96
|
+
}
|
|
97
|
+
// awschina_account_number - computed: true, optional: false, required: false
|
|
98
|
+
get awschinaAccountNumber() {
|
|
99
|
+
return this.getStringAttribute('awschina_account_number');
|
|
100
|
+
}
|
|
101
|
+
// awschina_iam - computed: true, optional: false, required: false
|
|
102
|
+
get awschinaIam() {
|
|
103
|
+
return this.getBooleanAttribute('awschina_iam');
|
|
104
|
+
}
|
|
105
|
+
// awschina_role_app - computed: true, optional: false, required: false
|
|
106
|
+
get awschinaRoleApp() {
|
|
107
|
+
return this.getStringAttribute('awschina_role_app');
|
|
108
|
+
}
|
|
109
|
+
// awschina_role_ec2 - computed: true, optional: false, required: false
|
|
110
|
+
get awschinaRoleEc2() {
|
|
111
|
+
return this.getStringAttribute('awschina_role_ec2');
|
|
112
|
+
}
|
|
113
|
+
// awsgov_account_number - computed: true, optional: false, required: false
|
|
114
|
+
get awsgovAccountNumber() {
|
|
115
|
+
return this.getStringAttribute('awsgov_account_number');
|
|
116
|
+
}
|
|
117
|
+
// awsgov_iam - computed: true, optional: false, required: false
|
|
118
|
+
get awsgovIam() {
|
|
119
|
+
return this.getBooleanAttribute('awsgov_iam');
|
|
120
|
+
}
|
|
121
|
+
// awsgov_role_app - computed: true, optional: false, required: false
|
|
122
|
+
get awsgovRoleApp() {
|
|
123
|
+
return this.getStringAttribute('awsgov_role_app');
|
|
124
|
+
}
|
|
125
|
+
// awsgov_role_ec2 - computed: true, optional: false, required: false
|
|
126
|
+
get awsgovRoleEc2() {
|
|
127
|
+
return this.getStringAttribute('awsgov_role_ec2');
|
|
128
|
+
}
|
|
129
|
+
// azurechina_subscription_id - computed: true, optional: false, required: false
|
|
130
|
+
get azurechinaSubscriptionId() {
|
|
131
|
+
return this.getStringAttribute('azurechina_subscription_id');
|
|
132
|
+
}
|
|
133
|
+
// azuregov_subscription_id - computed: true, optional: false, required: false
|
|
134
|
+
get azuregovSubscriptionId() {
|
|
135
|
+
return this.getStringAttribute('azuregov_subscription_id');
|
|
136
|
+
}
|
|
137
|
+
// cloud_type - computed: true, optional: false, required: false
|
|
138
|
+
get cloudType() {
|
|
139
|
+
return this.getNumberAttribute('cloud_type');
|
|
140
|
+
}
|
|
141
|
+
// gcloud_project_id - computed: true, optional: false, required: false
|
|
142
|
+
get gcloudProjectId() {
|
|
143
|
+
return this.getStringAttribute('gcloud_project_id');
|
|
144
|
+
}
|
|
145
|
+
// id - computed: true, optional: true, required: false
|
|
146
|
+
_id;
|
|
147
|
+
get id() {
|
|
148
|
+
return this.getStringAttribute('id');
|
|
149
|
+
}
|
|
150
|
+
set id(value) {
|
|
151
|
+
this._id = value;
|
|
152
|
+
}
|
|
153
|
+
resetId() {
|
|
154
|
+
this._id = undefined;
|
|
155
|
+
}
|
|
156
|
+
// Temporarily expose input value. Use with caution.
|
|
157
|
+
get idInput() {
|
|
158
|
+
return this._id;
|
|
159
|
+
}
|
|
160
|
+
// =========
|
|
161
|
+
// SYNTHESIS
|
|
162
|
+
// =========
|
|
163
|
+
synthesizeAttributes() {
|
|
164
|
+
return {
|
|
165
|
+
account_name: cdktf.stringToTerraform(this._accountName),
|
|
166
|
+
id: cdktf.stringToTerraform(this._id),
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
synthesizeHclAttributes() {
|
|
170
|
+
const attrs = {
|
|
171
|
+
account_name: {
|
|
172
|
+
value: cdktf.stringToHclTerraform(this._accountName),
|
|
173
|
+
isBlock: false,
|
|
174
|
+
type: "simple",
|
|
175
|
+
storageClassType: "string",
|
|
176
|
+
},
|
|
177
|
+
id: {
|
|
178
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
179
|
+
isBlock: false,
|
|
180
|
+
type: "simple",
|
|
181
|
+
storageClassType: "string",
|
|
182
|
+
},
|
|
183
|
+
};
|
|
184
|
+
// remove undefined attributes
|
|
185
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
186
|
+
}
|
|
187
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface DataAviatrixCallerIdentityConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/caller_identity#id DataAviatrixCallerIdentity#id}
|
|
6
|
+
*
|
|
7
|
+
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
8
|
+
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
9
|
+
*/
|
|
10
|
+
readonly id?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Represents a {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/caller_identity aviatrix_caller_identity}
|
|
14
|
+
*/
|
|
15
|
+
export declare class DataAviatrixCallerIdentity extends cdktf.TerraformDataSource {
|
|
16
|
+
static readonly tfResourceType = "aviatrix_caller_identity";
|
|
17
|
+
/**
|
|
18
|
+
* Generates CDKTF code for importing a DataAviatrixCallerIdentity resource upon running "cdktf plan <stack-name>"
|
|
19
|
+
* @param scope The scope in which to define this construct
|
|
20
|
+
* @param importToId The construct id used in the generated config for the DataAviatrixCallerIdentity to import
|
|
21
|
+
* @param importFromId The id of the existing DataAviatrixCallerIdentity that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/caller_identity#import import section} in the documentation of this resource for the id to use
|
|
22
|
+
* @param provider? Optional instance of the provider where the DataAviatrixCallerIdentity to import is found
|
|
23
|
+
*/
|
|
24
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
25
|
+
/**
|
|
26
|
+
* Create a new {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/caller_identity aviatrix_caller_identity} Data Source
|
|
27
|
+
*
|
|
28
|
+
* @param scope The scope in which to define this construct
|
|
29
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
30
|
+
* @param options DataAviatrixCallerIdentityConfig = {}
|
|
31
|
+
*/
|
|
32
|
+
constructor(scope: Construct, id: string, config?: DataAviatrixCallerIdentityConfig);
|
|
33
|
+
get cid(): any;
|
|
34
|
+
private _id?;
|
|
35
|
+
get id(): string;
|
|
36
|
+
set id(value: string);
|
|
37
|
+
resetId(): void;
|
|
38
|
+
get idInput(): string;
|
|
39
|
+
protected synthesizeAttributes(): {
|
|
40
|
+
[name: string]: any;
|
|
41
|
+
};
|
|
42
|
+
protected synthesizeHclAttributes(): {
|
|
43
|
+
[name: string]: any;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/caller_identity
|
|
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/data-sources/caller_identity aviatrix_caller_identity}
|
|
6
|
+
*/
|
|
7
|
+
export class DataAviatrixCallerIdentity extends cdktf.TerraformDataSource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "aviatrix_caller_identity";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a DataAviatrixCallerIdentity 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 DataAviatrixCallerIdentity to import
|
|
19
|
+
* @param importFromId The id of the existing DataAviatrixCallerIdentity that should be imported. Refer to the {@link https://registry.terraform.io/providers/aviatrixsystems/aviatrix/8.1.10/docs/data-sources/caller_identity#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the DataAviatrixCallerIdentity to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aviatrix_caller_identity", 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/data-sources/caller_identity aviatrix_caller_identity} Data Source
|
|
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 DataAviatrixCallerIdentityConfig = {}
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config = {}) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'aviatrix_caller_identity',
|
|
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._id = config.id;
|
|
52
|
+
}
|
|
53
|
+
// ==========
|
|
54
|
+
// ATTRIBUTES
|
|
55
|
+
// ==========
|
|
56
|
+
// cid - computed: true, optional: false, required: false
|
|
57
|
+
get cid() {
|
|
58
|
+
return this.getStringAttribute('cid');
|
|
59
|
+
}
|
|
60
|
+
// id - computed: true, optional: true, required: false
|
|
61
|
+
_id;
|
|
62
|
+
get id() {
|
|
63
|
+
return this.getStringAttribute('id');
|
|
64
|
+
}
|
|
65
|
+
set id(value) {
|
|
66
|
+
this._id = value;
|
|
67
|
+
}
|
|
68
|
+
resetId() {
|
|
69
|
+
this._id = undefined;
|
|
70
|
+
}
|
|
71
|
+
// Temporarily expose input value. Use with caution.
|
|
72
|
+
get idInput() {
|
|
73
|
+
return this._id;
|
|
74
|
+
}
|
|
75
|
+
// =========
|
|
76
|
+
// SYNTHESIS
|
|
77
|
+
// =========
|
|
78
|
+
synthesizeAttributes() {
|
|
79
|
+
return {
|
|
80
|
+
id: cdktf.stringToTerraform(this._id),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
synthesizeHclAttributes() {
|
|
84
|
+
const attrs = {
|
|
85
|
+
id: {
|
|
86
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
87
|
+
isBlock: false,
|
|
88
|
+
type: "simple",
|
|
89
|
+
storageClassType: "string",
|
|
90
|
+
},
|
|
91
|
+
};
|
|
92
|
+
// remove undefined attributes
|
|
93
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
94
|
+
}
|
|
95
|
+
}
|