@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance.js","sourceRoot":"","sources":["../../lightsail/instance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"instance.js","sourceRoot":"","sources":["../../lightsail/instance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuEG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAA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4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Manages public ports for a Lightsail instance. Use this resource to open ports for a specific Amazon Lightsail instance and specify the IP addresses allowed to connect to the instance through the ports and the protocol.
|
|
6
6
|
*
|
|
7
7
|
* > See [What is Amazon Lightsail?](https://lightsail.aws.amazon.com/ls/docs/getting-started/article/what-is-amazon-lightsail) for more information.
|
|
8
8
|
*
|
|
@@ -14,19 +14,34 @@ import * as outputs from "../types/output";
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as aws from "@pulumi/aws";
|
|
16
16
|
*
|
|
17
|
-
* const
|
|
18
|
-
*
|
|
19
|
-
*
|
|
17
|
+
* const available = aws.getAvailabilityZones({
|
|
18
|
+
* state: "available",
|
|
19
|
+
* filters: [{
|
|
20
|
+
* name: "opt-in-status",
|
|
21
|
+
* values: ["opt-in-not-required"],
|
|
22
|
+
* }],
|
|
23
|
+
* });
|
|
24
|
+
* const example = new aws.lightsail.Instance("example", {
|
|
25
|
+
* name: "example-instance",
|
|
26
|
+
* availabilityZone: available.then(available => available.names?.[0]),
|
|
20
27
|
* blueprintId: "amazon_linux_2",
|
|
21
28
|
* bundleId: "nano_3_0",
|
|
22
29
|
* });
|
|
23
|
-
* const
|
|
24
|
-
* instanceName:
|
|
25
|
-
* portInfos: [
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
+
* const exampleInstancePublicPorts = new aws.lightsail.InstancePublicPorts("example", {
|
|
31
|
+
* instanceName: example.name,
|
|
32
|
+
* portInfos: [
|
|
33
|
+
* {
|
|
34
|
+
* protocol: "tcp",
|
|
35
|
+
* fromPort: 80,
|
|
36
|
+
* toPort: 80,
|
|
37
|
+
* },
|
|
38
|
+
* {
|
|
39
|
+
* protocol: "tcp",
|
|
40
|
+
* fromPort: 443,
|
|
41
|
+
* toPort: 443,
|
|
42
|
+
* cidrs: ["192.168.1.0/24"],
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
30
45
|
* });
|
|
31
46
|
* ```
|
|
32
47
|
*/
|
|
@@ -51,7 +66,7 @@ export declare class InstancePublicPorts extends pulumi.CustomResource {
|
|
|
51
66
|
*/
|
|
52
67
|
readonly instanceName: pulumi.Output<string>;
|
|
53
68
|
/**
|
|
54
|
-
* Configuration block with port information. AWS closes all currently open ports that are not included in the `portInfo`.
|
|
69
|
+
* Configuration block with port information. AWS closes all currently open ports that are not included in the `portInfo`. See below.
|
|
55
70
|
*/
|
|
56
71
|
readonly portInfos: pulumi.Output<outputs.lightsail.InstancePublicPortsPortInfo[]>;
|
|
57
72
|
/**
|
|
@@ -72,7 +87,7 @@ export interface InstancePublicPortsState {
|
|
|
72
87
|
*/
|
|
73
88
|
instanceName?: pulumi.Input<string>;
|
|
74
89
|
/**
|
|
75
|
-
* Configuration block with port information. AWS closes all currently open ports that are not included in the `portInfo`.
|
|
90
|
+
* Configuration block with port information. AWS closes all currently open ports that are not included in the `portInfo`. See below.
|
|
76
91
|
*/
|
|
77
92
|
portInfos?: pulumi.Input<pulumi.Input<inputs.lightsail.InstancePublicPortsPortInfo>[]>;
|
|
78
93
|
}
|
|
@@ -85,7 +100,7 @@ export interface InstancePublicPortsArgs {
|
|
|
85
100
|
*/
|
|
86
101
|
instanceName: pulumi.Input<string>;
|
|
87
102
|
/**
|
|
88
|
-
* Configuration block with port information. AWS closes all currently open ports that are not included in the `portInfo`.
|
|
103
|
+
* Configuration block with port information. AWS closes all currently open ports that are not included in the `portInfo`. See below.
|
|
89
104
|
*/
|
|
90
105
|
portInfos: pulumi.Input<pulumi.Input<inputs.lightsail.InstancePublicPortsPortInfo>[]>;
|
|
91
106
|
}
|
|
@@ -6,7 +6,7 @@ exports.InstancePublicPorts = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Manages public ports for a Lightsail instance. Use this resource to open ports for a specific Amazon Lightsail instance and specify the IP addresses allowed to connect to the instance through the ports and the protocol.
|
|
10
10
|
*
|
|
11
11
|
* > See [What is Amazon Lightsail?](https://lightsail.aws.amazon.com/ls/docs/getting-started/article/what-is-amazon-lightsail) for more information.
|
|
12
12
|
*
|
|
@@ -18,19 +18,34 @@ const utilities = require("../utilities");
|
|
|
18
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
19
|
* import * as aws from "@pulumi/aws";
|
|
20
20
|
*
|
|
21
|
-
* const
|
|
22
|
-
*
|
|
23
|
-
*
|
|
21
|
+
* const available = aws.getAvailabilityZones({
|
|
22
|
+
* state: "available",
|
|
23
|
+
* filters: [{
|
|
24
|
+
* name: "opt-in-status",
|
|
25
|
+
* values: ["opt-in-not-required"],
|
|
26
|
+
* }],
|
|
27
|
+
* });
|
|
28
|
+
* const example = new aws.lightsail.Instance("example", {
|
|
29
|
+
* name: "example-instance",
|
|
30
|
+
* availabilityZone: available.then(available => available.names?.[0]),
|
|
24
31
|
* blueprintId: "amazon_linux_2",
|
|
25
32
|
* bundleId: "nano_3_0",
|
|
26
33
|
* });
|
|
27
|
-
* const
|
|
28
|
-
* instanceName:
|
|
29
|
-
* portInfos: [
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
+
* const exampleInstancePublicPorts = new aws.lightsail.InstancePublicPorts("example", {
|
|
35
|
+
* instanceName: example.name,
|
|
36
|
+
* portInfos: [
|
|
37
|
+
* {
|
|
38
|
+
* protocol: "tcp",
|
|
39
|
+
* fromPort: 80,
|
|
40
|
+
* toPort: 80,
|
|
41
|
+
* },
|
|
42
|
+
* {
|
|
43
|
+
* protocol: "tcp",
|
|
44
|
+
* fromPort: 443,
|
|
45
|
+
* toPort: 443,
|
|
46
|
+
* cidrs: ["192.168.1.0/24"],
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
34
49
|
* });
|
|
35
50
|
* ```
|
|
36
51
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instancePublicPorts.js","sourceRoot":"","sources":["../../lightsail/instancePublicPorts.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"instancePublicPorts.js","sourceRoot":"","sources":["../../lightsail/instancePublicPorts.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;aAAM;YACH,MAAM,IAAI,GAAG,WAAkD,CAAC;YAChE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzD,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAjEL,kDAkEC;AApDG,gBAAgB;AACO,gCAAY,GAAG,uDAAuD,CAAC"}
|
package/lightsail/keyPair.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* are separate from EC2 Key Pairs, and must be created or imported for use with
|
|
5
|
-
* Lightsail.
|
|
3
|
+
* Manages a Lightsail Key Pair for use with Lightsail Instances. Use this resource to create or import key pairs that are separate from EC2 Key Pairs and required for Lightsail instances.
|
|
6
4
|
*
|
|
7
5
|
* > **Note:** Lightsail is currently only supported in a limited number of AWS Regions, please see ["Regions and Availability Zones in Amazon Lightsail"](https://lightsail.aws.amazon.com/ls/docs/overview/article/understanding-regions-and-availability-zones-in-amazon-lightsail) for more details
|
|
8
6
|
*
|
|
@@ -14,8 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
13
|
* import * as aws from "@pulumi/aws";
|
|
16
14
|
*
|
|
17
|
-
*
|
|
18
|
-
* const lgKeyPair = new aws.lightsail.KeyPair("lg_key_pair", {name: "lg_key_pair"});
|
|
15
|
+
* const example = new aws.lightsail.KeyPair("example", {name: "example"});
|
|
19
16
|
* ```
|
|
20
17
|
*
|
|
21
18
|
* ### Create New Key Pair with PGP Encrypted Private Key
|
|
@@ -24,8 +21,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
24
21
|
* import * as pulumi from "@pulumi/pulumi";
|
|
25
22
|
* import * as aws from "@pulumi/aws";
|
|
26
23
|
*
|
|
27
|
-
* const
|
|
28
|
-
* name: "
|
|
24
|
+
* const example = new aws.lightsail.KeyPair("example", {
|
|
25
|
+
* name: "example",
|
|
29
26
|
* pgpKey: "keybase:keybaseusername",
|
|
30
27
|
* });
|
|
31
28
|
* ```
|
|
@@ -37,8 +34,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
37
34
|
* import * as aws from "@pulumi/aws";
|
|
38
35
|
* import * as std from "@pulumi/std";
|
|
39
36
|
*
|
|
40
|
-
* const
|
|
41
|
-
* name: "
|
|
37
|
+
* const example = new aws.lightsail.KeyPair("example", {
|
|
38
|
+
* name: "example",
|
|
42
39
|
* publicKey: std.file({
|
|
43
40
|
* input: "~/.ssh/id_rsa.pub",
|
|
44
41
|
* }).then(invoke => invoke.result),
|
|
@@ -66,47 +63,52 @@ export declare class KeyPair extends pulumi.CustomResource {
|
|
|
66
63
|
*/
|
|
67
64
|
static isInstance(obj: any): obj is KeyPair;
|
|
68
65
|
/**
|
|
69
|
-
*
|
|
66
|
+
* ARN of the Lightsail key pair.
|
|
70
67
|
*/
|
|
71
68
|
readonly arn: pulumi.Output<string>;
|
|
72
69
|
/**
|
|
73
|
-
*
|
|
70
|
+
* MD5 public key fingerprint for the encrypted private key.
|
|
74
71
|
*/
|
|
75
72
|
readonly encryptedFingerprint: pulumi.Output<string>;
|
|
76
73
|
/**
|
|
77
|
-
*
|
|
74
|
+
* Private key material, base 64 encoded and encrypted with the given `pgpKey`. This is only populated when creating a new key and `pgpKey` is supplied.
|
|
78
75
|
*/
|
|
79
76
|
readonly encryptedPrivateKey: pulumi.Output<string>;
|
|
80
77
|
/**
|
|
81
|
-
*
|
|
78
|
+
* MD5 public key fingerprint as specified in section 4 of RFC 4716.
|
|
82
79
|
*/
|
|
83
80
|
readonly fingerprint: pulumi.Output<string>;
|
|
84
81
|
/**
|
|
85
|
-
*
|
|
82
|
+
* Name of the Lightsail Key Pair. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
|
|
86
83
|
*/
|
|
87
84
|
readonly name: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* Creates a unique name beginning with the specified prefix. Conflicts with `name`.
|
|
87
|
+
*/
|
|
88
88
|
readonly namePrefix: pulumi.Output<string>;
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
90
|
+
* PGP key to encrypt the resulting private key material. Only used when creating a new key pair.
|
|
91
91
|
*/
|
|
92
92
|
readonly pgpKey: pulumi.Output<string | undefined>;
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
94
|
+
* Private key, base64 encoded. This is only populated when creating a new key, and when no `pgpKey` is provided.
|
|
95
95
|
*/
|
|
96
96
|
readonly privateKey: pulumi.Output<string>;
|
|
97
97
|
/**
|
|
98
|
-
*
|
|
98
|
+
* Public key material. This public key will be imported into Lightsail.
|
|
99
99
|
*/
|
|
100
100
|
readonly publicKey: pulumi.Output<string>;
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
102
|
+
* 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.
|
|
103
103
|
*
|
|
104
|
-
* > **
|
|
104
|
+
* > **Note:** A PGP key is not required, however it is strongly encouraged. Without a PGP key, the private key material will be stored in state unencrypted. `pgpKey` is ignored if `publicKey` is supplied.
|
|
105
105
|
*/
|
|
106
106
|
readonly tags: pulumi.Output<{
|
|
107
107
|
[key: string]: string;
|
|
108
108
|
} | undefined>;
|
|
109
109
|
/**
|
|
110
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
111
|
+
*
|
|
110
112
|
* @deprecated Please use `tags` instead.
|
|
111
113
|
*/
|
|
112
114
|
readonly tagsAll: pulumi.Output<{
|
|
@@ -126,47 +128,52 @@ export declare class KeyPair extends pulumi.CustomResource {
|
|
|
126
128
|
*/
|
|
127
129
|
export interface KeyPairState {
|
|
128
130
|
/**
|
|
129
|
-
*
|
|
131
|
+
* ARN of the Lightsail key pair.
|
|
130
132
|
*/
|
|
131
133
|
arn?: pulumi.Input<string>;
|
|
132
134
|
/**
|
|
133
|
-
*
|
|
135
|
+
* MD5 public key fingerprint for the encrypted private key.
|
|
134
136
|
*/
|
|
135
137
|
encryptedFingerprint?: pulumi.Input<string>;
|
|
136
138
|
/**
|
|
137
|
-
*
|
|
139
|
+
* Private key material, base 64 encoded and encrypted with the given `pgpKey`. This is only populated when creating a new key and `pgpKey` is supplied.
|
|
138
140
|
*/
|
|
139
141
|
encryptedPrivateKey?: pulumi.Input<string>;
|
|
140
142
|
/**
|
|
141
|
-
*
|
|
143
|
+
* MD5 public key fingerprint as specified in section 4 of RFC 4716.
|
|
142
144
|
*/
|
|
143
145
|
fingerprint?: pulumi.Input<string>;
|
|
144
146
|
/**
|
|
145
|
-
*
|
|
147
|
+
* Name of the Lightsail Key Pair. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
|
|
146
148
|
*/
|
|
147
149
|
name?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Creates a unique name beginning with the specified prefix. Conflicts with `name`.
|
|
152
|
+
*/
|
|
148
153
|
namePrefix?: pulumi.Input<string>;
|
|
149
154
|
/**
|
|
150
|
-
*
|
|
155
|
+
* PGP key to encrypt the resulting private key material. Only used when creating a new key pair.
|
|
151
156
|
*/
|
|
152
157
|
pgpKey?: pulumi.Input<string>;
|
|
153
158
|
/**
|
|
154
|
-
*
|
|
159
|
+
* Private key, base64 encoded. This is only populated when creating a new key, and when no `pgpKey` is provided.
|
|
155
160
|
*/
|
|
156
161
|
privateKey?: pulumi.Input<string>;
|
|
157
162
|
/**
|
|
158
|
-
*
|
|
163
|
+
* Public key material. This public key will be imported into Lightsail.
|
|
159
164
|
*/
|
|
160
165
|
publicKey?: pulumi.Input<string>;
|
|
161
166
|
/**
|
|
162
|
-
*
|
|
167
|
+
* 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.
|
|
163
168
|
*
|
|
164
|
-
* > **
|
|
169
|
+
* > **Note:** A PGP key is not required, however it is strongly encouraged. Without a PGP key, the private key material will be stored in state unencrypted. `pgpKey` is ignored if `publicKey` is supplied.
|
|
165
170
|
*/
|
|
166
171
|
tags?: pulumi.Input<{
|
|
167
172
|
[key: string]: pulumi.Input<string>;
|
|
168
173
|
}>;
|
|
169
174
|
/**
|
|
175
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
176
|
+
*
|
|
170
177
|
* @deprecated Please use `tags` instead.
|
|
171
178
|
*/
|
|
172
179
|
tagsAll?: pulumi.Input<{
|
|
@@ -178,22 +185,25 @@ export interface KeyPairState {
|
|
|
178
185
|
*/
|
|
179
186
|
export interface KeyPairArgs {
|
|
180
187
|
/**
|
|
181
|
-
*
|
|
188
|
+
* Name of the Lightsail Key Pair. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
|
|
182
189
|
*/
|
|
183
190
|
name?: pulumi.Input<string>;
|
|
191
|
+
/**
|
|
192
|
+
* Creates a unique name beginning with the specified prefix. Conflicts with `name`.
|
|
193
|
+
*/
|
|
184
194
|
namePrefix?: pulumi.Input<string>;
|
|
185
195
|
/**
|
|
186
|
-
*
|
|
196
|
+
* PGP key to encrypt the resulting private key material. Only used when creating a new key pair.
|
|
187
197
|
*/
|
|
188
198
|
pgpKey?: pulumi.Input<string>;
|
|
189
199
|
/**
|
|
190
|
-
*
|
|
200
|
+
* Public key material. This public key will be imported into Lightsail.
|
|
191
201
|
*/
|
|
192
202
|
publicKey?: pulumi.Input<string>;
|
|
193
203
|
/**
|
|
194
|
-
*
|
|
204
|
+
* 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.
|
|
195
205
|
*
|
|
196
|
-
* > **
|
|
206
|
+
* > **Note:** A PGP key is not required, however it is strongly encouraged. Without a PGP key, the private key material will be stored in state unencrypted. `pgpKey` is ignored if `publicKey` is supplied.
|
|
197
207
|
*/
|
|
198
208
|
tags?: pulumi.Input<{
|
|
199
209
|
[key: string]: pulumi.Input<string>;
|
package/lightsail/keyPair.js
CHANGED
|
@@ -6,9 +6,7 @@ exports.KeyPair = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
* are separate from EC2 Key Pairs, and must be created or imported for use with
|
|
11
|
-
* Lightsail.
|
|
9
|
+
* Manages a Lightsail Key Pair for use with Lightsail Instances. Use this resource to create or import key pairs that are separate from EC2 Key Pairs and required for Lightsail instances.
|
|
12
10
|
*
|
|
13
11
|
* > **Note:** Lightsail is currently only supported in a limited number of AWS Regions, please see ["Regions and Availability Zones in Amazon Lightsail"](https://lightsail.aws.amazon.com/ls/docs/overview/article/understanding-regions-and-availability-zones-in-amazon-lightsail) for more details
|
|
14
12
|
*
|
|
@@ -20,8 +18,7 @@ const utilities = require("../utilities");
|
|
|
20
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
21
19
|
* import * as aws from "@pulumi/aws";
|
|
22
20
|
*
|
|
23
|
-
*
|
|
24
|
-
* const lgKeyPair = new aws.lightsail.KeyPair("lg_key_pair", {name: "lg_key_pair"});
|
|
21
|
+
* const example = new aws.lightsail.KeyPair("example", {name: "example"});
|
|
25
22
|
* ```
|
|
26
23
|
*
|
|
27
24
|
* ### Create New Key Pair with PGP Encrypted Private Key
|
|
@@ -30,8 +27,8 @@ const utilities = require("../utilities");
|
|
|
30
27
|
* import * as pulumi from "@pulumi/pulumi";
|
|
31
28
|
* import * as aws from "@pulumi/aws";
|
|
32
29
|
*
|
|
33
|
-
* const
|
|
34
|
-
* name: "
|
|
30
|
+
* const example = new aws.lightsail.KeyPair("example", {
|
|
31
|
+
* name: "example",
|
|
35
32
|
* pgpKey: "keybase:keybaseusername",
|
|
36
33
|
* });
|
|
37
34
|
* ```
|
|
@@ -43,8 +40,8 @@ const utilities = require("../utilities");
|
|
|
43
40
|
* import * as aws from "@pulumi/aws";
|
|
44
41
|
* import * as std from "@pulumi/std";
|
|
45
42
|
*
|
|
46
|
-
* const
|
|
47
|
-
* name: "
|
|
43
|
+
* const example = new aws.lightsail.KeyPair("example", {
|
|
44
|
+
* name: "example",
|
|
48
45
|
* publicKey: std.file({
|
|
49
46
|
* input: "~/.ssh/id_rsa.pub",
|
|
50
47
|
* }).then(invoke => invoke.result),
|
package/lightsail/keyPair.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyPair.js","sourceRoot":"","sources":["../../lightsail/keyPair.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"keyPair.js","sourceRoot":"","sources":["../../lightsail/keyPair.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCA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,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AArHL,0BAsHC;AAxGG,gBAAgB;AACO,oBAAY,GAAG,+BAA+B,CAAC"}
|
package/lightsail/lb.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Manages a Lightsail load balancer resource.
|
|
4
|
+
*
|
|
5
|
+
* Use this resource to distribute incoming traffic across multiple Lightsail instances to improve application availability and performance.
|
|
4
6
|
*
|
|
5
7
|
* ## Example Usage
|
|
6
8
|
*
|
|
@@ -8,8 +10,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
11
|
* import * as aws from "@pulumi/aws";
|
|
10
12
|
*
|
|
11
|
-
* const
|
|
12
|
-
* name: "
|
|
13
|
+
* const example = new aws.lightsail.Lb("example", {
|
|
14
|
+
* name: "example-load-balancer",
|
|
13
15
|
* healthCheckPath: "/",
|
|
14
16
|
* instancePort: 80,
|
|
15
17
|
* tags: {
|
|
@@ -23,7 +25,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
23
25
|
* Using `pulumi import`, import `aws_lightsail_lb` using the name attribute. For example:
|
|
24
26
|
*
|
|
25
27
|
* ```sh
|
|
26
|
-
* $ pulumi import aws:lightsail/lb:Lb
|
|
28
|
+
* $ pulumi import aws:lightsail/lb:Lb example example-load-balancer
|
|
27
29
|
* ```
|
|
28
30
|
*/
|
|
29
31
|
export declare class Lb extends pulumi.CustomResource {
|
|
@@ -43,50 +45,55 @@ export declare class Lb extends pulumi.CustomResource {
|
|
|
43
45
|
*/
|
|
44
46
|
static isInstance(obj: any): obj is Lb;
|
|
45
47
|
/**
|
|
46
|
-
*
|
|
48
|
+
* ARN of the Lightsail load balancer.
|
|
47
49
|
*/
|
|
48
50
|
readonly arn: pulumi.Output<string>;
|
|
49
51
|
/**
|
|
50
|
-
*
|
|
52
|
+
* Timestamp when the load balancer was created.
|
|
51
53
|
*/
|
|
52
54
|
readonly createdAt: pulumi.Output<string>;
|
|
53
55
|
/**
|
|
54
|
-
*
|
|
56
|
+
* DNS name of the load balancer.
|
|
55
57
|
*/
|
|
56
58
|
readonly dnsName: pulumi.Output<string>;
|
|
57
59
|
/**
|
|
58
|
-
*
|
|
60
|
+
* Health check path of the load balancer. Default value `/`.
|
|
59
61
|
*/
|
|
60
62
|
readonly healthCheckPath: pulumi.Output<string | undefined>;
|
|
61
63
|
/**
|
|
62
|
-
*
|
|
64
|
+
* Instance port the load balancer will connect to.
|
|
63
65
|
*/
|
|
64
66
|
readonly instancePort: pulumi.Output<number>;
|
|
67
|
+
/**
|
|
68
|
+
* IP address type of the load balancer. Valid values: `dualstack`, `ipv4`. Default value `dualstack`.
|
|
69
|
+
*/
|
|
65
70
|
readonly ipAddressType: pulumi.Output<string | undefined>;
|
|
66
71
|
/**
|
|
67
|
-
*
|
|
72
|
+
* Name of the Lightsail load balancer.
|
|
73
|
+
*
|
|
74
|
+
* The following arguments are optional:
|
|
68
75
|
*/
|
|
69
76
|
readonly name: pulumi.Output<string>;
|
|
70
77
|
/**
|
|
71
|
-
*
|
|
78
|
+
* Protocol of the load balancer.
|
|
72
79
|
*/
|
|
73
80
|
readonly protocol: pulumi.Output<string>;
|
|
74
81
|
/**
|
|
75
|
-
*
|
|
82
|
+
* Public ports of the load balancer.
|
|
76
83
|
*/
|
|
77
84
|
readonly publicPorts: pulumi.Output<number[]>;
|
|
78
85
|
/**
|
|
79
|
-
*
|
|
86
|
+
* Support code for the load balancer. Include this code in your email to support when you have questions about a load balancer in Lightsail. This code enables our support team to look up your Lightsail information more easily.
|
|
80
87
|
*/
|
|
81
88
|
readonly supportCode: pulumi.Output<string>;
|
|
82
89
|
/**
|
|
83
|
-
*
|
|
90
|
+
* 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.
|
|
84
91
|
*/
|
|
85
92
|
readonly tags: pulumi.Output<{
|
|
86
93
|
[key: string]: string;
|
|
87
94
|
} | undefined>;
|
|
88
95
|
/**
|
|
89
|
-
*
|
|
96
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
90
97
|
*
|
|
91
98
|
* @deprecated Please use `tags` instead.
|
|
92
99
|
*/
|
|
@@ -107,50 +114,55 @@ export declare class Lb extends pulumi.CustomResource {
|
|
|
107
114
|
*/
|
|
108
115
|
export interface LbState {
|
|
109
116
|
/**
|
|
110
|
-
*
|
|
117
|
+
* ARN of the Lightsail load balancer.
|
|
111
118
|
*/
|
|
112
119
|
arn?: pulumi.Input<string>;
|
|
113
120
|
/**
|
|
114
|
-
*
|
|
121
|
+
* Timestamp when the load balancer was created.
|
|
115
122
|
*/
|
|
116
123
|
createdAt?: pulumi.Input<string>;
|
|
117
124
|
/**
|
|
118
|
-
*
|
|
125
|
+
* DNS name of the load balancer.
|
|
119
126
|
*/
|
|
120
127
|
dnsName?: pulumi.Input<string>;
|
|
121
128
|
/**
|
|
122
|
-
*
|
|
129
|
+
* Health check path of the load balancer. Default value `/`.
|
|
123
130
|
*/
|
|
124
131
|
healthCheckPath?: pulumi.Input<string>;
|
|
125
132
|
/**
|
|
126
|
-
*
|
|
133
|
+
* Instance port the load balancer will connect to.
|
|
127
134
|
*/
|
|
128
135
|
instancePort?: pulumi.Input<number>;
|
|
136
|
+
/**
|
|
137
|
+
* IP address type of the load balancer. Valid values: `dualstack`, `ipv4`. Default value `dualstack`.
|
|
138
|
+
*/
|
|
129
139
|
ipAddressType?: pulumi.Input<string>;
|
|
130
140
|
/**
|
|
131
|
-
*
|
|
141
|
+
* Name of the Lightsail load balancer.
|
|
142
|
+
*
|
|
143
|
+
* The following arguments are optional:
|
|
132
144
|
*/
|
|
133
145
|
name?: pulumi.Input<string>;
|
|
134
146
|
/**
|
|
135
|
-
*
|
|
147
|
+
* Protocol of the load balancer.
|
|
136
148
|
*/
|
|
137
149
|
protocol?: pulumi.Input<string>;
|
|
138
150
|
/**
|
|
139
|
-
*
|
|
151
|
+
* Public ports of the load balancer.
|
|
140
152
|
*/
|
|
141
153
|
publicPorts?: pulumi.Input<pulumi.Input<number>[]>;
|
|
142
154
|
/**
|
|
143
|
-
*
|
|
155
|
+
* Support code for the load balancer. Include this code in your email to support when you have questions about a load balancer in Lightsail. This code enables our support team to look up your Lightsail information more easily.
|
|
144
156
|
*/
|
|
145
157
|
supportCode?: pulumi.Input<string>;
|
|
146
158
|
/**
|
|
147
|
-
*
|
|
159
|
+
* 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.
|
|
148
160
|
*/
|
|
149
161
|
tags?: pulumi.Input<{
|
|
150
162
|
[key: string]: pulumi.Input<string>;
|
|
151
163
|
}>;
|
|
152
164
|
/**
|
|
153
|
-
*
|
|
165
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
154
166
|
*
|
|
155
167
|
* @deprecated Please use `tags` instead.
|
|
156
168
|
*/
|
|
@@ -163,20 +175,25 @@ export interface LbState {
|
|
|
163
175
|
*/
|
|
164
176
|
export interface LbArgs {
|
|
165
177
|
/**
|
|
166
|
-
*
|
|
178
|
+
* Health check path of the load balancer. Default value `/`.
|
|
167
179
|
*/
|
|
168
180
|
healthCheckPath?: pulumi.Input<string>;
|
|
169
181
|
/**
|
|
170
|
-
*
|
|
182
|
+
* Instance port the load balancer will connect to.
|
|
171
183
|
*/
|
|
172
184
|
instancePort: pulumi.Input<number>;
|
|
185
|
+
/**
|
|
186
|
+
* IP address type of the load balancer. Valid values: `dualstack`, `ipv4`. Default value `dualstack`.
|
|
187
|
+
*/
|
|
173
188
|
ipAddressType?: pulumi.Input<string>;
|
|
174
189
|
/**
|
|
175
|
-
*
|
|
190
|
+
* Name of the Lightsail load balancer.
|
|
191
|
+
*
|
|
192
|
+
* The following arguments are optional:
|
|
176
193
|
*/
|
|
177
194
|
name?: pulumi.Input<string>;
|
|
178
195
|
/**
|
|
179
|
-
*
|
|
196
|
+
* 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.
|
|
180
197
|
*/
|
|
181
198
|
tags?: pulumi.Input<{
|
|
182
199
|
[key: string]: pulumi.Input<string>;
|