@cdktf-providers/aptible 0.9.18

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.
@@ -0,0 +1,386 @@
1
+ // https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/environment
2
+ // generated from terraform resource schema
3
+ import * as cdktf from 'cdktf';
4
+ export function environmentBackupRetentionPolicyToTerraform(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
+ daily: cdktf.numberToTerraform(struct.daily),
13
+ keep_final: cdktf.booleanToTerraform(struct.keepFinal),
14
+ make_copy: cdktf.booleanToTerraform(struct.makeCopy),
15
+ monthly: cdktf.numberToTerraform(struct.monthly),
16
+ yearly: cdktf.numberToTerraform(struct.yearly),
17
+ };
18
+ }
19
+ export function environmentBackupRetentionPolicyToHclTerraform(struct) {
20
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
21
+ return struct;
22
+ }
23
+ if (cdktf.isComplexElement(struct)) {
24
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
25
+ }
26
+ const attrs = {
27
+ daily: {
28
+ value: cdktf.numberToHclTerraform(struct.daily),
29
+ isBlock: false,
30
+ type: "simple",
31
+ storageClassType: "number",
32
+ },
33
+ keep_final: {
34
+ value: cdktf.booleanToHclTerraform(struct.keepFinal),
35
+ isBlock: false,
36
+ type: "simple",
37
+ storageClassType: "boolean",
38
+ },
39
+ make_copy: {
40
+ value: cdktf.booleanToHclTerraform(struct.makeCopy),
41
+ isBlock: false,
42
+ type: "simple",
43
+ storageClassType: "boolean",
44
+ },
45
+ monthly: {
46
+ value: cdktf.numberToHclTerraform(struct.monthly),
47
+ isBlock: false,
48
+ type: "simple",
49
+ storageClassType: "number",
50
+ },
51
+ yearly: {
52
+ value: cdktf.numberToHclTerraform(struct.yearly),
53
+ isBlock: false,
54
+ type: "simple",
55
+ storageClassType: "number",
56
+ },
57
+ };
58
+ // remove undefined attributes
59
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
60
+ }
61
+ export class EnvironmentBackupRetentionPolicyOutputReference extends cdktf.ComplexObject {
62
+ isEmptyObject = false;
63
+ resolvableValue;
64
+ /**
65
+ * @param terraformResource The parent resource
66
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
67
+ * @param complexObjectIndex the index of this item in the list
68
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
69
+ */
70
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
71
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
72
+ }
73
+ get internalValue() {
74
+ if (this.resolvableValue) {
75
+ return this.resolvableValue;
76
+ }
77
+ let hasAnyValues = this.isEmptyObject;
78
+ const internalValueResult = {};
79
+ if (this._daily !== undefined) {
80
+ hasAnyValues = true;
81
+ internalValueResult.daily = this._daily;
82
+ }
83
+ if (this._keepFinal !== undefined) {
84
+ hasAnyValues = true;
85
+ internalValueResult.keepFinal = this._keepFinal;
86
+ }
87
+ if (this._makeCopy !== undefined) {
88
+ hasAnyValues = true;
89
+ internalValueResult.makeCopy = this._makeCopy;
90
+ }
91
+ if (this._monthly !== undefined) {
92
+ hasAnyValues = true;
93
+ internalValueResult.monthly = this._monthly;
94
+ }
95
+ if (this._yearly !== undefined) {
96
+ hasAnyValues = true;
97
+ internalValueResult.yearly = this._yearly;
98
+ }
99
+ return hasAnyValues ? internalValueResult : undefined;
100
+ }
101
+ set internalValue(value) {
102
+ if (value === undefined) {
103
+ this.isEmptyObject = false;
104
+ this.resolvableValue = undefined;
105
+ this._daily = undefined;
106
+ this._keepFinal = undefined;
107
+ this._makeCopy = undefined;
108
+ this._monthly = undefined;
109
+ this._yearly = undefined;
110
+ }
111
+ else if (cdktf.Tokenization.isResolvable(value)) {
112
+ this.isEmptyObject = false;
113
+ this.resolvableValue = value;
114
+ }
115
+ else {
116
+ this.isEmptyObject = Object.keys(value).length === 0;
117
+ this.resolvableValue = undefined;
118
+ this._daily = value.daily;
119
+ this._keepFinal = value.keepFinal;
120
+ this._makeCopy = value.makeCopy;
121
+ this._monthly = value.monthly;
122
+ this._yearly = value.yearly;
123
+ }
124
+ }
125
+ // daily - computed: false, optional: false, required: true
126
+ _daily;
127
+ get daily() {
128
+ return this.getNumberAttribute('daily');
129
+ }
130
+ set daily(value) {
131
+ this._daily = value;
132
+ }
133
+ // Temporarily expose input value. Use with caution.
134
+ get dailyInput() {
135
+ return this._daily;
136
+ }
137
+ // keep_final - computed: false, optional: false, required: true
138
+ _keepFinal;
139
+ get keepFinal() {
140
+ return this.getBooleanAttribute('keep_final');
141
+ }
142
+ set keepFinal(value) {
143
+ this._keepFinal = value;
144
+ }
145
+ // Temporarily expose input value. Use with caution.
146
+ get keepFinalInput() {
147
+ return this._keepFinal;
148
+ }
149
+ // make_copy - computed: false, optional: false, required: true
150
+ _makeCopy;
151
+ get makeCopy() {
152
+ return this.getBooleanAttribute('make_copy');
153
+ }
154
+ set makeCopy(value) {
155
+ this._makeCopy = value;
156
+ }
157
+ // Temporarily expose input value. Use with caution.
158
+ get makeCopyInput() {
159
+ return this._makeCopy;
160
+ }
161
+ // monthly - computed: false, optional: false, required: true
162
+ _monthly;
163
+ get monthly() {
164
+ return this.getNumberAttribute('monthly');
165
+ }
166
+ set monthly(value) {
167
+ this._monthly = value;
168
+ }
169
+ // Temporarily expose input value. Use with caution.
170
+ get monthlyInput() {
171
+ return this._monthly;
172
+ }
173
+ // yearly - computed: false, optional: false, required: true
174
+ _yearly;
175
+ get yearly() {
176
+ return this.getNumberAttribute('yearly');
177
+ }
178
+ set yearly(value) {
179
+ this._yearly = value;
180
+ }
181
+ // Temporarily expose input value. Use with caution.
182
+ get yearlyInput() {
183
+ return this._yearly;
184
+ }
185
+ }
186
+ export class EnvironmentBackupRetentionPolicyList extends cdktf.ComplexList {
187
+ terraformResource;
188
+ terraformAttribute;
189
+ wrapsSet;
190
+ internalValue;
191
+ /**
192
+ * @param terraformResource The parent resource
193
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
194
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
195
+ */
196
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
197
+ super(terraformResource, terraformAttribute, wrapsSet);
198
+ this.terraformResource = terraformResource;
199
+ this.terraformAttribute = terraformAttribute;
200
+ this.wrapsSet = wrapsSet;
201
+ }
202
+ /**
203
+ * @param index the index of the item to return
204
+ */
205
+ get(index) {
206
+ return new EnvironmentBackupRetentionPolicyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
207
+ }
208
+ }
209
+ /**
210
+ * Represents a {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/environment aptible_environment}
211
+ */
212
+ export class Environment extends cdktf.TerraformResource {
213
+ // =================
214
+ // STATIC PROPERTIES
215
+ // =================
216
+ static tfResourceType = "aptible_environment";
217
+ // ==============
218
+ // STATIC Methods
219
+ // ==============
220
+ /**
221
+ * Generates CDKTF code for importing a Environment resource upon running "cdktf plan <stack-name>"
222
+ * @param scope The scope in which to define this construct
223
+ * @param importToId The construct id used in the generated config for the Environment to import
224
+ * @param importFromId The id of the existing Environment that should be imported. Refer to the {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/environment#import import section} in the documentation of this resource for the id to use
225
+ * @param provider? Optional instance of the provider where the Environment to import is found
226
+ */
227
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
228
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aptible_environment", importId: importFromId, provider });
229
+ }
230
+ // ===========
231
+ // INITIALIZER
232
+ // ===========
233
+ /**
234
+ * Create a new {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/environment aptible_environment} Resource
235
+ *
236
+ * @param scope The scope in which to define this construct
237
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
238
+ * @param options EnvironmentConfig
239
+ */
240
+ constructor(scope, id, config) {
241
+ super(scope, id, {
242
+ terraformResourceType: 'aptible_environment',
243
+ terraformGeneratorMetadata: {
244
+ providerName: 'aptible',
245
+ providerVersion: '0.9.18',
246
+ providerVersionConstraint: '0.9.18'
247
+ },
248
+ provider: config.provider,
249
+ dependsOn: config.dependsOn,
250
+ count: config.count,
251
+ lifecycle: config.lifecycle,
252
+ provisioners: config.provisioners,
253
+ connection: config.connection,
254
+ forEach: config.forEach
255
+ });
256
+ this._handle = config.handle;
257
+ this._id = config.id;
258
+ this._orgId = config.orgId;
259
+ this._stackId = config.stackId;
260
+ this._backupRetentionPolicy.internalValue = config.backupRetentionPolicy;
261
+ }
262
+ // ==========
263
+ // ATTRIBUTES
264
+ // ==========
265
+ // env_id - computed: true, optional: false, required: false
266
+ get envId() {
267
+ return this.getNumberAttribute('env_id');
268
+ }
269
+ // handle - computed: false, optional: false, required: true
270
+ _handle;
271
+ get handle() {
272
+ return this.getStringAttribute('handle');
273
+ }
274
+ set handle(value) {
275
+ this._handle = value;
276
+ }
277
+ // Temporarily expose input value. Use with caution.
278
+ get handleInput() {
279
+ return this._handle;
280
+ }
281
+ // id - computed: true, optional: true, required: false
282
+ _id;
283
+ get id() {
284
+ return this.getStringAttribute('id');
285
+ }
286
+ set id(value) {
287
+ this._id = value;
288
+ }
289
+ resetId() {
290
+ this._id = undefined;
291
+ }
292
+ // Temporarily expose input value. Use with caution.
293
+ get idInput() {
294
+ return this._id;
295
+ }
296
+ // org_id - computed: true, optional: true, required: false
297
+ _orgId;
298
+ get orgId() {
299
+ return this.getStringAttribute('org_id');
300
+ }
301
+ set orgId(value) {
302
+ this._orgId = value;
303
+ }
304
+ resetOrgId() {
305
+ this._orgId = undefined;
306
+ }
307
+ // Temporarily expose input value. Use with caution.
308
+ get orgIdInput() {
309
+ return this._orgId;
310
+ }
311
+ // stack_id - computed: false, optional: false, required: true
312
+ _stackId;
313
+ get stackId() {
314
+ return this.getNumberAttribute('stack_id');
315
+ }
316
+ set stackId(value) {
317
+ this._stackId = value;
318
+ }
319
+ // Temporarily expose input value. Use with caution.
320
+ get stackIdInput() {
321
+ return this._stackId;
322
+ }
323
+ // backup_retention_policy - computed: false, optional: true, required: false
324
+ _backupRetentionPolicy = new EnvironmentBackupRetentionPolicyList(this, "backup_retention_policy", true);
325
+ get backupRetentionPolicy() {
326
+ return this._backupRetentionPolicy;
327
+ }
328
+ putBackupRetentionPolicy(value) {
329
+ this._backupRetentionPolicy.internalValue = value;
330
+ }
331
+ resetBackupRetentionPolicy() {
332
+ this._backupRetentionPolicy.internalValue = undefined;
333
+ }
334
+ // Temporarily expose input value. Use with caution.
335
+ get backupRetentionPolicyInput() {
336
+ return this._backupRetentionPolicy.internalValue;
337
+ }
338
+ // =========
339
+ // SYNTHESIS
340
+ // =========
341
+ synthesizeAttributes() {
342
+ return {
343
+ handle: cdktf.stringToTerraform(this._handle),
344
+ id: cdktf.stringToTerraform(this._id),
345
+ org_id: cdktf.stringToTerraform(this._orgId),
346
+ stack_id: cdktf.numberToTerraform(this._stackId),
347
+ backup_retention_policy: cdktf.listMapper(environmentBackupRetentionPolicyToTerraform, true)(this._backupRetentionPolicy.internalValue),
348
+ };
349
+ }
350
+ synthesizeHclAttributes() {
351
+ const attrs = {
352
+ handle: {
353
+ value: cdktf.stringToHclTerraform(this._handle),
354
+ isBlock: false,
355
+ type: "simple",
356
+ storageClassType: "string",
357
+ },
358
+ id: {
359
+ value: cdktf.stringToHclTerraform(this._id),
360
+ isBlock: false,
361
+ type: "simple",
362
+ storageClassType: "string",
363
+ },
364
+ org_id: {
365
+ value: cdktf.stringToHclTerraform(this._orgId),
366
+ isBlock: false,
367
+ type: "simple",
368
+ storageClassType: "string",
369
+ },
370
+ stack_id: {
371
+ value: cdktf.numberToHclTerraform(this._stackId),
372
+ isBlock: false,
373
+ type: "simple",
374
+ storageClassType: "number",
375
+ },
376
+ backup_retention_policy: {
377
+ value: cdktf.listMapperHcl(environmentBackupRetentionPolicyToHclTerraform, true)(this._backupRetentionPolicy.internalValue),
378
+ isBlock: true,
379
+ type: "set",
380
+ storageClassType: "EnvironmentBackupRetentionPolicyList",
381
+ },
382
+ };
383
+ // remove undefined attributes
384
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
385
+ }
386
+ }
@@ -0,0 +1,11 @@
1
+ export * as app from './app';
2
+ export * as database from './database';
3
+ export * as endpoint from './endpoint';
4
+ export * as environment from './environment';
5
+ export * as logDrain from './log-drain';
6
+ export * as metricDrain from './metric-drain';
7
+ export * as replica from './replica';
8
+ export * as dataAptibleBackupRetentionPolicy from './data-aptible-backup-retention-policy';
9
+ export * as dataAptibleEnvironment from './data-aptible-environment';
10
+ export * as dataAptibleStack from './data-aptible-stack';
11
+ export * as provider from './provider';
package/dist/index.js ADDED
@@ -0,0 +1,12 @@
1
+ // generated by cdktf get
2
+ export * as app from './app';
3
+ export * as database from './database';
4
+ export * as endpoint from './endpoint';
5
+ export * as environment from './environment';
6
+ export * as logDrain from './log-drain';
7
+ export * as metricDrain from './metric-drain';
8
+ export * as replica from './replica';
9
+ export * as dataAptibleBackupRetentionPolicy from './data-aptible-backup-retention-policy';
10
+ export * as dataAptibleEnvironment from './data-aptible-environment';
11
+ export * as dataAptibleStack from './data-aptible-stack';
12
+ export * as provider from './provider';
File without changes
@@ -0,0 +1,12 @@
1
+ // generated by cdktf get
2
+ Object.defineProperty(exports, 'app', { get: function () { return require('./app'); } });
3
+ Object.defineProperty(exports, 'database', { get: function () { return require('./database'); } });
4
+ Object.defineProperty(exports, 'endpoint', { get: function () { return require('./endpoint'); } });
5
+ Object.defineProperty(exports, 'environment', { get: function () { return require('./environment'); } });
6
+ Object.defineProperty(exports, 'logDrain', { get: function () { return require('./log-drain'); } });
7
+ Object.defineProperty(exports, 'metricDrain', { get: function () { return require('./metric-drain'); } });
8
+ Object.defineProperty(exports, 'replica', { get: function () { return require('./replica'); } });
9
+ Object.defineProperty(exports, 'dataAptibleBackupRetentionPolicy', { get: function () { return require('./data-aptible-backup-retention-policy'); } });
10
+ Object.defineProperty(exports, 'dataAptibleEnvironment', { get: function () { return require('./data-aptible-environment'); } });
11
+ Object.defineProperty(exports, 'dataAptibleStack', { get: function () { return require('./data-aptible-stack'); } });
12
+ Object.defineProperty(exports, 'provider', { get: function () { return require('./provider'); } });
@@ -0,0 +1,195 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface LogDrainConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/log_drain#database_id LogDrain#database_id}
6
+ */
7
+ readonly databaseId?: number;
8
+ /**
9
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/log_drain#drain_apps LogDrain#drain_apps}
10
+ */
11
+ readonly drainApps?: boolean | cdktf.IResolvable;
12
+ /**
13
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/log_drain#drain_databases LogDrain#drain_databases}
14
+ */
15
+ readonly drainDatabases?: boolean | cdktf.IResolvable;
16
+ /**
17
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/log_drain#drain_ephemeral_sessions LogDrain#drain_ephemeral_sessions}
18
+ */
19
+ readonly drainEphemeralSessions?: boolean | cdktf.IResolvable;
20
+ /**
21
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/log_drain#drain_host LogDrain#drain_host}
22
+ */
23
+ readonly drainHost?: string;
24
+ /**
25
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/log_drain#drain_password LogDrain#drain_password}
26
+ */
27
+ readonly drainPassword?: string;
28
+ /**
29
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/log_drain#drain_port LogDrain#drain_port}
30
+ */
31
+ readonly drainPort?: number;
32
+ /**
33
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/log_drain#drain_proxies LogDrain#drain_proxies}
34
+ */
35
+ readonly drainProxies?: boolean | cdktf.IResolvable;
36
+ /**
37
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/log_drain#drain_type LogDrain#drain_type}
38
+ */
39
+ readonly drainType: string;
40
+ /**
41
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/log_drain#drain_username LogDrain#drain_username}
42
+ */
43
+ readonly drainUsername?: string;
44
+ /**
45
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/log_drain#env_id LogDrain#env_id}
46
+ */
47
+ readonly envId: number;
48
+ /**
49
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/log_drain#handle LogDrain#handle}
50
+ */
51
+ readonly handle: string;
52
+ /**
53
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/log_drain#id LogDrain#id}
54
+ *
55
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
56
+ * 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.
57
+ */
58
+ readonly id?: string;
59
+ /**
60
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/log_drain#logging_token LogDrain#logging_token}
61
+ */
62
+ readonly loggingToken?: string;
63
+ /**
64
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/log_drain#pipeline LogDrain#pipeline}
65
+ */
66
+ readonly pipeline?: string;
67
+ /**
68
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/log_drain#tags LogDrain#tags}
69
+ */
70
+ readonly tags?: string;
71
+ /**
72
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/log_drain#token LogDrain#token}
73
+ */
74
+ readonly token?: string;
75
+ /**
76
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/log_drain#url LogDrain#url}
77
+ */
78
+ readonly url?: string;
79
+ }
80
+ /**
81
+ * Represents a {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/log_drain aptible_log_drain}
82
+ */
83
+ export declare class LogDrain extends cdktf.TerraformResource {
84
+ static readonly tfResourceType = "aptible_log_drain";
85
+ /**
86
+ * Generates CDKTF code for importing a LogDrain resource upon running "cdktf plan <stack-name>"
87
+ * @param scope The scope in which to define this construct
88
+ * @param importToId The construct id used in the generated config for the LogDrain to import
89
+ * @param importFromId The id of the existing LogDrain that should be imported. Refer to the {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/log_drain#import import section} in the documentation of this resource for the id to use
90
+ * @param provider? Optional instance of the provider where the LogDrain to import is found
91
+ */
92
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
93
+ /**
94
+ * Create a new {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/log_drain aptible_log_drain} Resource
95
+ *
96
+ * @param scope The scope in which to define this construct
97
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
98
+ * @param options LogDrainConfig
99
+ */
100
+ constructor(scope: Construct, id: string, config: LogDrainConfig);
101
+ private _databaseId?;
102
+ get databaseId(): number;
103
+ set databaseId(value: number);
104
+ resetDatabaseId(): void;
105
+ get databaseIdInput(): number;
106
+ private _drainApps?;
107
+ get drainApps(): boolean | cdktf.IResolvable;
108
+ set drainApps(value: boolean | cdktf.IResolvable);
109
+ resetDrainApps(): void;
110
+ get drainAppsInput(): any;
111
+ private _drainDatabases?;
112
+ get drainDatabases(): boolean | cdktf.IResolvable;
113
+ set drainDatabases(value: boolean | cdktf.IResolvable);
114
+ resetDrainDatabases(): void;
115
+ get drainDatabasesInput(): any;
116
+ private _drainEphemeralSessions?;
117
+ get drainEphemeralSessions(): boolean | cdktf.IResolvable;
118
+ set drainEphemeralSessions(value: boolean | cdktf.IResolvable);
119
+ resetDrainEphemeralSessions(): void;
120
+ get drainEphemeralSessionsInput(): any;
121
+ private _drainHost?;
122
+ get drainHost(): string;
123
+ set drainHost(value: string);
124
+ resetDrainHost(): void;
125
+ get drainHostInput(): string;
126
+ private _drainPassword?;
127
+ get drainPassword(): string;
128
+ set drainPassword(value: string);
129
+ resetDrainPassword(): void;
130
+ get drainPasswordInput(): string;
131
+ private _drainPort?;
132
+ get drainPort(): number;
133
+ set drainPort(value: number);
134
+ resetDrainPort(): void;
135
+ get drainPortInput(): number;
136
+ private _drainProxies?;
137
+ get drainProxies(): boolean | cdktf.IResolvable;
138
+ set drainProxies(value: boolean | cdktf.IResolvable);
139
+ resetDrainProxies(): void;
140
+ get drainProxiesInput(): any;
141
+ private _drainType?;
142
+ get drainType(): string;
143
+ set drainType(value: string);
144
+ get drainTypeInput(): string;
145
+ private _drainUsername?;
146
+ get drainUsername(): string;
147
+ set drainUsername(value: string);
148
+ resetDrainUsername(): void;
149
+ get drainUsernameInput(): string;
150
+ private _envId?;
151
+ get envId(): number;
152
+ set envId(value: number);
153
+ get envIdInput(): number;
154
+ private _handle?;
155
+ get handle(): string;
156
+ set handle(value: string);
157
+ get handleInput(): string;
158
+ private _id?;
159
+ get id(): string;
160
+ set id(value: string);
161
+ resetId(): void;
162
+ get idInput(): string;
163
+ get logDrainId(): any;
164
+ private _loggingToken?;
165
+ get loggingToken(): string;
166
+ set loggingToken(value: string);
167
+ resetLoggingToken(): void;
168
+ get loggingTokenInput(): string;
169
+ private _pipeline?;
170
+ get pipeline(): string;
171
+ set pipeline(value: string);
172
+ resetPipeline(): void;
173
+ get pipelineInput(): string;
174
+ private _tags?;
175
+ get tags(): string;
176
+ set tags(value: string);
177
+ resetTags(): void;
178
+ get tagsInput(): string;
179
+ private _token?;
180
+ get token(): string;
181
+ set token(value: string);
182
+ resetToken(): void;
183
+ get tokenInput(): string;
184
+ private _url?;
185
+ get url(): string;
186
+ set url(value: string);
187
+ resetUrl(): void;
188
+ get urlInput(): string;
189
+ protected synthesizeAttributes(): {
190
+ [name: string]: any;
191
+ };
192
+ protected synthesizeHclAttributes(): {
193
+ [name: string]: any;
194
+ };
195
+ }