@cdktf-providers/edge-center-edgecenter 0.10.4
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/baremetal/index.d.ts +528 -0
- package/dist/baremetal/index.js +1250 -0
- package/dist/cdn-lecert/index.d.ts +76 -0
- package/dist/cdn-lecert/index.js +157 -0
- package/dist/cdn-origingroup/index.d.ts +237 -0
- package/dist/cdn-origingroup/index.js +560 -0
- package/dist/cdn-resource/index.d.ts +2223 -0
- package/dist/cdn-resource/index.js +5865 -0
- package/dist/cdn-rule/index.d.ts +2037 -0
- package/dist/cdn-rule/index.js +5381 -0
- package/dist/cdn-shielding/index.d.ts +64 -0
- package/dist/cdn-shielding/index.js +131 -0
- package/dist/cdn-sslcert/index.d.ts +76 -0
- package/dist/cdn-sslcert/index.js +159 -0
- package/dist/data-edgecenter-availability-zone/index.d.ts +67 -0
- package/dist/data-edgecenter-availability-zone/index.js +141 -0
- package/dist/data-edgecenter-cdn-shielding-location/index.d.ts +54 -0
- package/dist/data-edgecenter-cdn-shielding-location/index.js +111 -0
- package/dist/data-edgecenter-floatingip/index.d.ts +183 -0
- package/dist/data-edgecenter-floatingip/index.js +378 -0
- package/dist/data-edgecenter-image/index.d.ts +183 -0
- package/dist/data-edgecenter-image/index.js +378 -0
- package/dist/data-edgecenter-instance/index.d.ts +312 -0
- package/dist/data-edgecenter-instance/index.js +690 -0
- package/dist/data-edgecenter-instance-port-security/index.d.ts +110 -0
- package/dist/data-edgecenter-instance-port-security/index.js +231 -0
- package/dist/data-edgecenter-instance-v2/index.d.ts +222 -0
- package/dist/data-edgecenter-instance-v2/index.js +501 -0
- package/dist/data-edgecenter-k8s/index.d.ts +167 -0
- package/dist/data-edgecenter-k8s/index.js +412 -0
- package/dist/data-edgecenter-k8s-client-config/index.d.ts +100 -0
- package/dist/data-edgecenter-k8s-client-config/index.js +211 -0
- package/dist/data-edgecenter-k8s-pool/index.d.ts +120 -0
- package/dist/data-edgecenter-k8s-pool/index.js +271 -0
- package/dist/data-edgecenter-lb-l7policy/index.d.ts +114 -0
- package/dist/data-edgecenter-lb-l7policy/index.js +258 -0
- package/dist/data-edgecenter-lb-l7rule/index.d.ts +120 -0
- package/dist/data-edgecenter-lb-l7rule/index.js +262 -0
- package/dist/data-edgecenter-lblistener/index.d.ts +122 -0
- package/dist/data-edgecenter-lblistener/index.js +269 -0
- package/dist/data-edgecenter-lbpool/index.d.ts +204 -0
- package/dist/data-edgecenter-lbpool/index.js +454 -0
- package/dist/data-edgecenter-loadbalancer/index.d.ts +203 -0
- package/dist/data-edgecenter-loadbalancer/index.js +427 -0
- package/dist/data-edgecenter-loadbalancerv2/index.d.ts +169 -0
- package/dist/data-edgecenter-loadbalancerv2/index.js +343 -0
- package/dist/data-edgecenter-network/index.d.ts +270 -0
- package/dist/data-edgecenter-network/index.js +589 -0
- package/dist/data-edgecenter-project/index.d.ts +72 -0
- package/dist/data-edgecenter-project/index.js +153 -0
- package/dist/data-edgecenter-region/index.d.ts +54 -0
- package/dist/data-edgecenter-region/index.js +111 -0
- package/dist/data-edgecenter-reseller-images/index.d.ts +91 -0
- package/dist/data-edgecenter-reseller-images/index.js +198 -0
- package/dist/data-edgecenter-reseller-images-v2/index.d.ts +101 -0
- package/dist/data-edgecenter-reseller-images-v2/index.js +218 -0
- package/dist/data-edgecenter-reseller-networks/index.d.ts +269 -0
- package/dist/data-edgecenter-reseller-networks/index.js +610 -0
- package/dist/data-edgecenter-reservedfixedip/index.d.ts +141 -0
- package/dist/data-edgecenter-reservedfixedip/index.js +311 -0
- package/dist/data-edgecenter-router/index.d.ts +245 -0
- package/dist/data-edgecenter-router/index.js +538 -0
- package/dist/data-edgecenter-secret/index.d.ts +109 -0
- package/dist/data-edgecenter-secret/index.js +235 -0
- package/dist/data-edgecenter-securitygroup/index.d.ts +211 -0
- package/dist/data-edgecenter-securitygroup/index.js +450 -0
- package/dist/data-edgecenter-servergroup/index.d.ts +137 -0
- package/dist/data-edgecenter-servergroup/index.js +289 -0
- package/dist/data-edgecenter-snapshot/index.d.ts +129 -0
- package/dist/data-edgecenter-snapshot/index.js +281 -0
- package/dist/data-edgecenter-storage-s3/index.d.ts +71 -0
- package/dist/data-edgecenter-storage-s3/index.js +157 -0
- package/dist/data-edgecenter-storage-s3-bucket/index.d.ts +64 -0
- package/dist/data-edgecenter-storage-s3-bucket/index.js +131 -0
- package/dist/data-edgecenter-subnet/index.d.ts +253 -0
- package/dist/data-edgecenter-subnet/index.js +536 -0
- package/dist/data-edgecenter-useractions-subscription-amqp/index.d.ts +48 -0
- package/dist/data-edgecenter-useractions-subscription-amqp/index.js +107 -0
- package/dist/data-edgecenter-useractions-subscription-log/index.d.ts +47 -0
- package/dist/data-edgecenter-useractions-subscription-log/index.js +103 -0
- package/dist/data-edgecenter-volume/index.d.ts +169 -0
- package/dist/data-edgecenter-volume/index.js +343 -0
- package/dist/dns-zone/index.d.ts +54 -0
- package/dist/dns-zone/index.js +111 -0
- package/dist/dns-zone-record/index.d.ts +494 -0
- package/dist/dns-zone-record/index.js +1217 -0
- package/dist/floatingip/index.d.ts +185 -0
- package/dist/floatingip/index.js +394 -0
- package/dist/index.d.ts +83 -0
- package/dist/index.js +84 -0
- package/dist/instance/index.d.ts +830 -0
- package/dist/instance/index.js +1948 -0
- package/dist/instance-port-security/index.d.ts +229 -0
- package/dist/instance-port-security/index.js +564 -0
- package/dist/instance-v2/index.d.ts +552 -0
- package/dist/instance-v2/index.js +1244 -0
- package/dist/k8s/index.d.ts +342 -0
- package/dist/k8s/index.js +856 -0
- package/dist/k8s-pool/index.d.ts +227 -0
- package/dist/k8s-pool/index.js +514 -0
- package/dist/keypair/index.d.ts +88 -0
- package/dist/keypair/index.js +185 -0
- package/dist/lazy-index.d.ts +0 -0
- package/dist/lazy-index.js +84 -0
- package/dist/lb-l7policy/index.d.ts +244 -0
- package/dist/lb-l7policy/index.js +566 -0
- package/dist/lb-l7rule/index.d.ts +219 -0
- package/dist/lb-l7rule/index.js +506 -0
- package/dist/lblistener/index.d.ts +264 -0
- package/dist/lblistener/index.js +597 -0
- package/dist/lbmember/index.d.ts +207 -0
- package/dist/lbmember/index.js +473 -0
- package/dist/lbpool/index.d.ts +387 -0
- package/dist/lbpool/index.js +934 -0
- package/dist/lifecyclepolicy/index.d.ts +476 -0
- package/dist/lifecyclepolicy/index.js +1188 -0
- package/dist/loadbalancer/index.d.ts +341 -0
- package/dist/loadbalancer/index.js +851 -0
- package/dist/loadbalancerv2/index.d.ts +253 -0
- package/dist/loadbalancerv2/index.js +562 -0
- package/dist/network/index.d.ts +187 -0
- package/dist/network/index.js +382 -0
- package/dist/project/index.d.ts +68 -0
- package/dist/project/index.js +150 -0
- package/dist/protection-resource/index.d.ts +179 -0
- package/dist/protection-resource/index.js +381 -0
- package/dist/protection-resource-alias/index.d.ts +64 -0
- package/dist/protection-resource-alias/index.js +131 -0
- package/dist/protection-resource-alias-certificate/index.d.ts +88 -0
- package/dist/protection-resource-alias-certificate/index.js +185 -0
- package/dist/protection-resource-blacklist-entry/index.d.ts +64 -0
- package/dist/protection-resource-blacklist-entry/index.js +131 -0
- package/dist/protection-resource-certificate/index.d.ts +88 -0
- package/dist/protection-resource-certificate/index.js +185 -0
- package/dist/protection-resource-header/index.d.ts +74 -0
- package/dist/protection-resource-header/index.js +151 -0
- package/dist/protection-resource-origin/index.d.ts +119 -0
- package/dist/protection-resource-origin/index.js +246 -0
- package/dist/protection-resource-whitelist-entry/index.d.ts +64 -0
- package/dist/protection-resource-whitelist-entry/index.js +131 -0
- package/dist/provider/index.d.ts +182 -0
- package/dist/provider/index.js +384 -0
- package/dist/reseller-images/index.d.ts +120 -0
- package/dist/reseller-images/index.js +272 -0
- package/dist/reseller-images-v2/index.d.ts +130 -0
- package/dist/reseller-images-v2/index.js +292 -0
- package/dist/reservedfixedip/index.d.ts +230 -0
- package/dist/reservedfixedip/index.js +513 -0
- package/dist/router/index.d.ts +322 -0
- package/dist/router/index.js +755 -0
- package/dist/secret/index.d.ts +146 -0
- package/dist/secret/index.js +311 -0
- package/dist/securitygroup/index.d.ts +291 -0
- package/dist/securitygroup/index.js +654 -0
- package/dist/servergroup/index.d.ts +143 -0
- package/dist/servergroup/index.js +302 -0
- package/dist/snapshot/index.d.ts +185 -0
- package/dist/snapshot/index.js +383 -0
- package/dist/storage-s3/index.d.ts +141 -0
- package/dist/storage-s3/index.js +292 -0
- package/dist/storage-s3-bucket/index.d.ts +64 -0
- package/dist/storage-s3-bucket/index.js +131 -0
- package/dist/subnet/index.d.ts +346 -0
- package/dist/subnet/index.js +751 -0
- package/dist/useractions-subscription-amqp/index.d.ts +87 -0
- package/dist/useractions-subscription-amqp/index.js +180 -0
- package/dist/useractions-subscription-log/index.d.ts +74 -0
- package/dist/useractions-subscription-log/index.js +151 -0
- package/dist/volume/index.d.ts +208 -0
- package/dist/volume/index.js +424 -0
- package/package.json +51 -0
|
@@ -0,0 +1,597 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/lblistener
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
export function lblistenerTimeoutsToTerraform(struct) {
|
|
5
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
6
|
+
return struct;
|
|
7
|
+
}
|
|
8
|
+
if (cdktf.isComplexElement(struct)) {
|
|
9
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
create: cdktf.stringToTerraform(struct.create),
|
|
13
|
+
delete: cdktf.stringToTerraform(struct.delete),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export function lblistenerTimeoutsToHclTerraform(struct) {
|
|
17
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
18
|
+
return struct;
|
|
19
|
+
}
|
|
20
|
+
if (cdktf.isComplexElement(struct)) {
|
|
21
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
22
|
+
}
|
|
23
|
+
const attrs = {
|
|
24
|
+
create: {
|
|
25
|
+
value: cdktf.stringToHclTerraform(struct.create),
|
|
26
|
+
isBlock: false,
|
|
27
|
+
type: "simple",
|
|
28
|
+
storageClassType: "string",
|
|
29
|
+
},
|
|
30
|
+
delete: {
|
|
31
|
+
value: cdktf.stringToHclTerraform(struct.delete),
|
|
32
|
+
isBlock: false,
|
|
33
|
+
type: "simple",
|
|
34
|
+
storageClassType: "string",
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
// remove undefined attributes
|
|
38
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
39
|
+
}
|
|
40
|
+
export class LblistenerTimeoutsOutputReference extends cdktf.ComplexObject {
|
|
41
|
+
isEmptyObject = false;
|
|
42
|
+
resolvableValue;
|
|
43
|
+
/**
|
|
44
|
+
* @param terraformResource The parent resource
|
|
45
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
46
|
+
*/
|
|
47
|
+
constructor(terraformResource, terraformAttribute) {
|
|
48
|
+
super(terraformResource, terraformAttribute, false);
|
|
49
|
+
}
|
|
50
|
+
get internalValue() {
|
|
51
|
+
if (this.resolvableValue) {
|
|
52
|
+
return this.resolvableValue;
|
|
53
|
+
}
|
|
54
|
+
let hasAnyValues = this.isEmptyObject;
|
|
55
|
+
const internalValueResult = {};
|
|
56
|
+
if (this._create !== undefined) {
|
|
57
|
+
hasAnyValues = true;
|
|
58
|
+
internalValueResult.create = this._create;
|
|
59
|
+
}
|
|
60
|
+
if (this._delete !== undefined) {
|
|
61
|
+
hasAnyValues = true;
|
|
62
|
+
internalValueResult.delete = this._delete;
|
|
63
|
+
}
|
|
64
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
65
|
+
}
|
|
66
|
+
set internalValue(value) {
|
|
67
|
+
if (value === undefined) {
|
|
68
|
+
this.isEmptyObject = false;
|
|
69
|
+
this.resolvableValue = undefined;
|
|
70
|
+
this._create = undefined;
|
|
71
|
+
this._delete = undefined;
|
|
72
|
+
}
|
|
73
|
+
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
74
|
+
this.isEmptyObject = false;
|
|
75
|
+
this.resolvableValue = value;
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
79
|
+
this.resolvableValue = undefined;
|
|
80
|
+
this._create = value.create;
|
|
81
|
+
this._delete = value.delete;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
// create - computed: false, optional: true, required: false
|
|
85
|
+
_create;
|
|
86
|
+
get create() {
|
|
87
|
+
return this.getStringAttribute('create');
|
|
88
|
+
}
|
|
89
|
+
set create(value) {
|
|
90
|
+
this._create = value;
|
|
91
|
+
}
|
|
92
|
+
resetCreate() {
|
|
93
|
+
this._create = undefined;
|
|
94
|
+
}
|
|
95
|
+
// Temporarily expose input value. Use with caution.
|
|
96
|
+
get createInput() {
|
|
97
|
+
return this._create;
|
|
98
|
+
}
|
|
99
|
+
// delete - computed: false, optional: true, required: false
|
|
100
|
+
_delete;
|
|
101
|
+
get delete() {
|
|
102
|
+
return this.getStringAttribute('delete');
|
|
103
|
+
}
|
|
104
|
+
set delete(value) {
|
|
105
|
+
this._delete = value;
|
|
106
|
+
}
|
|
107
|
+
resetDelete() {
|
|
108
|
+
this._delete = undefined;
|
|
109
|
+
}
|
|
110
|
+
// Temporarily expose input value. Use with caution.
|
|
111
|
+
get deleteInput() {
|
|
112
|
+
return this._delete;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Represents a {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/lblistener edgecenter_lblistener}
|
|
117
|
+
*/
|
|
118
|
+
export class Lblistener extends cdktf.TerraformResource {
|
|
119
|
+
// =================
|
|
120
|
+
// STATIC PROPERTIES
|
|
121
|
+
// =================
|
|
122
|
+
static tfResourceType = "edgecenter_lblistener";
|
|
123
|
+
// ==============
|
|
124
|
+
// STATIC Methods
|
|
125
|
+
// ==============
|
|
126
|
+
/**
|
|
127
|
+
* Generates CDKTF code for importing a Lblistener resource upon running "cdktf plan <stack-name>"
|
|
128
|
+
* @param scope The scope in which to define this construct
|
|
129
|
+
* @param importToId The construct id used in the generated config for the Lblistener to import
|
|
130
|
+
* @param importFromId The id of the existing Lblistener that should be imported. Refer to the {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/lblistener#import import section} in the documentation of this resource for the id to use
|
|
131
|
+
* @param provider? Optional instance of the provider where the Lblistener to import is found
|
|
132
|
+
*/
|
|
133
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
134
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "edgecenter_lblistener", importId: importFromId, provider });
|
|
135
|
+
}
|
|
136
|
+
// ===========
|
|
137
|
+
// INITIALIZER
|
|
138
|
+
// ===========
|
|
139
|
+
/**
|
|
140
|
+
* Create a new {@link https://registry.terraform.io/providers/edge-center/edgecenter/0.10.4/docs/resources/lblistener edgecenter_lblistener} Resource
|
|
141
|
+
*
|
|
142
|
+
* @param scope The scope in which to define this construct
|
|
143
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
144
|
+
* @param options LblistenerConfig
|
|
145
|
+
*/
|
|
146
|
+
constructor(scope, id, config) {
|
|
147
|
+
super(scope, id, {
|
|
148
|
+
terraformResourceType: 'edgecenter_lblistener',
|
|
149
|
+
terraformGeneratorMetadata: {
|
|
150
|
+
providerName: 'edgecenter',
|
|
151
|
+
providerVersion: '0.10.4',
|
|
152
|
+
providerVersionConstraint: '0.10.4'
|
|
153
|
+
},
|
|
154
|
+
provider: config.provider,
|
|
155
|
+
dependsOn: config.dependsOn,
|
|
156
|
+
count: config.count,
|
|
157
|
+
lifecycle: config.lifecycle,
|
|
158
|
+
provisioners: config.provisioners,
|
|
159
|
+
connection: config.connection,
|
|
160
|
+
forEach: config.forEach
|
|
161
|
+
});
|
|
162
|
+
this._allowedCidrs = config.allowedCidrs;
|
|
163
|
+
this._id = config.id;
|
|
164
|
+
this._insertXForwarded = config.insertXForwarded;
|
|
165
|
+
this._lastUpdated = config.lastUpdated;
|
|
166
|
+
this._loadbalancerId = config.loadbalancerId;
|
|
167
|
+
this._name = config.name;
|
|
168
|
+
this._projectId = config.projectId;
|
|
169
|
+
this._projectName = config.projectName;
|
|
170
|
+
this._protocol = config.protocol;
|
|
171
|
+
this._protocolPort = config.protocolPort;
|
|
172
|
+
this._regionId = config.regionId;
|
|
173
|
+
this._regionName = config.regionName;
|
|
174
|
+
this._secretId = config.secretId;
|
|
175
|
+
this._sniSecretId = config.sniSecretId;
|
|
176
|
+
this._timeoutClientData = config.timeoutClientData;
|
|
177
|
+
this._timeoutMemberConnect = config.timeoutMemberConnect;
|
|
178
|
+
this._timeoutMemberData = config.timeoutMemberData;
|
|
179
|
+
this._timeouts.internalValue = config.timeouts;
|
|
180
|
+
}
|
|
181
|
+
// ==========
|
|
182
|
+
// ATTRIBUTES
|
|
183
|
+
// ==========
|
|
184
|
+
// allowed_cidrs - computed: false, optional: true, required: false
|
|
185
|
+
_allowedCidrs;
|
|
186
|
+
get allowedCidrs() {
|
|
187
|
+
return this.getListAttribute('allowed_cidrs');
|
|
188
|
+
}
|
|
189
|
+
set allowedCidrs(value) {
|
|
190
|
+
this._allowedCidrs = value;
|
|
191
|
+
}
|
|
192
|
+
resetAllowedCidrs() {
|
|
193
|
+
this._allowedCidrs = undefined;
|
|
194
|
+
}
|
|
195
|
+
// Temporarily expose input value. Use with caution.
|
|
196
|
+
get allowedCidrsInput() {
|
|
197
|
+
return this._allowedCidrs;
|
|
198
|
+
}
|
|
199
|
+
// id - computed: true, optional: true, required: false
|
|
200
|
+
_id;
|
|
201
|
+
get id() {
|
|
202
|
+
return this.getStringAttribute('id');
|
|
203
|
+
}
|
|
204
|
+
set id(value) {
|
|
205
|
+
this._id = value;
|
|
206
|
+
}
|
|
207
|
+
resetId() {
|
|
208
|
+
this._id = undefined;
|
|
209
|
+
}
|
|
210
|
+
// Temporarily expose input value. Use with caution.
|
|
211
|
+
get idInput() {
|
|
212
|
+
return this._id;
|
|
213
|
+
}
|
|
214
|
+
// insert_x_forwarded - computed: false, optional: true, required: false
|
|
215
|
+
_insertXForwarded;
|
|
216
|
+
get insertXForwarded() {
|
|
217
|
+
return this.getBooleanAttribute('insert_x_forwarded');
|
|
218
|
+
}
|
|
219
|
+
set insertXForwarded(value) {
|
|
220
|
+
this._insertXForwarded = value;
|
|
221
|
+
}
|
|
222
|
+
resetInsertXForwarded() {
|
|
223
|
+
this._insertXForwarded = undefined;
|
|
224
|
+
}
|
|
225
|
+
// Temporarily expose input value. Use with caution.
|
|
226
|
+
get insertXForwardedInput() {
|
|
227
|
+
return this._insertXForwarded;
|
|
228
|
+
}
|
|
229
|
+
// l7policies - computed: true, optional: false, required: false
|
|
230
|
+
get l7Policies() {
|
|
231
|
+
return cdktf.Fn.tolist(this.getListAttribute('l7policies'));
|
|
232
|
+
}
|
|
233
|
+
// last_updated - computed: true, optional: true, required: false
|
|
234
|
+
_lastUpdated;
|
|
235
|
+
get lastUpdated() {
|
|
236
|
+
return this.getStringAttribute('last_updated');
|
|
237
|
+
}
|
|
238
|
+
set lastUpdated(value) {
|
|
239
|
+
this._lastUpdated = value;
|
|
240
|
+
}
|
|
241
|
+
resetLastUpdated() {
|
|
242
|
+
this._lastUpdated = undefined;
|
|
243
|
+
}
|
|
244
|
+
// Temporarily expose input value. Use with caution.
|
|
245
|
+
get lastUpdatedInput() {
|
|
246
|
+
return this._lastUpdated;
|
|
247
|
+
}
|
|
248
|
+
// loadbalancer_id - computed: false, optional: false, required: true
|
|
249
|
+
_loadbalancerId;
|
|
250
|
+
get loadbalancerId() {
|
|
251
|
+
return this.getStringAttribute('loadbalancer_id');
|
|
252
|
+
}
|
|
253
|
+
set loadbalancerId(value) {
|
|
254
|
+
this._loadbalancerId = value;
|
|
255
|
+
}
|
|
256
|
+
// Temporarily expose input value. Use with caution.
|
|
257
|
+
get loadbalancerIdInput() {
|
|
258
|
+
return this._loadbalancerId;
|
|
259
|
+
}
|
|
260
|
+
// name - computed: false, optional: false, required: true
|
|
261
|
+
_name;
|
|
262
|
+
get name() {
|
|
263
|
+
return this.getStringAttribute('name');
|
|
264
|
+
}
|
|
265
|
+
set name(value) {
|
|
266
|
+
this._name = value;
|
|
267
|
+
}
|
|
268
|
+
// Temporarily expose input value. Use with caution.
|
|
269
|
+
get nameInput() {
|
|
270
|
+
return this._name;
|
|
271
|
+
}
|
|
272
|
+
// operating_status - computed: true, optional: false, required: false
|
|
273
|
+
get operatingStatus() {
|
|
274
|
+
return this.getStringAttribute('operating_status');
|
|
275
|
+
}
|
|
276
|
+
// pool_count - computed: true, optional: false, required: false
|
|
277
|
+
get poolCount() {
|
|
278
|
+
return this.getNumberAttribute('pool_count');
|
|
279
|
+
}
|
|
280
|
+
// project_id - computed: false, optional: true, required: false
|
|
281
|
+
_projectId;
|
|
282
|
+
get projectId() {
|
|
283
|
+
return this.getNumberAttribute('project_id');
|
|
284
|
+
}
|
|
285
|
+
set projectId(value) {
|
|
286
|
+
this._projectId = value;
|
|
287
|
+
}
|
|
288
|
+
resetProjectId() {
|
|
289
|
+
this._projectId = undefined;
|
|
290
|
+
}
|
|
291
|
+
// Temporarily expose input value. Use with caution.
|
|
292
|
+
get projectIdInput() {
|
|
293
|
+
return this._projectId;
|
|
294
|
+
}
|
|
295
|
+
// project_name - computed: false, optional: true, required: false
|
|
296
|
+
_projectName;
|
|
297
|
+
get projectName() {
|
|
298
|
+
return this.getStringAttribute('project_name');
|
|
299
|
+
}
|
|
300
|
+
set projectName(value) {
|
|
301
|
+
this._projectName = value;
|
|
302
|
+
}
|
|
303
|
+
resetProjectName() {
|
|
304
|
+
this._projectName = undefined;
|
|
305
|
+
}
|
|
306
|
+
// Temporarily expose input value. Use with caution.
|
|
307
|
+
get projectNameInput() {
|
|
308
|
+
return this._projectName;
|
|
309
|
+
}
|
|
310
|
+
// protocol - computed: false, optional: false, required: true
|
|
311
|
+
_protocol;
|
|
312
|
+
get protocol() {
|
|
313
|
+
return this.getStringAttribute('protocol');
|
|
314
|
+
}
|
|
315
|
+
set protocol(value) {
|
|
316
|
+
this._protocol = value;
|
|
317
|
+
}
|
|
318
|
+
// Temporarily expose input value. Use with caution.
|
|
319
|
+
get protocolInput() {
|
|
320
|
+
return this._protocol;
|
|
321
|
+
}
|
|
322
|
+
// protocol_port - computed: false, optional: false, required: true
|
|
323
|
+
_protocolPort;
|
|
324
|
+
get protocolPort() {
|
|
325
|
+
return this.getNumberAttribute('protocol_port');
|
|
326
|
+
}
|
|
327
|
+
set protocolPort(value) {
|
|
328
|
+
this._protocolPort = value;
|
|
329
|
+
}
|
|
330
|
+
// Temporarily expose input value. Use with caution.
|
|
331
|
+
get protocolPortInput() {
|
|
332
|
+
return this._protocolPort;
|
|
333
|
+
}
|
|
334
|
+
// provisioning_status - computed: true, optional: false, required: false
|
|
335
|
+
get provisioningStatus() {
|
|
336
|
+
return this.getStringAttribute('provisioning_status');
|
|
337
|
+
}
|
|
338
|
+
// region_id - computed: false, optional: true, required: false
|
|
339
|
+
_regionId;
|
|
340
|
+
get regionId() {
|
|
341
|
+
return this.getNumberAttribute('region_id');
|
|
342
|
+
}
|
|
343
|
+
set regionId(value) {
|
|
344
|
+
this._regionId = value;
|
|
345
|
+
}
|
|
346
|
+
resetRegionId() {
|
|
347
|
+
this._regionId = undefined;
|
|
348
|
+
}
|
|
349
|
+
// Temporarily expose input value. Use with caution.
|
|
350
|
+
get regionIdInput() {
|
|
351
|
+
return this._regionId;
|
|
352
|
+
}
|
|
353
|
+
// region_name - computed: false, optional: true, required: false
|
|
354
|
+
_regionName;
|
|
355
|
+
get regionName() {
|
|
356
|
+
return this.getStringAttribute('region_name');
|
|
357
|
+
}
|
|
358
|
+
set regionName(value) {
|
|
359
|
+
this._regionName = value;
|
|
360
|
+
}
|
|
361
|
+
resetRegionName() {
|
|
362
|
+
this._regionName = undefined;
|
|
363
|
+
}
|
|
364
|
+
// Temporarily expose input value. Use with caution.
|
|
365
|
+
get regionNameInput() {
|
|
366
|
+
return this._regionName;
|
|
367
|
+
}
|
|
368
|
+
// secret_id - computed: false, optional: true, required: false
|
|
369
|
+
_secretId;
|
|
370
|
+
get secretId() {
|
|
371
|
+
return this.getStringAttribute('secret_id');
|
|
372
|
+
}
|
|
373
|
+
set secretId(value) {
|
|
374
|
+
this._secretId = value;
|
|
375
|
+
}
|
|
376
|
+
resetSecretId() {
|
|
377
|
+
this._secretId = undefined;
|
|
378
|
+
}
|
|
379
|
+
// Temporarily expose input value. Use with caution.
|
|
380
|
+
get secretIdInput() {
|
|
381
|
+
return this._secretId;
|
|
382
|
+
}
|
|
383
|
+
// sni_secret_id - computed: false, optional: true, required: false
|
|
384
|
+
_sniSecretId;
|
|
385
|
+
get sniSecretId() {
|
|
386
|
+
return this.getListAttribute('sni_secret_id');
|
|
387
|
+
}
|
|
388
|
+
set sniSecretId(value) {
|
|
389
|
+
this._sniSecretId = value;
|
|
390
|
+
}
|
|
391
|
+
resetSniSecretId() {
|
|
392
|
+
this._sniSecretId = undefined;
|
|
393
|
+
}
|
|
394
|
+
// Temporarily expose input value. Use with caution.
|
|
395
|
+
get sniSecretIdInput() {
|
|
396
|
+
return this._sniSecretId;
|
|
397
|
+
}
|
|
398
|
+
// timeout_client_data - computed: true, optional: true, required: false
|
|
399
|
+
_timeoutClientData;
|
|
400
|
+
get timeoutClientData() {
|
|
401
|
+
return this.getNumberAttribute('timeout_client_data');
|
|
402
|
+
}
|
|
403
|
+
set timeoutClientData(value) {
|
|
404
|
+
this._timeoutClientData = value;
|
|
405
|
+
}
|
|
406
|
+
resetTimeoutClientData() {
|
|
407
|
+
this._timeoutClientData = undefined;
|
|
408
|
+
}
|
|
409
|
+
// Temporarily expose input value. Use with caution.
|
|
410
|
+
get timeoutClientDataInput() {
|
|
411
|
+
return this._timeoutClientData;
|
|
412
|
+
}
|
|
413
|
+
// timeout_member_connect - computed: true, optional: true, required: false
|
|
414
|
+
_timeoutMemberConnect;
|
|
415
|
+
get timeoutMemberConnect() {
|
|
416
|
+
return this.getNumberAttribute('timeout_member_connect');
|
|
417
|
+
}
|
|
418
|
+
set timeoutMemberConnect(value) {
|
|
419
|
+
this._timeoutMemberConnect = value;
|
|
420
|
+
}
|
|
421
|
+
resetTimeoutMemberConnect() {
|
|
422
|
+
this._timeoutMemberConnect = undefined;
|
|
423
|
+
}
|
|
424
|
+
// Temporarily expose input value. Use with caution.
|
|
425
|
+
get timeoutMemberConnectInput() {
|
|
426
|
+
return this._timeoutMemberConnect;
|
|
427
|
+
}
|
|
428
|
+
// timeout_member_data - computed: true, optional: true, required: false
|
|
429
|
+
_timeoutMemberData;
|
|
430
|
+
get timeoutMemberData() {
|
|
431
|
+
return this.getNumberAttribute('timeout_member_data');
|
|
432
|
+
}
|
|
433
|
+
set timeoutMemberData(value) {
|
|
434
|
+
this._timeoutMemberData = value;
|
|
435
|
+
}
|
|
436
|
+
resetTimeoutMemberData() {
|
|
437
|
+
this._timeoutMemberData = undefined;
|
|
438
|
+
}
|
|
439
|
+
// Temporarily expose input value. Use with caution.
|
|
440
|
+
get timeoutMemberDataInput() {
|
|
441
|
+
return this._timeoutMemberData;
|
|
442
|
+
}
|
|
443
|
+
// timeouts - computed: false, optional: true, required: false
|
|
444
|
+
_timeouts = new LblistenerTimeoutsOutputReference(this, "timeouts");
|
|
445
|
+
get timeouts() {
|
|
446
|
+
return this._timeouts;
|
|
447
|
+
}
|
|
448
|
+
putTimeouts(value) {
|
|
449
|
+
this._timeouts.internalValue = value;
|
|
450
|
+
}
|
|
451
|
+
resetTimeouts() {
|
|
452
|
+
this._timeouts.internalValue = undefined;
|
|
453
|
+
}
|
|
454
|
+
// Temporarily expose input value. Use with caution.
|
|
455
|
+
get timeoutsInput() {
|
|
456
|
+
return this._timeouts.internalValue;
|
|
457
|
+
}
|
|
458
|
+
// =========
|
|
459
|
+
// SYNTHESIS
|
|
460
|
+
// =========
|
|
461
|
+
synthesizeAttributes() {
|
|
462
|
+
return {
|
|
463
|
+
allowed_cidrs: cdktf.listMapper(cdktf.stringToTerraform, false)(this._allowedCidrs),
|
|
464
|
+
id: cdktf.stringToTerraform(this._id),
|
|
465
|
+
insert_x_forwarded: cdktf.booleanToTerraform(this._insertXForwarded),
|
|
466
|
+
last_updated: cdktf.stringToTerraform(this._lastUpdated),
|
|
467
|
+
loadbalancer_id: cdktf.stringToTerraform(this._loadbalancerId),
|
|
468
|
+
name: cdktf.stringToTerraform(this._name),
|
|
469
|
+
project_id: cdktf.numberToTerraform(this._projectId),
|
|
470
|
+
project_name: cdktf.stringToTerraform(this._projectName),
|
|
471
|
+
protocol: cdktf.stringToTerraform(this._protocol),
|
|
472
|
+
protocol_port: cdktf.numberToTerraform(this._protocolPort),
|
|
473
|
+
region_id: cdktf.numberToTerraform(this._regionId),
|
|
474
|
+
region_name: cdktf.stringToTerraform(this._regionName),
|
|
475
|
+
secret_id: cdktf.stringToTerraform(this._secretId),
|
|
476
|
+
sni_secret_id: cdktf.listMapper(cdktf.stringToTerraform, false)(this._sniSecretId),
|
|
477
|
+
timeout_client_data: cdktf.numberToTerraform(this._timeoutClientData),
|
|
478
|
+
timeout_member_connect: cdktf.numberToTerraform(this._timeoutMemberConnect),
|
|
479
|
+
timeout_member_data: cdktf.numberToTerraform(this._timeoutMemberData),
|
|
480
|
+
timeouts: lblistenerTimeoutsToTerraform(this._timeouts.internalValue),
|
|
481
|
+
};
|
|
482
|
+
}
|
|
483
|
+
synthesizeHclAttributes() {
|
|
484
|
+
const attrs = {
|
|
485
|
+
allowed_cidrs: {
|
|
486
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._allowedCidrs),
|
|
487
|
+
isBlock: false,
|
|
488
|
+
type: "list",
|
|
489
|
+
storageClassType: "stringList",
|
|
490
|
+
},
|
|
491
|
+
id: {
|
|
492
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
493
|
+
isBlock: false,
|
|
494
|
+
type: "simple",
|
|
495
|
+
storageClassType: "string",
|
|
496
|
+
},
|
|
497
|
+
insert_x_forwarded: {
|
|
498
|
+
value: cdktf.booleanToHclTerraform(this._insertXForwarded),
|
|
499
|
+
isBlock: false,
|
|
500
|
+
type: "simple",
|
|
501
|
+
storageClassType: "boolean",
|
|
502
|
+
},
|
|
503
|
+
last_updated: {
|
|
504
|
+
value: cdktf.stringToHclTerraform(this._lastUpdated),
|
|
505
|
+
isBlock: false,
|
|
506
|
+
type: "simple",
|
|
507
|
+
storageClassType: "string",
|
|
508
|
+
},
|
|
509
|
+
loadbalancer_id: {
|
|
510
|
+
value: cdktf.stringToHclTerraform(this._loadbalancerId),
|
|
511
|
+
isBlock: false,
|
|
512
|
+
type: "simple",
|
|
513
|
+
storageClassType: "string",
|
|
514
|
+
},
|
|
515
|
+
name: {
|
|
516
|
+
value: cdktf.stringToHclTerraform(this._name),
|
|
517
|
+
isBlock: false,
|
|
518
|
+
type: "simple",
|
|
519
|
+
storageClassType: "string",
|
|
520
|
+
},
|
|
521
|
+
project_id: {
|
|
522
|
+
value: cdktf.numberToHclTerraform(this._projectId),
|
|
523
|
+
isBlock: false,
|
|
524
|
+
type: "simple",
|
|
525
|
+
storageClassType: "number",
|
|
526
|
+
},
|
|
527
|
+
project_name: {
|
|
528
|
+
value: cdktf.stringToHclTerraform(this._projectName),
|
|
529
|
+
isBlock: false,
|
|
530
|
+
type: "simple",
|
|
531
|
+
storageClassType: "string",
|
|
532
|
+
},
|
|
533
|
+
protocol: {
|
|
534
|
+
value: cdktf.stringToHclTerraform(this._protocol),
|
|
535
|
+
isBlock: false,
|
|
536
|
+
type: "simple",
|
|
537
|
+
storageClassType: "string",
|
|
538
|
+
},
|
|
539
|
+
protocol_port: {
|
|
540
|
+
value: cdktf.numberToHclTerraform(this._protocolPort),
|
|
541
|
+
isBlock: false,
|
|
542
|
+
type: "simple",
|
|
543
|
+
storageClassType: "number",
|
|
544
|
+
},
|
|
545
|
+
region_id: {
|
|
546
|
+
value: cdktf.numberToHclTerraform(this._regionId),
|
|
547
|
+
isBlock: false,
|
|
548
|
+
type: "simple",
|
|
549
|
+
storageClassType: "number",
|
|
550
|
+
},
|
|
551
|
+
region_name: {
|
|
552
|
+
value: cdktf.stringToHclTerraform(this._regionName),
|
|
553
|
+
isBlock: false,
|
|
554
|
+
type: "simple",
|
|
555
|
+
storageClassType: "string",
|
|
556
|
+
},
|
|
557
|
+
secret_id: {
|
|
558
|
+
value: cdktf.stringToHclTerraform(this._secretId),
|
|
559
|
+
isBlock: false,
|
|
560
|
+
type: "simple",
|
|
561
|
+
storageClassType: "string",
|
|
562
|
+
},
|
|
563
|
+
sni_secret_id: {
|
|
564
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._sniSecretId),
|
|
565
|
+
isBlock: false,
|
|
566
|
+
type: "list",
|
|
567
|
+
storageClassType: "stringList",
|
|
568
|
+
},
|
|
569
|
+
timeout_client_data: {
|
|
570
|
+
value: cdktf.numberToHclTerraform(this._timeoutClientData),
|
|
571
|
+
isBlock: false,
|
|
572
|
+
type: "simple",
|
|
573
|
+
storageClassType: "number",
|
|
574
|
+
},
|
|
575
|
+
timeout_member_connect: {
|
|
576
|
+
value: cdktf.numberToHclTerraform(this._timeoutMemberConnect),
|
|
577
|
+
isBlock: false,
|
|
578
|
+
type: "simple",
|
|
579
|
+
storageClassType: "number",
|
|
580
|
+
},
|
|
581
|
+
timeout_member_data: {
|
|
582
|
+
value: cdktf.numberToHclTerraform(this._timeoutMemberData),
|
|
583
|
+
isBlock: false,
|
|
584
|
+
type: "simple",
|
|
585
|
+
storageClassType: "number",
|
|
586
|
+
},
|
|
587
|
+
timeouts: {
|
|
588
|
+
value: lblistenerTimeoutsToHclTerraform(this._timeouts.internalValue),
|
|
589
|
+
isBlock: true,
|
|
590
|
+
type: "struct",
|
|
591
|
+
storageClassType: "LblistenerTimeouts",
|
|
592
|
+
},
|
|
593
|
+
};
|
|
594
|
+
// remove undefined attributes
|
|
595
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
596
|
+
}
|
|
597
|
+
}
|