@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,58 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface DataAptibleBackupRetentionPolicyConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/backup_retention_policy#env_id DataAptibleBackupRetentionPolicy#env_id}
6
+ */
7
+ readonly envId: number;
8
+ /**
9
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/backup_retention_policy#id DataAptibleBackupRetentionPolicy#id}
10
+ *
11
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
12
+ * 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.
13
+ */
14
+ readonly id?: string;
15
+ }
16
+ /**
17
+ * Represents a {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/backup_retention_policy aptible_backup_retention_policy}
18
+ */
19
+ export declare class DataAptibleBackupRetentionPolicy extends cdktf.TerraformDataSource {
20
+ static readonly tfResourceType = "aptible_backup_retention_policy";
21
+ /**
22
+ * Generates CDKTF code for importing a DataAptibleBackupRetentionPolicy resource upon running "cdktf plan <stack-name>"
23
+ * @param scope The scope in which to define this construct
24
+ * @param importToId The construct id used in the generated config for the DataAptibleBackupRetentionPolicy to import
25
+ * @param importFromId The id of the existing DataAptibleBackupRetentionPolicy that should be imported. Refer to the {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/backup_retention_policy#import import section} in the documentation of this resource for the id to use
26
+ * @param provider? Optional instance of the provider where the DataAptibleBackupRetentionPolicy to import is found
27
+ */
28
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
29
+ /**
30
+ * Create a new {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/backup_retention_policy aptible_backup_retention_policy} Data Source
31
+ *
32
+ * @param scope The scope in which to define this construct
33
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
34
+ * @param options DataAptibleBackupRetentionPolicyConfig
35
+ */
36
+ constructor(scope: Construct, id: string, config: DataAptibleBackupRetentionPolicyConfig);
37
+ get daily(): any;
38
+ private _envId?;
39
+ get envId(): number;
40
+ set envId(value: number);
41
+ get envIdInput(): number;
42
+ private _id?;
43
+ get id(): string;
44
+ set id(value: string);
45
+ resetId(): void;
46
+ get idInput(): string;
47
+ get keepFinal(): any;
48
+ get makeCopy(): any;
49
+ get monthly(): any;
50
+ get policyId(): any;
51
+ get yearly(): any;
52
+ protected synthesizeAttributes(): {
53
+ [name: string]: any;
54
+ };
55
+ protected synthesizeHclAttributes(): {
56
+ [name: string]: any;
57
+ };
58
+ }
@@ -0,0 +1,135 @@
1
+ // https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/backup_retention_policy
2
+ // generated from terraform resource schema
3
+ import * as cdktf from 'cdktf';
4
+ /**
5
+ * Represents a {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/backup_retention_policy aptible_backup_retention_policy}
6
+ */
7
+ export class DataAptibleBackupRetentionPolicy extends cdktf.TerraformDataSource {
8
+ // =================
9
+ // STATIC PROPERTIES
10
+ // =================
11
+ static tfResourceType = "aptible_backup_retention_policy";
12
+ // ==============
13
+ // STATIC Methods
14
+ // ==============
15
+ /**
16
+ * Generates CDKTF code for importing a DataAptibleBackupRetentionPolicy 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 DataAptibleBackupRetentionPolicy to import
19
+ * @param importFromId The id of the existing DataAptibleBackupRetentionPolicy that should be imported. Refer to the {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/backup_retention_policy#import import section} in the documentation of this resource for the id to use
20
+ * @param provider? Optional instance of the provider where the DataAptibleBackupRetentionPolicy to import is found
21
+ */
22
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
23
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aptible_backup_retention_policy", importId: importFromId, provider });
24
+ }
25
+ // ===========
26
+ // INITIALIZER
27
+ // ===========
28
+ /**
29
+ * Create a new {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/backup_retention_policy aptible_backup_retention_policy} 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 DataAptibleBackupRetentionPolicyConfig
34
+ */
35
+ constructor(scope, id, config) {
36
+ super(scope, id, {
37
+ terraformResourceType: 'aptible_backup_retention_policy',
38
+ terraformGeneratorMetadata: {
39
+ providerName: 'aptible',
40
+ providerVersion: '0.9.18',
41
+ providerVersionConstraint: '0.9.18'
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._envId = config.envId;
52
+ this._id = config.id;
53
+ }
54
+ // ==========
55
+ // ATTRIBUTES
56
+ // ==========
57
+ // daily - computed: true, optional: false, required: false
58
+ get daily() {
59
+ return this.getNumberAttribute('daily');
60
+ }
61
+ // env_id - computed: false, optional: false, required: true
62
+ _envId;
63
+ get envId() {
64
+ return this.getNumberAttribute('env_id');
65
+ }
66
+ set envId(value) {
67
+ this._envId = value;
68
+ }
69
+ // Temporarily expose input value. Use with caution.
70
+ get envIdInput() {
71
+ return this._envId;
72
+ }
73
+ // id - computed: true, optional: true, required: false
74
+ _id;
75
+ get id() {
76
+ return this.getStringAttribute('id');
77
+ }
78
+ set id(value) {
79
+ this._id = value;
80
+ }
81
+ resetId() {
82
+ this._id = undefined;
83
+ }
84
+ // Temporarily expose input value. Use with caution.
85
+ get idInput() {
86
+ return this._id;
87
+ }
88
+ // keep_final - computed: true, optional: false, required: false
89
+ get keepFinal() {
90
+ return this.getBooleanAttribute('keep_final');
91
+ }
92
+ // make_copy - computed: true, optional: false, required: false
93
+ get makeCopy() {
94
+ return this.getBooleanAttribute('make_copy');
95
+ }
96
+ // monthly - computed: true, optional: false, required: false
97
+ get monthly() {
98
+ return this.getNumberAttribute('monthly');
99
+ }
100
+ // policy_id - computed: true, optional: false, required: false
101
+ get policyId() {
102
+ return this.getNumberAttribute('policy_id');
103
+ }
104
+ // yearly - computed: true, optional: false, required: false
105
+ get yearly() {
106
+ return this.getNumberAttribute('yearly');
107
+ }
108
+ // =========
109
+ // SYNTHESIS
110
+ // =========
111
+ synthesizeAttributes() {
112
+ return {
113
+ env_id: cdktf.numberToTerraform(this._envId),
114
+ id: cdktf.stringToTerraform(this._id),
115
+ };
116
+ }
117
+ synthesizeHclAttributes() {
118
+ const attrs = {
119
+ env_id: {
120
+ value: cdktf.numberToHclTerraform(this._envId),
121
+ isBlock: false,
122
+ type: "simple",
123
+ storageClassType: "number",
124
+ },
125
+ id: {
126
+ value: cdktf.stringToHclTerraform(this._id),
127
+ isBlock: false,
128
+ type: "simple",
129
+ storageClassType: "string",
130
+ },
131
+ };
132
+ // remove undefined attributes
133
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
134
+ }
135
+ }
@@ -0,0 +1,53 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface DataAptibleEnvironmentConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/environment#handle DataAptibleEnvironment#handle}
6
+ */
7
+ readonly handle: string;
8
+ /**
9
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/environment#id DataAptibleEnvironment#id}
10
+ *
11
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
12
+ * 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.
13
+ */
14
+ readonly id?: string;
15
+ }
16
+ /**
17
+ * Represents a {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/environment aptible_environment}
18
+ */
19
+ export declare class DataAptibleEnvironment extends cdktf.TerraformDataSource {
20
+ static readonly tfResourceType = "aptible_environment";
21
+ /**
22
+ * Generates CDKTF code for importing a DataAptibleEnvironment resource upon running "cdktf plan <stack-name>"
23
+ * @param scope The scope in which to define this construct
24
+ * @param importToId The construct id used in the generated config for the DataAptibleEnvironment to import
25
+ * @param importFromId The id of the existing DataAptibleEnvironment that should be imported. Refer to the {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/environment#import import section} in the documentation of this resource for the id to use
26
+ * @param provider? Optional instance of the provider where the DataAptibleEnvironment to import is found
27
+ */
28
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
29
+ /**
30
+ * Create a new {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/environment aptible_environment} Data Source
31
+ *
32
+ * @param scope The scope in which to define this construct
33
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
34
+ * @param options DataAptibleEnvironmentConfig
35
+ */
36
+ constructor(scope: Construct, id: string, config: DataAptibleEnvironmentConfig);
37
+ get envId(): any;
38
+ private _handle?;
39
+ get handle(): string;
40
+ set handle(value: string);
41
+ get handleInput(): string;
42
+ private _id?;
43
+ get id(): string;
44
+ set id(value: string);
45
+ resetId(): void;
46
+ get idInput(): string;
47
+ protected synthesizeAttributes(): {
48
+ [name: string]: any;
49
+ };
50
+ protected synthesizeHclAttributes(): {
51
+ [name: string]: any;
52
+ };
53
+ }
@@ -0,0 +1,115 @@
1
+ // https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/environment
2
+ // generated from terraform resource schema
3
+ import * as cdktf from 'cdktf';
4
+ /**
5
+ * Represents a {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/environment aptible_environment}
6
+ */
7
+ export class DataAptibleEnvironment extends cdktf.TerraformDataSource {
8
+ // =================
9
+ // STATIC PROPERTIES
10
+ // =================
11
+ static tfResourceType = "aptible_environment";
12
+ // ==============
13
+ // STATIC Methods
14
+ // ==============
15
+ /**
16
+ * Generates CDKTF code for importing a DataAptibleEnvironment 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 DataAptibleEnvironment to import
19
+ * @param importFromId The id of the existing DataAptibleEnvironment that should be imported. Refer to the {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/environment#import import section} in the documentation of this resource for the id to use
20
+ * @param provider? Optional instance of the provider where the DataAptibleEnvironment to import is found
21
+ */
22
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
23
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aptible_environment", importId: importFromId, provider });
24
+ }
25
+ // ===========
26
+ // INITIALIZER
27
+ // ===========
28
+ /**
29
+ * Create a new {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/environment aptible_environment} 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 DataAptibleEnvironmentConfig
34
+ */
35
+ constructor(scope, id, config) {
36
+ super(scope, id, {
37
+ terraformResourceType: 'aptible_environment',
38
+ terraformGeneratorMetadata: {
39
+ providerName: 'aptible',
40
+ providerVersion: '0.9.18',
41
+ providerVersionConstraint: '0.9.18'
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._handle = config.handle;
52
+ this._id = config.id;
53
+ }
54
+ // ==========
55
+ // ATTRIBUTES
56
+ // ==========
57
+ // env_id - computed: true, optional: false, required: false
58
+ get envId() {
59
+ return this.getNumberAttribute('env_id');
60
+ }
61
+ // handle - computed: false, optional: false, required: true
62
+ _handle;
63
+ get handle() {
64
+ return this.getStringAttribute('handle');
65
+ }
66
+ set handle(value) {
67
+ this._handle = value;
68
+ }
69
+ // Temporarily expose input value. Use with caution.
70
+ get handleInput() {
71
+ return this._handle;
72
+ }
73
+ // id - computed: true, optional: true, required: false
74
+ _id;
75
+ get id() {
76
+ return this.getStringAttribute('id');
77
+ }
78
+ set id(value) {
79
+ this._id = value;
80
+ }
81
+ resetId() {
82
+ this._id = undefined;
83
+ }
84
+ // Temporarily expose input value. Use with caution.
85
+ get idInput() {
86
+ return this._id;
87
+ }
88
+ // =========
89
+ // SYNTHESIS
90
+ // =========
91
+ synthesizeAttributes() {
92
+ return {
93
+ handle: cdktf.stringToTerraform(this._handle),
94
+ id: cdktf.stringToTerraform(this._id),
95
+ };
96
+ }
97
+ synthesizeHclAttributes() {
98
+ const attrs = {
99
+ handle: {
100
+ value: cdktf.stringToHclTerraform(this._handle),
101
+ isBlock: false,
102
+ type: "simple",
103
+ storageClassType: "string",
104
+ },
105
+ id: {
106
+ value: cdktf.stringToHclTerraform(this._id),
107
+ isBlock: false,
108
+ type: "simple",
109
+ storageClassType: "string",
110
+ },
111
+ };
112
+ // remove undefined attributes
113
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
114
+ }
115
+ }
@@ -0,0 +1,54 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface DataAptibleStackConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/stack#id DataAptibleStack#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
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/stack#name DataAptibleStack#name}
13
+ */
14
+ readonly name: string;
15
+ }
16
+ /**
17
+ * Represents a {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/stack aptible_stack}
18
+ */
19
+ export declare class DataAptibleStack extends cdktf.TerraformDataSource {
20
+ static readonly tfResourceType = "aptible_stack";
21
+ /**
22
+ * Generates CDKTF code for importing a DataAptibleStack resource upon running "cdktf plan <stack-name>"
23
+ * @param scope The scope in which to define this construct
24
+ * @param importToId The construct id used in the generated config for the DataAptibleStack to import
25
+ * @param importFromId The id of the existing DataAptibleStack that should be imported. Refer to the {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/stack#import import section} in the documentation of this resource for the id to use
26
+ * @param provider? Optional instance of the provider where the DataAptibleStack to import is found
27
+ */
28
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
29
+ /**
30
+ * Create a new {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/stack aptible_stack} Data Source
31
+ *
32
+ * @param scope The scope in which to define this construct
33
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
34
+ * @param options DataAptibleStackConfig
35
+ */
36
+ constructor(scope: Construct, id: string, config: DataAptibleStackConfig);
37
+ private _id?;
38
+ get id(): string;
39
+ set id(value: string);
40
+ resetId(): void;
41
+ get idInput(): string;
42
+ private _name?;
43
+ get name(): string;
44
+ set name(value: string);
45
+ get nameInput(): string;
46
+ get orgId(): any;
47
+ get stackId(): any;
48
+ protected synthesizeAttributes(): {
49
+ [name: string]: any;
50
+ };
51
+ protected synthesizeHclAttributes(): {
52
+ [name: string]: any;
53
+ };
54
+ }
@@ -0,0 +1,119 @@
1
+ // https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/stack
2
+ // generated from terraform resource schema
3
+ import * as cdktf from 'cdktf';
4
+ /**
5
+ * Represents a {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/stack aptible_stack}
6
+ */
7
+ export class DataAptibleStack extends cdktf.TerraformDataSource {
8
+ // =================
9
+ // STATIC PROPERTIES
10
+ // =================
11
+ static tfResourceType = "aptible_stack";
12
+ // ==============
13
+ // STATIC Methods
14
+ // ==============
15
+ /**
16
+ * Generates CDKTF code for importing a DataAptibleStack 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 DataAptibleStack to import
19
+ * @param importFromId The id of the existing DataAptibleStack that should be imported. Refer to the {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/stack#import import section} in the documentation of this resource for the id to use
20
+ * @param provider? Optional instance of the provider where the DataAptibleStack to import is found
21
+ */
22
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
23
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aptible_stack", importId: importFromId, provider });
24
+ }
25
+ // ===========
26
+ // INITIALIZER
27
+ // ===========
28
+ /**
29
+ * Create a new {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/data-sources/stack aptible_stack} 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 DataAptibleStackConfig
34
+ */
35
+ constructor(scope, id, config) {
36
+ super(scope, id, {
37
+ terraformResourceType: 'aptible_stack',
38
+ terraformGeneratorMetadata: {
39
+ providerName: 'aptible',
40
+ providerVersion: '0.9.18',
41
+ providerVersionConstraint: '0.9.18'
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
+ this._name = config.name;
53
+ }
54
+ // ==========
55
+ // ATTRIBUTES
56
+ // ==========
57
+ // id - computed: true, optional: true, required: false
58
+ _id;
59
+ get id() {
60
+ return this.getStringAttribute('id');
61
+ }
62
+ set id(value) {
63
+ this._id = value;
64
+ }
65
+ resetId() {
66
+ this._id = undefined;
67
+ }
68
+ // Temporarily expose input value. Use with caution.
69
+ get idInput() {
70
+ return this._id;
71
+ }
72
+ // name - computed: false, optional: false, required: true
73
+ _name;
74
+ get name() {
75
+ return this.getStringAttribute('name');
76
+ }
77
+ set name(value) {
78
+ this._name = value;
79
+ }
80
+ // Temporarily expose input value. Use with caution.
81
+ get nameInput() {
82
+ return this._name;
83
+ }
84
+ // org_id - computed: true, optional: false, required: false
85
+ get orgId() {
86
+ return this.getStringAttribute('org_id');
87
+ }
88
+ // stack_id - computed: true, optional: false, required: false
89
+ get stackId() {
90
+ return this.getNumberAttribute('stack_id');
91
+ }
92
+ // =========
93
+ // SYNTHESIS
94
+ // =========
95
+ synthesizeAttributes() {
96
+ return {
97
+ id: cdktf.stringToTerraform(this._id),
98
+ name: cdktf.stringToTerraform(this._name),
99
+ };
100
+ }
101
+ synthesizeHclAttributes() {
102
+ const attrs = {
103
+ id: {
104
+ value: cdktf.stringToHclTerraform(this._id),
105
+ isBlock: false,
106
+ type: "simple",
107
+ storageClassType: "string",
108
+ },
109
+ name: {
110
+ value: cdktf.stringToHclTerraform(this._name),
111
+ isBlock: false,
112
+ type: "simple",
113
+ storageClassType: "string",
114
+ },
115
+ };
116
+ // remove undefined attributes
117
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
118
+ }
119
+ }
@@ -0,0 +1,127 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface DatabaseConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/database#container_profile Database#container_profile}
6
+ */
7
+ readonly containerProfile?: string;
8
+ /**
9
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/database#container_size Database#container_size}
10
+ */
11
+ readonly containerSize?: number;
12
+ /**
13
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/database#database_type Database#database_type}
14
+ */
15
+ readonly databaseType?: string;
16
+ /**
17
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/database#disk_size Database#disk_size}
18
+ */
19
+ readonly diskSize?: number;
20
+ /**
21
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/database#enable_backups Database#enable_backups}
22
+ */
23
+ readonly enableBackups?: boolean | cdktf.IResolvable;
24
+ /**
25
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/database#env_id Database#env_id}
26
+ */
27
+ readonly envId: number;
28
+ /**
29
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/database#handle Database#handle}
30
+ */
31
+ readonly handle: string;
32
+ /**
33
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/database#id Database#id}
34
+ *
35
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
36
+ * 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.
37
+ */
38
+ readonly id?: string;
39
+ /**
40
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/database#iops Database#iops}
41
+ */
42
+ readonly iops?: number;
43
+ /**
44
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/database#version Database#version}
45
+ */
46
+ readonly version?: string;
47
+ }
48
+ /**
49
+ * Represents a {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/database aptible_database}
50
+ */
51
+ export declare class Database extends cdktf.TerraformResource {
52
+ static readonly tfResourceType = "aptible_database";
53
+ /**
54
+ * Generates CDKTF code for importing a Database resource upon running "cdktf plan <stack-name>"
55
+ * @param scope The scope in which to define this construct
56
+ * @param importToId The construct id used in the generated config for the Database to import
57
+ * @param importFromId The id of the existing Database that should be imported. Refer to the {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/database#import import section} in the documentation of this resource for the id to use
58
+ * @param provider? Optional instance of the provider where the Database to import is found
59
+ */
60
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
61
+ /**
62
+ * Create a new {@link https://registry.terraform.io/providers/aptible/aptible/0.9.18/docs/resources/database aptible_database} Resource
63
+ *
64
+ * @param scope The scope in which to define this construct
65
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
66
+ * @param options DatabaseConfig
67
+ */
68
+ constructor(scope: Construct, id: string, config: DatabaseConfig);
69
+ get connectionUrls(): any;
70
+ private _containerProfile?;
71
+ get containerProfile(): string;
72
+ set containerProfile(value: string);
73
+ resetContainerProfile(): void;
74
+ get containerProfileInput(): string;
75
+ private _containerSize?;
76
+ get containerSize(): number;
77
+ set containerSize(value: number);
78
+ resetContainerSize(): void;
79
+ get containerSizeInput(): number;
80
+ get databaseId(): any;
81
+ get databaseImageId(): any;
82
+ private _databaseType?;
83
+ get databaseType(): string;
84
+ set databaseType(value: string);
85
+ resetDatabaseType(): void;
86
+ get databaseTypeInput(): string;
87
+ get defaultConnectionUrl(): any;
88
+ private _diskSize?;
89
+ get diskSize(): number;
90
+ set diskSize(value: number);
91
+ resetDiskSize(): void;
92
+ get diskSizeInput(): number;
93
+ private _enableBackups?;
94
+ get enableBackups(): boolean | cdktf.IResolvable;
95
+ set enableBackups(value: boolean | cdktf.IResolvable);
96
+ resetEnableBackups(): void;
97
+ get enableBackupsInput(): any;
98
+ private _envId?;
99
+ get envId(): number;
100
+ set envId(value: number);
101
+ get envIdInput(): number;
102
+ private _handle?;
103
+ get handle(): string;
104
+ set handle(value: string);
105
+ get handleInput(): string;
106
+ private _id?;
107
+ get id(): string;
108
+ set id(value: string);
109
+ resetId(): void;
110
+ get idInput(): string;
111
+ private _iops?;
112
+ get iops(): number;
113
+ set iops(value: number);
114
+ resetIops(): void;
115
+ get iopsInput(): number;
116
+ private _version?;
117
+ get version(): string;
118
+ set version(value: string);
119
+ resetVersion(): void;
120
+ get versionInput(): string;
121
+ protected synthesizeAttributes(): {
122
+ [name: string]: any;
123
+ };
124
+ protected synthesizeHclAttributes(): {
125
+ [name: string]: any;
126
+ };
127
+ }