@pulumi/aws 6.83.0-alpha.1749735083 → 6.83.0
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/amp/index.d.ts +3 -0
- package/amp/index.js +6 -1
- package/amp/index.js.map +1 -1
- package/amp/workspaceConfiguration.d.ts +149 -0
- package/amp/workspaceConfiguration.js +124 -0
- package/amp/workspaceConfiguration.js.map +1 -0
- package/cloudfront/keyvaluestoreKeysExclusive.d.ts +12 -0
- package/cloudfront/keyvaluestoreKeysExclusive.js +2 -0
- package/cloudfront/keyvaluestoreKeysExclusive.js.map +1 -1
- package/dsql/cluster.d.ts +170 -0
- package/dsql/cluster.js +94 -0
- package/dsql/cluster.js.map +1 -0
- package/dsql/clusterPeering.d.ts +114 -0
- package/dsql/clusterPeering.js +101 -0
- package/dsql/clusterPeering.js.map +1 -0
- package/dsql/index.d.ts +6 -0
- package/dsql/index.js +27 -0
- package/dsql/index.js.map +1 -0
- package/ec2/vpnConnection.d.ts +20 -0
- package/ec2/vpnConnection.js +4 -0
- package/ec2/vpnConnection.js.map +1 -1
- package/fsx/lustreFileSystem.d.ts +18 -3
- package/fsx/lustreFileSystem.js +4 -0
- package/fsx/lustreFileSystem.js.map +1 -1
- package/glue/job.d.ts +102 -5
- package/glue/job.js +102 -5
- package/glue/job.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.js +7 -3
- package/index.js.map +1 -1
- package/lambda/codeSigningConfig.d.ts +2 -2
- package/lambda/codeSigningConfig.js +2 -2
- package/lightsail/bucket.d.ts +40 -28
- package/lightsail/bucket.js +4 -4
- package/lightsail/bucket.js.map +1 -1
- package/lightsail/bucketAccessKey.d.ts +16 -16
- package/lightsail/bucketAccessKey.js +5 -5
- package/lightsail/bucketResourceAccess.d.ts +30 -8
- package/lightsail/bucketResourceAccess.js +24 -2
- package/lightsail/bucketResourceAccess.js.map +1 -1
- package/lightsail/certificate.d.ts +29 -23
- package/lightsail/certificate.js +6 -6
- package/lightsail/certificate.js.map +1 -1
- package/lightsail/containerService.d.ts +62 -97
- package/lightsail/containerService.js +11 -15
- package/lightsail/containerService.js.map +1 -1
- package/lightsail/containerServiceDeploymentVersion.d.ts +22 -16
- package/lightsail/containerServiceDeploymentVersion.js +1 -1
- package/lightsail/containerServiceDeploymentVersion.js.map +1 -1
- package/lightsail/database.d.ts +113 -109
- package/lightsail/database.js +36 -38
- package/lightsail/database.js.map +1 -1
- package/lightsail/disk.d.ts +30 -24
- package/lightsail/disk.js +4 -4
- package/lightsail/disk.js.map +1 -1
- package/lightsail/disk_attachment.d.ts +19 -19
- package/lightsail/disk_attachment.js +10 -10
- package/lightsail/distribution.d.ts +84 -88
- package/lightsail/distribution.js +32 -38
- package/lightsail/distribution.js.map +1 -1
- package/lightsail/domain.d.ts +10 -12
- package/lightsail/domain.js +5 -7
- package/lightsail/domain.js.map +1 -1
- package/lightsail/domainEntry.d.ts +27 -21
- package/lightsail/domainEntry.js +6 -6
- package/lightsail/domainEntry.js.map +1 -1
- package/lightsail/instance.d.ts +60 -78
- package/lightsail/instance.js +9 -12
- package/lightsail/instance.js.map +1 -1
- package/lightsail/instancePublicPorts.d.ts +29 -14
- package/lightsail/instancePublicPorts.js +26 -11
- package/lightsail/instancePublicPorts.js.map +1 -1
- package/lightsail/keyPair.d.ts +44 -34
- package/lightsail/keyPair.js +6 -9
- package/lightsail/keyPair.js.map +1 -1
- package/lightsail/lb.d.ts +47 -30
- package/lightsail/lb.js +6 -4
- package/lightsail/lb.js.map +1 -1
- package/lightsail/lbAttachment.d.ts +15 -15
- package/lightsail/lbAttachment.js +9 -9
- package/lightsail/lbCertificate.d.ts +41 -21
- package/lightsail/lbCertificate.js +10 -8
- package/lightsail/lbCertificate.js.map +1 -1
- package/lightsail/lbCertificateAttachment.d.ts +19 -17
- package/lightsail/lbCertificateAttachment.js +13 -11
- package/lightsail/lbCertificateAttachment.js.map +1 -1
- package/lightsail/lbHttpsRedirectionPolicy.d.ts +21 -19
- package/lightsail/lbHttpsRedirectionPolicy.js +15 -13
- package/lightsail/lbHttpsRedirectionPolicy.js.map +1 -1
- package/lightsail/lbStickinessPolicy.d.ts +17 -15
- package/lightsail/lbStickinessPolicy.js +8 -6
- package/lightsail/lbStickinessPolicy.js.map +1 -1
- package/lightsail/staticIp.d.ts +22 -12
- package/lightsail/staticIp.js +13 -3
- package/lightsail/staticIp.js.map +1 -1
- package/lightsail/staticIpAttachment.d.ts +28 -19
- package/lightsail/staticIpAttachment.js +20 -11
- package/lightsail/staticIpAttachment.js.map +1 -1
- package/neptune/cluster.d.ts +81 -90
- package/neptune/cluster.js.map +1 -1
- package/neptune/getEngineVersion.d.ts +95 -13
- package/neptune/getEngineVersion.js +22 -6
- package/neptune/getEngineVersion.js.map +1 -1
- package/neptune/globalCluster.d.ts +11 -14
- package/neptune/globalCluster.js.map +1 -1
- package/networkfirewall/ruleGroup.d.ts +46 -0
- package/networkfirewall/ruleGroup.js +46 -0
- package/networkfirewall/ruleGroup.js.map +1 -1
- package/package.json +2 -2
- package/pinpoint/smsvoicev2PhoneNumber.d.ts +12 -0
- package/pinpoint/smsvoicev2PhoneNumber.js +2 -0
- package/pinpoint/smsvoicev2PhoneNumber.js.map +1 -1
- package/s3/accessPoint.d.ts +22 -1
- package/s3/accessPoint.js +22 -1
- package/s3/accessPoint.js.map +1 -1
- package/s3control/directoryBucketAccessPointScope.d.ts +120 -0
- package/s3control/directoryBucketAccessPointScope.js +102 -0
- package/s3control/directoryBucketAccessPointScope.js.map +1 -0
- package/s3control/index.d.ts +3 -0
- package/s3control/index.js +6 -1
- package/s3control/index.js.map +1 -1
- package/ssm/association.d.ts +155 -0
- package/ssm/association.js +155 -0
- package/ssm/association.js.map +1 -1
- package/types/input.d.ts +579 -56
- package/types/input.js.map +1 -1
- package/types/output.d.ts +579 -56
- package/types/output.js.map +1 -1
- package/vpc/index.d.ts +15 -0
- package/vpc/index.js +26 -1
- package/vpc/index.js.map +1 -1
- package/vpc/routeServer.d.ts +197 -0
- package/vpc/routeServer.js +114 -0
- package/vpc/routeServer.js.map +1 -0
- package/vpc/routeServerEndpoint.d.ts +173 -0
- package/vpc/routeServerEndpoint.js +101 -0
- package/vpc/routeServerEndpoint.js.map +1 -0
- package/vpc/routeServerPeer.d.ts +233 -0
- package/vpc/routeServerPeer.js +154 -0
- package/vpc/routeServerPeer.js.map +1 -0
- package/vpc/routeServerPropagation.d.ts +90 -0
- package/vpc/routeServerPropagation.js +84 -0
- package/vpc/routeServerPropagation.js.map +1 -0
- package/vpc/routeServerVpcAssociation.d.ts +90 -0
- package/vpc/routeServerVpcAssociation.js +84 -0
- package/vpc/routeServerVpcAssociation.js.map +1 -0
- package/workspaces/index.d.ts +9 -0
- package/workspaces/index.js +16 -1
- package/workspaces/index.js.map +1 -1
- package/workspaces/webBrowserSettings.d.ts +5 -2
- package/workspaces/webBrowserSettings.js +7 -2
- package/workspaces/webBrowserSettings.js.map +1 -1
- package/workspaces/webDataProtectionSettings.d.ts +264 -0
- package/workspaces/webDataProtectionSettings.js +174 -0
- package/workspaces/webDataProtectionSettings.js.map +1 -0
- package/workspaces/webIpAccessSettings.d.ts +245 -0
- package/workspaces/webIpAccessSettings.js +155 -0
- package/workspaces/webIpAccessSettings.js.map +1 -0
- package/workspaces/webNetworkSettings.d.ts +4 -1
- package/workspaces/webNetworkSettings.js +6 -1
- package/workspaces/webNetworkSettings.js.map +1 -1
- package/workspaces/webUserAccessLoggingSettings.d.ts +152 -0
- package/workspaces/webUserAccessLoggingSettings.js +110 -0
- package/workspaces/webUserAccessLoggingSettings.js.map +1 -0
- package/workspaces/webUserSettings.d.ts +6 -3
- package/workspaces/webUserSettings.js +8 -3
- package/workspaces/webUserSettings.js.map +1 -1
- package/workspacesweb/browserSettings.d.ts +190 -0
- package/workspacesweb/browserSettings.js +122 -0
- package/workspacesweb/browserSettings.js.map +1 -0
- package/workspacesweb/dataProtectionSettings.d.ts +261 -0
- package/workspacesweb/dataProtectionSettings.js +171 -0
- package/workspacesweb/dataProtectionSettings.js.map +1 -0
- package/workspacesweb/index.d.ts +18 -0
- package/workspacesweb/index.js +47 -0
- package/workspacesweb/index.js.map +1 -0
- package/workspacesweb/ipAccessSettings.d.ts +242 -0
- package/workspacesweb/ipAccessSettings.js +152 -0
- package/workspacesweb/ipAccessSettings.js.map +1 -0
- package/workspacesweb/networkSettings.d.ts +181 -0
- package/workspacesweb/networkSettings.js +125 -0
- package/workspacesweb/networkSettings.js.map +1 -0
- package/workspacesweb/userAccessLoggingSettings.d.ts +149 -0
- package/workspacesweb/userAccessLoggingSettings.js +107 -0
- package/workspacesweb/userAccessLoggingSettings.js.map +1 -0
- package/workspacesweb/userSettings.d.ts +342 -0
- package/workspacesweb/userSettings.js +194 -0
- package/workspacesweb/userSettings.js.map +1 -0
package/lightsail/database.d.ts
CHANGED
|
@@ -1,61 +1,59 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* with custom software already setup. See [What is Amazon Lightsail?](https://lightsail.aws.amazon.com/ls/docs/getting-started/article/what-is-amazon-lightsail)
|
|
5
|
-
* for more information.
|
|
3
|
+
* Manages a Lightsail database. Use this resource to create and manage fully managed database instances with automated backups, monitoring, and maintenance in Lightsail.
|
|
6
4
|
*
|
|
7
5
|
* > **Note:** Lightsail is currently only supported in a limited number of AWS Regions, please see ["Regions and Availability Zones"](https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/) for more details
|
|
8
6
|
*
|
|
9
7
|
* ## Example Usage
|
|
10
8
|
*
|
|
11
|
-
* ### Basic
|
|
9
|
+
* ### Basic MySQL Blueprint
|
|
12
10
|
*
|
|
13
11
|
* ```typescript
|
|
14
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
13
|
* import * as aws from "@pulumi/aws";
|
|
16
14
|
*
|
|
17
|
-
* const
|
|
18
|
-
* relationalDatabaseName: "
|
|
15
|
+
* const example = new aws.lightsail.Database("example", {
|
|
16
|
+
* relationalDatabaseName: "example-database",
|
|
19
17
|
* availabilityZone: "us-east-1a",
|
|
20
|
-
* masterDatabaseName: "
|
|
21
|
-
* masterPassword: "
|
|
22
|
-
* masterUsername: "
|
|
18
|
+
* masterDatabaseName: "exampledb",
|
|
19
|
+
* masterPassword: "examplepassword123",
|
|
20
|
+
* masterUsername: "exampleuser",
|
|
23
21
|
* blueprintId: "mysql_8_0",
|
|
24
22
|
* bundleId: "micro_1_0",
|
|
25
23
|
* });
|
|
26
24
|
* ```
|
|
27
25
|
*
|
|
28
|
-
* ### Basic
|
|
26
|
+
* ### Basic PostgreSQL Blueprint
|
|
29
27
|
*
|
|
30
28
|
* ```typescript
|
|
31
29
|
* import * as pulumi from "@pulumi/pulumi";
|
|
32
30
|
* import * as aws from "@pulumi/aws";
|
|
33
31
|
*
|
|
34
|
-
* const
|
|
35
|
-
* relationalDatabaseName: "
|
|
32
|
+
* const example = new aws.lightsail.Database("example", {
|
|
33
|
+
* relationalDatabaseName: "example-database",
|
|
36
34
|
* availabilityZone: "us-east-1a",
|
|
37
|
-
* masterDatabaseName: "
|
|
38
|
-
* masterPassword: "
|
|
39
|
-
* masterUsername: "
|
|
35
|
+
* masterDatabaseName: "exampledb",
|
|
36
|
+
* masterPassword: "examplepassword123",
|
|
37
|
+
* masterUsername: "exampleuser",
|
|
40
38
|
* blueprintId: "postgres_12",
|
|
41
39
|
* bundleId: "micro_1_0",
|
|
42
40
|
* });
|
|
43
41
|
* ```
|
|
44
42
|
*
|
|
45
|
-
* ### Custom
|
|
43
|
+
* ### Custom Backup and Maintenance Windows
|
|
46
44
|
*
|
|
47
|
-
* Below is an example that sets a custom backup and maintenance window. Times are specified in UTC. This example will allow daily backups to take place between 16:00 and 16:30 each day. This example also requires any
|
|
45
|
+
* Below is an example that sets a custom backup and maintenance window. Times are specified in UTC. This example will allow daily backups to take place between 16:00 and 16:30 each day. This example also requires any maintenance tasks (anything that would cause an outage, including changing some attributes) to take place on Tuesdays between 17:00 and 17:30. An action taken against this database that would cause an outage will wait until this time window to make the requested changes.
|
|
48
46
|
*
|
|
49
47
|
* ```typescript
|
|
50
48
|
* import * as pulumi from "@pulumi/pulumi";
|
|
51
49
|
* import * as aws from "@pulumi/aws";
|
|
52
50
|
*
|
|
53
|
-
* const
|
|
54
|
-
* relationalDatabaseName: "
|
|
51
|
+
* const example = new aws.lightsail.Database("example", {
|
|
52
|
+
* relationalDatabaseName: "example-database",
|
|
55
53
|
* availabilityZone: "us-east-1a",
|
|
56
|
-
* masterDatabaseName: "
|
|
57
|
-
* masterPassword: "
|
|
58
|
-
* masterUsername: "
|
|
54
|
+
* masterDatabaseName: "exampledb",
|
|
55
|
+
* masterPassword: "examplepassword123",
|
|
56
|
+
* masterUsername: "exampleuser",
|
|
59
57
|
* blueprintId: "postgres_12",
|
|
60
58
|
* bundleId: "micro_1_0",
|
|
61
59
|
* preferredBackupWindow: "16:00-16:30",
|
|
@@ -71,41 +69,41 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
71
69
|
* import * as pulumi from "@pulumi/pulumi";
|
|
72
70
|
* import * as aws from "@pulumi/aws";
|
|
73
71
|
*
|
|
74
|
-
* const
|
|
75
|
-
* relationalDatabaseName: "
|
|
72
|
+
* const example = new aws.lightsail.Database("example", {
|
|
73
|
+
* relationalDatabaseName: "example-database",
|
|
76
74
|
* availabilityZone: "us-east-1a",
|
|
77
|
-
* masterDatabaseName: "
|
|
78
|
-
* masterPassword: "
|
|
79
|
-
* masterUsername: "
|
|
75
|
+
* masterDatabaseName: "exampledb",
|
|
76
|
+
* masterPassword: "examplepassword123",
|
|
77
|
+
* masterUsername: "exampleuser",
|
|
80
78
|
* blueprintId: "postgres_12",
|
|
81
79
|
* bundleId: "micro_1_0",
|
|
82
80
|
* preferredBackupWindow: "16:00-16:30",
|
|
83
81
|
* preferredMaintenanceWindow: "Tue:17:00-Tue:17:30",
|
|
84
|
-
* finalSnapshotName: "
|
|
82
|
+
* finalSnapshotName: "example-final-snapshot",
|
|
85
83
|
* });
|
|
86
84
|
* ```
|
|
87
85
|
*
|
|
88
86
|
* ### Apply Immediately
|
|
89
87
|
*
|
|
90
|
-
* To enable applying changes immediately instead of waiting for a
|
|
88
|
+
* To enable applying changes immediately instead of waiting for a maintenance window, use the `applyImmediately` argument.
|
|
91
89
|
*
|
|
92
90
|
* ```typescript
|
|
93
91
|
* import * as pulumi from "@pulumi/pulumi";
|
|
94
92
|
* import * as aws from "@pulumi/aws";
|
|
95
93
|
*
|
|
96
|
-
* const
|
|
97
|
-
* relationalDatabaseName: "
|
|
94
|
+
* const example = new aws.lightsail.Database("example", {
|
|
95
|
+
* relationalDatabaseName: "example-database",
|
|
98
96
|
* availabilityZone: "us-east-1a",
|
|
99
|
-
* masterDatabaseName: "
|
|
100
|
-
* masterPassword: "
|
|
101
|
-
* masterUsername: "
|
|
97
|
+
* masterDatabaseName: "exampledb",
|
|
98
|
+
* masterPassword: "examplepassword123",
|
|
99
|
+
* masterUsername: "exampleuser",
|
|
102
100
|
* blueprintId: "postgres_12",
|
|
103
101
|
* bundleId: "micro_1_0",
|
|
104
102
|
* applyImmediately: true,
|
|
105
103
|
* });
|
|
106
104
|
* ```
|
|
107
105
|
*
|
|
108
|
-
* ## Blueprint
|
|
106
|
+
* ## Blueprint IDs
|
|
109
107
|
*
|
|
110
108
|
* A list of all available Lightsail Blueprints for Relational Databases the [aws lightsail get-relational-database-blueprints](https://docs.aws.amazon.com/cli/latest/reference/lightsail/get-relational-database-blueprints.html) aws cli command.
|
|
111
109
|
*
|
|
@@ -120,7 +118,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
120
118
|
*
|
|
121
119
|
* ### Suffix
|
|
122
120
|
*
|
|
123
|
-
* A Blueprint ID has a
|
|
121
|
+
* A Blueprint ID has a suffix of the engine version.
|
|
124
122
|
*
|
|
125
123
|
* ## Bundles
|
|
126
124
|
*
|
|
@@ -144,7 +142,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
144
142
|
*
|
|
145
143
|
* ### Infixes (Optional for HA Database)
|
|
146
144
|
*
|
|
147
|
-
* A Bundle
|
|
145
|
+
* A Bundle ID can have the following infix added in order to use the HA option of the selected bundle.
|
|
148
146
|
*
|
|
149
147
|
* - `ha_`
|
|
150
148
|
*
|
|
@@ -157,7 +155,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
157
155
|
* Using `pulumi import`, import Lightsail Databases using their name. For example:
|
|
158
156
|
*
|
|
159
157
|
* ```sh
|
|
160
|
-
* $ pulumi import aws:lightsail/database:Database
|
|
158
|
+
* $ pulumi import aws:lightsail/database:Database example example-database
|
|
161
159
|
* ```
|
|
162
160
|
*/
|
|
163
161
|
export declare class Database extends pulumi.CustomResource {
|
|
@@ -177,117 +175,119 @@ export declare class Database extends pulumi.CustomResource {
|
|
|
177
175
|
*/
|
|
178
176
|
static isInstance(obj: any): obj is Database;
|
|
179
177
|
/**
|
|
180
|
-
*
|
|
178
|
+
* Whether to apply changes immediately. When false, applies changes during the preferred maintenance window. Some changes may cause an outage.
|
|
181
179
|
*/
|
|
182
180
|
readonly applyImmediately: pulumi.Output<boolean>;
|
|
183
181
|
/**
|
|
184
|
-
*
|
|
182
|
+
* ARN of the database (matches `id`).
|
|
185
183
|
*/
|
|
186
184
|
readonly arn: pulumi.Output<string>;
|
|
187
185
|
/**
|
|
188
|
-
*
|
|
186
|
+
* Availability Zone in which to create your database. Use the us-east-2a case-sensitive format.
|
|
189
187
|
*/
|
|
190
188
|
readonly availabilityZone: pulumi.Output<string>;
|
|
191
189
|
/**
|
|
192
|
-
*
|
|
190
|
+
* Whether to enable automated backup retention for your database. When false, disables automated backup retention for your database. Disabling backup retention deletes all automated database backups. Before disabling this, you may want to create a snapshot of your database.
|
|
193
191
|
*/
|
|
194
192
|
readonly backupRetentionEnabled: pulumi.Output<boolean | undefined>;
|
|
195
193
|
/**
|
|
196
|
-
*
|
|
194
|
+
* Blueprint ID for your database. A blueprint describes the major engine version of a database. You can get a list of database blueprints IDs by using the AWS CLI command: `aws lightsail get-relational-database-blueprints`
|
|
197
195
|
*/
|
|
198
196
|
readonly blueprintId: pulumi.Output<string>;
|
|
199
197
|
/**
|
|
200
|
-
*
|
|
198
|
+
* Bundle ID for your database. A bundle describes the performance specifications for your database (see list below). You can get a list of database bundle IDs by using the AWS CLI command: `aws lightsail get-relational-database-bundles`.
|
|
201
199
|
*/
|
|
202
200
|
readonly bundleId: pulumi.Output<string>;
|
|
203
201
|
/**
|
|
204
|
-
*
|
|
202
|
+
* Certificate associated with the database.
|
|
205
203
|
*/
|
|
206
204
|
readonly caCertificateIdentifier: pulumi.Output<string>;
|
|
207
205
|
/**
|
|
208
|
-
*
|
|
206
|
+
* Number of vCPUs for the database.
|
|
209
207
|
*/
|
|
210
208
|
readonly cpuCount: pulumi.Output<number>;
|
|
211
209
|
/**
|
|
212
|
-
*
|
|
210
|
+
* Date and time when the database was created.
|
|
213
211
|
*/
|
|
214
212
|
readonly createdAt: pulumi.Output<string>;
|
|
215
213
|
/**
|
|
216
|
-
*
|
|
214
|
+
* Size of the disk for the database.
|
|
217
215
|
*/
|
|
218
216
|
readonly diskSize: pulumi.Output<number>;
|
|
219
217
|
/**
|
|
220
|
-
*
|
|
218
|
+
* Database software (for example, MySQL).
|
|
221
219
|
*/
|
|
222
220
|
readonly engine: pulumi.Output<string>;
|
|
223
221
|
/**
|
|
224
|
-
*
|
|
222
|
+
* Database engine version (for example, 5.7.23).
|
|
225
223
|
*/
|
|
226
224
|
readonly engineVersion: pulumi.Output<string>;
|
|
227
225
|
/**
|
|
228
|
-
*
|
|
226
|
+
* Name of the database snapshot created if skip final snapshot is false, which is the default value for that parameter.
|
|
229
227
|
*/
|
|
230
228
|
readonly finalSnapshotName: pulumi.Output<string | undefined>;
|
|
231
229
|
/**
|
|
232
|
-
*
|
|
230
|
+
* Name of the master database created when the Lightsail database resource is created.
|
|
233
231
|
*/
|
|
234
232
|
readonly masterDatabaseName: pulumi.Output<string>;
|
|
235
233
|
/**
|
|
236
|
-
*
|
|
234
|
+
* Master endpoint FQDN for the database.
|
|
237
235
|
*/
|
|
238
236
|
readonly masterEndpointAddress: pulumi.Output<string>;
|
|
239
237
|
/**
|
|
240
|
-
*
|
|
238
|
+
* Master endpoint network port for the database.
|
|
241
239
|
*/
|
|
242
240
|
readonly masterEndpointPort: pulumi.Output<number>;
|
|
243
241
|
/**
|
|
244
|
-
*
|
|
242
|
+
* Password for the master user of your database. The password can include any printable ASCII character except "/", """, or "@".
|
|
245
243
|
*/
|
|
246
244
|
readonly masterPassword: pulumi.Output<string>;
|
|
247
245
|
/**
|
|
248
|
-
*
|
|
246
|
+
* Master user name for your database.
|
|
249
247
|
*/
|
|
250
248
|
readonly masterUsername: pulumi.Output<string>;
|
|
251
249
|
/**
|
|
252
|
-
*
|
|
250
|
+
* Daily time range during which automated backups are created for your database if automated backups are enabled. Must be in the hh24:mi-hh24:mi format. Example: `16:00-16:30`. Specified in Coordinated Universal Time (UTC).
|
|
253
251
|
*/
|
|
254
252
|
readonly preferredBackupWindow: pulumi.Output<string>;
|
|
255
253
|
/**
|
|
256
|
-
*
|
|
254
|
+
* Weekly time range during which system maintenance can occur on your database. Must be in the ddd:hh24:mi-ddd:hh24:mi format. Specified in Coordinated Universal Time (UTC). Example: `Tue:17:00-Tue:17:30`
|
|
257
255
|
*/
|
|
258
256
|
readonly preferredMaintenanceWindow: pulumi.Output<string>;
|
|
259
257
|
/**
|
|
260
|
-
*
|
|
258
|
+
* Whether the database is accessible to resources outside of your Lightsail account. A value of true specifies a database that is available to resources outside of your Lightsail account. A value of false specifies a database that is available only to your Lightsail resources in the same region as your database.
|
|
261
259
|
*/
|
|
262
260
|
readonly publiclyAccessible: pulumi.Output<boolean | undefined>;
|
|
263
261
|
/**
|
|
264
|
-
*
|
|
262
|
+
* Amount of RAM in GB for the database.
|
|
265
263
|
*/
|
|
266
264
|
readonly ramSize: pulumi.Output<number>;
|
|
267
265
|
/**
|
|
268
|
-
*
|
|
266
|
+
* Name to use for your Lightsail database resource. Names be unique within each AWS Region in your Lightsail account.
|
|
267
|
+
*
|
|
268
|
+
* The following arguments are optional:
|
|
269
269
|
*/
|
|
270
270
|
readonly relationalDatabaseName: pulumi.Output<string>;
|
|
271
271
|
/**
|
|
272
|
-
*
|
|
272
|
+
* Secondary Availability Zone of a high availability database. The secondary database is used for failover support of a high availability database.
|
|
273
273
|
*/
|
|
274
274
|
readonly secondaryAvailabilityZone: pulumi.Output<string>;
|
|
275
275
|
/**
|
|
276
|
-
*
|
|
276
|
+
* Whether a final database snapshot is created before your database is deleted. If true is specified, no database snapshot is created. If false is specified, a database snapshot is created before your database is deleted. You must specify the final relational database snapshot name parameter if the skip final snapshot parameter is false.
|
|
277
277
|
*/
|
|
278
278
|
readonly skipFinalSnapshot: pulumi.Output<boolean | undefined>;
|
|
279
279
|
/**
|
|
280
|
-
*
|
|
280
|
+
* Support code for the database. Include this code in your email to support when you have questions about a database in Lightsail. This code enables our support team to look up your Lightsail information more easily.
|
|
281
281
|
*/
|
|
282
282
|
readonly supportCode: pulumi.Output<string>;
|
|
283
283
|
/**
|
|
284
|
-
*
|
|
284
|
+
* Map of tags to assign to the resource. To create a key-only tag, use an empty string as the value. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
285
285
|
*/
|
|
286
286
|
readonly tags: pulumi.Output<{
|
|
287
287
|
[key: string]: string;
|
|
288
288
|
} | undefined>;
|
|
289
289
|
/**
|
|
290
|
-
*
|
|
290
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
291
291
|
*
|
|
292
292
|
* @deprecated Please use `tags` instead.
|
|
293
293
|
*/
|
|
@@ -308,117 +308,119 @@ export declare class Database extends pulumi.CustomResource {
|
|
|
308
308
|
*/
|
|
309
309
|
export interface DatabaseState {
|
|
310
310
|
/**
|
|
311
|
-
*
|
|
311
|
+
* Whether to apply changes immediately. When false, applies changes during the preferred maintenance window. Some changes may cause an outage.
|
|
312
312
|
*/
|
|
313
313
|
applyImmediately?: pulumi.Input<boolean>;
|
|
314
314
|
/**
|
|
315
|
-
*
|
|
315
|
+
* ARN of the database (matches `id`).
|
|
316
316
|
*/
|
|
317
317
|
arn?: pulumi.Input<string>;
|
|
318
318
|
/**
|
|
319
|
-
*
|
|
319
|
+
* Availability Zone in which to create your database. Use the us-east-2a case-sensitive format.
|
|
320
320
|
*/
|
|
321
321
|
availabilityZone?: pulumi.Input<string>;
|
|
322
322
|
/**
|
|
323
|
-
*
|
|
323
|
+
* Whether to enable automated backup retention for your database. When false, disables automated backup retention for your database. Disabling backup retention deletes all automated database backups. Before disabling this, you may want to create a snapshot of your database.
|
|
324
324
|
*/
|
|
325
325
|
backupRetentionEnabled?: pulumi.Input<boolean>;
|
|
326
326
|
/**
|
|
327
|
-
*
|
|
327
|
+
* Blueprint ID for your database. A blueprint describes the major engine version of a database. You can get a list of database blueprints IDs by using the AWS CLI command: `aws lightsail get-relational-database-blueprints`
|
|
328
328
|
*/
|
|
329
329
|
blueprintId?: pulumi.Input<string>;
|
|
330
330
|
/**
|
|
331
|
-
*
|
|
331
|
+
* Bundle ID for your database. A bundle describes the performance specifications for your database (see list below). You can get a list of database bundle IDs by using the AWS CLI command: `aws lightsail get-relational-database-bundles`.
|
|
332
332
|
*/
|
|
333
333
|
bundleId?: pulumi.Input<string>;
|
|
334
334
|
/**
|
|
335
|
-
*
|
|
335
|
+
* Certificate associated with the database.
|
|
336
336
|
*/
|
|
337
337
|
caCertificateIdentifier?: pulumi.Input<string>;
|
|
338
338
|
/**
|
|
339
|
-
*
|
|
339
|
+
* Number of vCPUs for the database.
|
|
340
340
|
*/
|
|
341
341
|
cpuCount?: pulumi.Input<number>;
|
|
342
342
|
/**
|
|
343
|
-
*
|
|
343
|
+
* Date and time when the database was created.
|
|
344
344
|
*/
|
|
345
345
|
createdAt?: pulumi.Input<string>;
|
|
346
346
|
/**
|
|
347
|
-
*
|
|
347
|
+
* Size of the disk for the database.
|
|
348
348
|
*/
|
|
349
349
|
diskSize?: pulumi.Input<number>;
|
|
350
350
|
/**
|
|
351
|
-
*
|
|
351
|
+
* Database software (for example, MySQL).
|
|
352
352
|
*/
|
|
353
353
|
engine?: pulumi.Input<string>;
|
|
354
354
|
/**
|
|
355
|
-
*
|
|
355
|
+
* Database engine version (for example, 5.7.23).
|
|
356
356
|
*/
|
|
357
357
|
engineVersion?: pulumi.Input<string>;
|
|
358
358
|
/**
|
|
359
|
-
*
|
|
359
|
+
* Name of the database snapshot created if skip final snapshot is false, which is the default value for that parameter.
|
|
360
360
|
*/
|
|
361
361
|
finalSnapshotName?: pulumi.Input<string>;
|
|
362
362
|
/**
|
|
363
|
-
*
|
|
363
|
+
* Name of the master database created when the Lightsail database resource is created.
|
|
364
364
|
*/
|
|
365
365
|
masterDatabaseName?: pulumi.Input<string>;
|
|
366
366
|
/**
|
|
367
|
-
*
|
|
367
|
+
* Master endpoint FQDN for the database.
|
|
368
368
|
*/
|
|
369
369
|
masterEndpointAddress?: pulumi.Input<string>;
|
|
370
370
|
/**
|
|
371
|
-
*
|
|
371
|
+
* Master endpoint network port for the database.
|
|
372
372
|
*/
|
|
373
373
|
masterEndpointPort?: pulumi.Input<number>;
|
|
374
374
|
/**
|
|
375
|
-
*
|
|
375
|
+
* Password for the master user of your database. The password can include any printable ASCII character except "/", """, or "@".
|
|
376
376
|
*/
|
|
377
377
|
masterPassword?: pulumi.Input<string>;
|
|
378
378
|
/**
|
|
379
|
-
*
|
|
379
|
+
* Master user name for your database.
|
|
380
380
|
*/
|
|
381
381
|
masterUsername?: pulumi.Input<string>;
|
|
382
382
|
/**
|
|
383
|
-
*
|
|
383
|
+
* Daily time range during which automated backups are created for your database if automated backups are enabled. Must be in the hh24:mi-hh24:mi format. Example: `16:00-16:30`. Specified in Coordinated Universal Time (UTC).
|
|
384
384
|
*/
|
|
385
385
|
preferredBackupWindow?: pulumi.Input<string>;
|
|
386
386
|
/**
|
|
387
|
-
*
|
|
387
|
+
* Weekly time range during which system maintenance can occur on your database. Must be in the ddd:hh24:mi-ddd:hh24:mi format. Specified in Coordinated Universal Time (UTC). Example: `Tue:17:00-Tue:17:30`
|
|
388
388
|
*/
|
|
389
389
|
preferredMaintenanceWindow?: pulumi.Input<string>;
|
|
390
390
|
/**
|
|
391
|
-
*
|
|
391
|
+
* Whether the database is accessible to resources outside of your Lightsail account. A value of true specifies a database that is available to resources outside of your Lightsail account. A value of false specifies a database that is available only to your Lightsail resources in the same region as your database.
|
|
392
392
|
*/
|
|
393
393
|
publiclyAccessible?: pulumi.Input<boolean>;
|
|
394
394
|
/**
|
|
395
|
-
*
|
|
395
|
+
* Amount of RAM in GB for the database.
|
|
396
396
|
*/
|
|
397
397
|
ramSize?: pulumi.Input<number>;
|
|
398
398
|
/**
|
|
399
|
-
*
|
|
399
|
+
* Name to use for your Lightsail database resource. Names be unique within each AWS Region in your Lightsail account.
|
|
400
|
+
*
|
|
401
|
+
* The following arguments are optional:
|
|
400
402
|
*/
|
|
401
403
|
relationalDatabaseName?: pulumi.Input<string>;
|
|
402
404
|
/**
|
|
403
|
-
*
|
|
405
|
+
* Secondary Availability Zone of a high availability database. The secondary database is used for failover support of a high availability database.
|
|
404
406
|
*/
|
|
405
407
|
secondaryAvailabilityZone?: pulumi.Input<string>;
|
|
406
408
|
/**
|
|
407
|
-
*
|
|
409
|
+
* Whether a final database snapshot is created before your database is deleted. If true is specified, no database snapshot is created. If false is specified, a database snapshot is created before your database is deleted. You must specify the final relational database snapshot name parameter if the skip final snapshot parameter is false.
|
|
408
410
|
*/
|
|
409
411
|
skipFinalSnapshot?: pulumi.Input<boolean>;
|
|
410
412
|
/**
|
|
411
|
-
*
|
|
413
|
+
* Support code for the database. Include this code in your email to support when you have questions about a database in Lightsail. This code enables our support team to look up your Lightsail information more easily.
|
|
412
414
|
*/
|
|
413
415
|
supportCode?: pulumi.Input<string>;
|
|
414
416
|
/**
|
|
415
|
-
*
|
|
417
|
+
* Map of tags to assign to the resource. To create a key-only tag, use an empty string as the value. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
416
418
|
*/
|
|
417
419
|
tags?: pulumi.Input<{
|
|
418
420
|
[key: string]: pulumi.Input<string>;
|
|
419
421
|
}>;
|
|
420
422
|
/**
|
|
421
|
-
*
|
|
423
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
422
424
|
*
|
|
423
425
|
* @deprecated Please use `tags` instead.
|
|
424
426
|
*/
|
|
@@ -431,63 +433,65 @@ export interface DatabaseState {
|
|
|
431
433
|
*/
|
|
432
434
|
export interface DatabaseArgs {
|
|
433
435
|
/**
|
|
434
|
-
*
|
|
436
|
+
* Whether to apply changes immediately. When false, applies changes during the preferred maintenance window. Some changes may cause an outage.
|
|
435
437
|
*/
|
|
436
438
|
applyImmediately?: pulumi.Input<boolean>;
|
|
437
439
|
/**
|
|
438
|
-
*
|
|
440
|
+
* Availability Zone in which to create your database. Use the us-east-2a case-sensitive format.
|
|
439
441
|
*/
|
|
440
442
|
availabilityZone?: pulumi.Input<string>;
|
|
441
443
|
/**
|
|
442
|
-
*
|
|
444
|
+
* Whether to enable automated backup retention for your database. When false, disables automated backup retention for your database. Disabling backup retention deletes all automated database backups. Before disabling this, you may want to create a snapshot of your database.
|
|
443
445
|
*/
|
|
444
446
|
backupRetentionEnabled?: pulumi.Input<boolean>;
|
|
445
447
|
/**
|
|
446
|
-
*
|
|
448
|
+
* Blueprint ID for your database. A blueprint describes the major engine version of a database. You can get a list of database blueprints IDs by using the AWS CLI command: `aws lightsail get-relational-database-blueprints`
|
|
447
449
|
*/
|
|
448
450
|
blueprintId: pulumi.Input<string>;
|
|
449
451
|
/**
|
|
450
|
-
*
|
|
452
|
+
* Bundle ID for your database. A bundle describes the performance specifications for your database (see list below). You can get a list of database bundle IDs by using the AWS CLI command: `aws lightsail get-relational-database-bundles`.
|
|
451
453
|
*/
|
|
452
454
|
bundleId: pulumi.Input<string>;
|
|
453
455
|
/**
|
|
454
|
-
*
|
|
456
|
+
* Name of the database snapshot created if skip final snapshot is false, which is the default value for that parameter.
|
|
455
457
|
*/
|
|
456
458
|
finalSnapshotName?: pulumi.Input<string>;
|
|
457
459
|
/**
|
|
458
|
-
*
|
|
460
|
+
* Name of the master database created when the Lightsail database resource is created.
|
|
459
461
|
*/
|
|
460
462
|
masterDatabaseName: pulumi.Input<string>;
|
|
461
463
|
/**
|
|
462
|
-
*
|
|
464
|
+
* Password for the master user of your database. The password can include any printable ASCII character except "/", """, or "@".
|
|
463
465
|
*/
|
|
464
466
|
masterPassword: pulumi.Input<string>;
|
|
465
467
|
/**
|
|
466
|
-
*
|
|
468
|
+
* Master user name for your database.
|
|
467
469
|
*/
|
|
468
470
|
masterUsername: pulumi.Input<string>;
|
|
469
471
|
/**
|
|
470
|
-
*
|
|
472
|
+
* Daily time range during which automated backups are created for your database if automated backups are enabled. Must be in the hh24:mi-hh24:mi format. Example: `16:00-16:30`. Specified in Coordinated Universal Time (UTC).
|
|
471
473
|
*/
|
|
472
474
|
preferredBackupWindow?: pulumi.Input<string>;
|
|
473
475
|
/**
|
|
474
|
-
*
|
|
476
|
+
* Weekly time range during which system maintenance can occur on your database. Must be in the ddd:hh24:mi-ddd:hh24:mi format. Specified in Coordinated Universal Time (UTC). Example: `Tue:17:00-Tue:17:30`
|
|
475
477
|
*/
|
|
476
478
|
preferredMaintenanceWindow?: pulumi.Input<string>;
|
|
477
479
|
/**
|
|
478
|
-
*
|
|
480
|
+
* Whether the database is accessible to resources outside of your Lightsail account. A value of true specifies a database that is available to resources outside of your Lightsail account. A value of false specifies a database that is available only to your Lightsail resources in the same region as your database.
|
|
479
481
|
*/
|
|
480
482
|
publiclyAccessible?: pulumi.Input<boolean>;
|
|
481
483
|
/**
|
|
482
|
-
*
|
|
484
|
+
* Name to use for your Lightsail database resource. Names be unique within each AWS Region in your Lightsail account.
|
|
485
|
+
*
|
|
486
|
+
* The following arguments are optional:
|
|
483
487
|
*/
|
|
484
488
|
relationalDatabaseName: pulumi.Input<string>;
|
|
485
489
|
/**
|
|
486
|
-
*
|
|
490
|
+
* Whether a final database snapshot is created before your database is deleted. If true is specified, no database snapshot is created. If false is specified, a database snapshot is created before your database is deleted. You must specify the final relational database snapshot name parameter if the skip final snapshot parameter is false.
|
|
487
491
|
*/
|
|
488
492
|
skipFinalSnapshot?: pulumi.Input<boolean>;
|
|
489
493
|
/**
|
|
490
|
-
*
|
|
494
|
+
* Map of tags to assign to the resource. To create a key-only tag, use an empty string as the value. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
491
495
|
*/
|
|
492
496
|
tags?: pulumi.Input<{
|
|
493
497
|
[key: string]: pulumi.Input<string>;
|