@pulumi/aws 5.18.0 → 5.19.0-alpha.1666816671
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/appstream/stack.d.ts +21 -9
- package/appstream/stack.js.map +1 -1
- package/cloudfront/distribution.d.ts +1 -3
- package/cloudfront/distribution.js +1 -3
- package/cloudfront/distribution.js.map +1 -1
- package/directoryservice/directory.d.ts +9 -9
- package/ec2/launchConfiguration.d.ts +0 -2
- package/ec2/launchConfiguration.js +0 -2
- package/ec2/launchConfiguration.js.map +1 -1
- package/elasticache/getSubnetGroup.d.ts +75 -0
- package/elasticache/getSubnetGroup.js +37 -0
- package/elasticache/getSubnetGroup.js.map +1 -0
- package/elasticache/index.d.ts +3 -0
- package/elasticache/index.js +4 -1
- package/elasticache/index.js.map +1 -1
- package/elasticache/userGroup.d.ts +9 -0
- package/elasticache/userGroup.js.map +1 -1
- package/lightsail/certificate.d.ts +157 -0
- package/lightsail/certificate.js +86 -0
- package/lightsail/certificate.js.map +1 -0
- package/lightsail/containerService.d.ts +45 -0
- package/lightsail/containerService.js +35 -0
- package/lightsail/containerService.js.map +1 -1
- package/lightsail/domainEntry.d.ts +121 -0
- package/lightsail/domainEntry.js +91 -0
- package/lightsail/domainEntry.js.map +1 -0
- package/lightsail/index.d.ts +12 -0
- package/lightsail/index.js +21 -1
- package/lightsail/index.js.map +1 -1
- package/lightsail/lb.d.ts +176 -0
- package/lightsail/lb.js +100 -0
- package/lightsail/lb.js.map +1 -0
- package/lightsail/lbAttachment.d.ts +102 -0
- package/lightsail/lbAttachment.js +99 -0
- package/lightsail/lbAttachment.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/resourcegroups/group.d.ts +15 -3
- package/resourcegroups/group.js +2 -3
- package/resourcegroups/group.js.map +1 -1
- package/route53/getZone.d.ts +4 -0
- package/route53/getZone.js.map +1 -1
- package/route53/record.d.ts +1 -1
- package/route53/record.js +1 -1
- package/route53/zone.d.ts +8 -0
- package/route53/zone.js +2 -0
- package/route53/zone.js.map +1 -1
- package/rum/appMonitor.d.ts +20 -3
- package/rum/appMonitor.js +2 -0
- package/rum/appMonitor.js.map +1 -1
- package/sesv2/dedicatedIpPool.d.ts +95 -0
- package/sesv2/dedicatedIpPool.js +79 -0
- package/sesv2/dedicatedIpPool.js.map +1 -0
- package/sesv2/getDedicatedIpPool.d.ts +71 -0
- package/sesv2/getDedicatedIpPool.js +36 -0
- package/sesv2/getDedicatedIpPool.js.map +1 -0
- package/sesv2/index.d.ts +6 -0
- package/sesv2/index.js +9 -1
- package/sesv2/index.js.map +1 -1
- package/sns/platformApplication.d.ts +39 -1
- package/sns/platformApplication.js +19 -1
- package/sns/platformApplication.js.map +1 -1
- package/sqs/queue.d.ts +1 -10
- package/sqs/queue.js.map +1 -1
- package/ssm/association.d.ts +19 -3
- package/ssm/association.js +16 -0
- package/ssm/association.js.map +1 -1
- package/ssm/getPatchBaseline.d.ts +2 -2
- package/ssm/maintenanceWindow.d.ts +3 -3
- package/ssm/patchBaseline.d.ts +3 -3
- package/types/input.d.ts +63 -10
- package/types/output.d.ts +77 -10
package/lightsail/index.js
CHANGED
|
@@ -2,31 +2,41 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.StaticIpAttachment = exports.StaticIp = exports.KeyPair = exports.InstancePublicPorts = exports.Instance = exports.Domain = exports.Database = exports.ContainerServiceDeploymentVersion = exports.ContainerService = void 0;
|
|
5
|
+
exports.StaticIpAttachment = exports.StaticIp = exports.LbAttachment = exports.Lb = exports.KeyPair = exports.InstancePublicPorts = exports.Instance = exports.DomainEntry = exports.Domain = exports.Database = exports.ContainerServiceDeploymentVersion = exports.ContainerService = exports.Certificate = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
+
exports.Certificate = null;
|
|
8
9
|
exports.ContainerService = null;
|
|
9
10
|
exports.ContainerServiceDeploymentVersion = null;
|
|
10
11
|
exports.Database = null;
|
|
11
12
|
exports.Domain = null;
|
|
13
|
+
exports.DomainEntry = null;
|
|
12
14
|
exports.Instance = null;
|
|
13
15
|
exports.InstancePublicPorts = null;
|
|
14
16
|
exports.KeyPair = null;
|
|
17
|
+
exports.Lb = null;
|
|
18
|
+
exports.LbAttachment = null;
|
|
15
19
|
exports.StaticIp = null;
|
|
16
20
|
exports.StaticIpAttachment = null;
|
|
21
|
+
utilities.lazyLoad(exports, ["Certificate"], () => require("./certificate"));
|
|
17
22
|
utilities.lazyLoad(exports, ["ContainerService"], () => require("./containerService"));
|
|
18
23
|
utilities.lazyLoad(exports, ["ContainerServiceDeploymentVersion"], () => require("./containerServiceDeploymentVersion"));
|
|
19
24
|
utilities.lazyLoad(exports, ["Database"], () => require("./database"));
|
|
20
25
|
utilities.lazyLoad(exports, ["Domain"], () => require("./domain"));
|
|
26
|
+
utilities.lazyLoad(exports, ["DomainEntry"], () => require("./domainEntry"));
|
|
21
27
|
utilities.lazyLoad(exports, ["Instance"], () => require("./instance"));
|
|
22
28
|
utilities.lazyLoad(exports, ["InstancePublicPorts"], () => require("./instancePublicPorts"));
|
|
23
29
|
utilities.lazyLoad(exports, ["KeyPair"], () => require("./keyPair"));
|
|
30
|
+
utilities.lazyLoad(exports, ["Lb"], () => require("./lb"));
|
|
31
|
+
utilities.lazyLoad(exports, ["LbAttachment"], () => require("./lbAttachment"));
|
|
24
32
|
utilities.lazyLoad(exports, ["StaticIp"], () => require("./staticIp"));
|
|
25
33
|
utilities.lazyLoad(exports, ["StaticIpAttachment"], () => require("./staticIpAttachment"));
|
|
26
34
|
const _module = {
|
|
27
35
|
version: utilities.getVersion(),
|
|
28
36
|
construct: (name, type, urn) => {
|
|
29
37
|
switch (type) {
|
|
38
|
+
case "aws:lightsail/certificate:Certificate":
|
|
39
|
+
return new exports.Certificate(name, undefined, { urn });
|
|
30
40
|
case "aws:lightsail/containerService:ContainerService":
|
|
31
41
|
return new exports.ContainerService(name, undefined, { urn });
|
|
32
42
|
case "aws:lightsail/containerServiceDeploymentVersion:ContainerServiceDeploymentVersion":
|
|
@@ -35,12 +45,18 @@ const _module = {
|
|
|
35
45
|
return new exports.Database(name, undefined, { urn });
|
|
36
46
|
case "aws:lightsail/domain:Domain":
|
|
37
47
|
return new exports.Domain(name, undefined, { urn });
|
|
48
|
+
case "aws:lightsail/domainEntry:DomainEntry":
|
|
49
|
+
return new exports.DomainEntry(name, undefined, { urn });
|
|
38
50
|
case "aws:lightsail/instance:Instance":
|
|
39
51
|
return new exports.Instance(name, undefined, { urn });
|
|
40
52
|
case "aws:lightsail/instancePublicPorts:InstancePublicPorts":
|
|
41
53
|
return new exports.InstancePublicPorts(name, undefined, { urn });
|
|
42
54
|
case "aws:lightsail/keyPair:KeyPair":
|
|
43
55
|
return new exports.KeyPair(name, undefined, { urn });
|
|
56
|
+
case "aws:lightsail/lb:Lb":
|
|
57
|
+
return new exports.Lb(name, undefined, { urn });
|
|
58
|
+
case "aws:lightsail/lbAttachment:LbAttachment":
|
|
59
|
+
return new exports.LbAttachment(name, undefined, { urn });
|
|
44
60
|
case "aws:lightsail/staticIp:StaticIp":
|
|
45
61
|
return new exports.StaticIp(name, undefined, { urn });
|
|
46
62
|
case "aws:lightsail/staticIpAttachment:StaticIpAttachment":
|
|
@@ -50,13 +66,17 @@ const _module = {
|
|
|
50
66
|
}
|
|
51
67
|
},
|
|
52
68
|
};
|
|
69
|
+
pulumi.runtime.registerResourceModule("aws", "lightsail/certificate", _module);
|
|
53
70
|
pulumi.runtime.registerResourceModule("aws", "lightsail/containerService", _module);
|
|
54
71
|
pulumi.runtime.registerResourceModule("aws", "lightsail/containerServiceDeploymentVersion", _module);
|
|
55
72
|
pulumi.runtime.registerResourceModule("aws", "lightsail/database", _module);
|
|
56
73
|
pulumi.runtime.registerResourceModule("aws", "lightsail/domain", _module);
|
|
74
|
+
pulumi.runtime.registerResourceModule("aws", "lightsail/domainEntry", _module);
|
|
57
75
|
pulumi.runtime.registerResourceModule("aws", "lightsail/instance", _module);
|
|
58
76
|
pulumi.runtime.registerResourceModule("aws", "lightsail/instancePublicPorts", _module);
|
|
59
77
|
pulumi.runtime.registerResourceModule("aws", "lightsail/keyPair", _module);
|
|
78
|
+
pulumi.runtime.registerResourceModule("aws", "lightsail/lb", _module);
|
|
79
|
+
pulumi.runtime.registerResourceModule("aws", "lightsail/lbAttachment", _module);
|
|
60
80
|
pulumi.runtime.registerResourceModule("aws", "lightsail/staticIp", _module);
|
|
61
81
|
pulumi.runtime.registerResourceModule("aws", "lightsail/staticIpAttachment", _module);
|
|
62
82
|
//# sourceMappingURL=index.js.map
|
package/lightsail/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lightsail/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AAIrF,QAAA,iCAAiC,GAA2F,IAAW,CAAC;AAIxI,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAI7D,QAAA,MAAM,GAAqC,IAAW,CAAC;AAIvD,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAI7D,QAAA,mBAAmB,GAA+D,IAAW,CAAC;AAI9F,QAAA,OAAO,GAAuC,IAAW,CAAC;AAI1D,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAI7D,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AAExG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AACvF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,m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E,uBAAuB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,+BAA+B,EAAE,OAAO,CAAC,CAAA;AACtF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA;AACrE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Creates a Lightsail load balancer resource.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
*
|
|
11
|
+
* const test = new aws.lightsail.Lb("test", {
|
|
12
|
+
* healthCheckPath: "/",
|
|
13
|
+
* instancePort: 80,
|
|
14
|
+
* tags: {
|
|
15
|
+
* foo: "bar",
|
|
16
|
+
* },
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ## Import
|
|
21
|
+
*
|
|
22
|
+
* `aws_lightsail_lb` can be imported by using the name attribute, e.g.,
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import aws:lightsail/lb:Lb test example-load-balancer
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare class Lb extends pulumi.CustomResource {
|
|
29
|
+
/**
|
|
30
|
+
* Get an existing Lb resource's state with the given name, ID, and optional extra
|
|
31
|
+
* properties used to qualify the lookup.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resulting resource.
|
|
34
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
35
|
+
* @param state Any extra arguments used during the lookup.
|
|
36
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
37
|
+
*/
|
|
38
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LbState, opts?: pulumi.CustomResourceOptions): Lb;
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of Lb. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj: any): obj is Lb;
|
|
44
|
+
/**
|
|
45
|
+
* The ARN of the Lightsail load balancer.
|
|
46
|
+
*/
|
|
47
|
+
readonly arn: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* The timestamp when the load balancer was created.
|
|
50
|
+
*/
|
|
51
|
+
readonly createdAt: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The DNS name of the load balancer.
|
|
54
|
+
*/
|
|
55
|
+
readonly dnsName: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* The health check path of the load balancer. Default value "/".
|
|
58
|
+
*/
|
|
59
|
+
readonly healthCheckPath: pulumi.Output<string | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* The instance port the load balancer will connect.
|
|
62
|
+
*/
|
|
63
|
+
readonly instancePort: pulumi.Output<number>;
|
|
64
|
+
readonly ipAddressType: pulumi.Output<string | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* The name of the Lightsail load balancer.
|
|
67
|
+
*/
|
|
68
|
+
readonly name: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The protocol of the load balancer.
|
|
71
|
+
*/
|
|
72
|
+
readonly protocol: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The public ports of the load balancer.
|
|
75
|
+
*/
|
|
76
|
+
readonly publicPorts: pulumi.Output<number[]>;
|
|
77
|
+
/**
|
|
78
|
+
* The 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.
|
|
79
|
+
*/
|
|
80
|
+
readonly supportCode: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* A 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.
|
|
83
|
+
*/
|
|
84
|
+
readonly tags: pulumi.Output<{
|
|
85
|
+
[key: string]: string;
|
|
86
|
+
} | undefined>;
|
|
87
|
+
readonly tagsAll: pulumi.Output<{
|
|
88
|
+
[key: string]: string;
|
|
89
|
+
}>;
|
|
90
|
+
/**
|
|
91
|
+
* Create a Lb resource with the given unique name, arguments, and options.
|
|
92
|
+
*
|
|
93
|
+
* @param name The _unique_ name of the resource.
|
|
94
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
95
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
96
|
+
*/
|
|
97
|
+
constructor(name: string, args: LbArgs, opts?: pulumi.CustomResourceOptions);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Input properties used for looking up and filtering Lb resources.
|
|
101
|
+
*/
|
|
102
|
+
export interface LbState {
|
|
103
|
+
/**
|
|
104
|
+
* The ARN of the Lightsail load balancer.
|
|
105
|
+
*/
|
|
106
|
+
arn?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* The timestamp when the load balancer was created.
|
|
109
|
+
*/
|
|
110
|
+
createdAt?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* The DNS name of the load balancer.
|
|
113
|
+
*/
|
|
114
|
+
dnsName?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The health check path of the load balancer. Default value "/".
|
|
117
|
+
*/
|
|
118
|
+
healthCheckPath?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The instance port the load balancer will connect.
|
|
121
|
+
*/
|
|
122
|
+
instancePort?: pulumi.Input<number>;
|
|
123
|
+
ipAddressType?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* The name of the Lightsail load balancer.
|
|
126
|
+
*/
|
|
127
|
+
name?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* The protocol of the load balancer.
|
|
130
|
+
*/
|
|
131
|
+
protocol?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* The public ports of the load balancer.
|
|
134
|
+
*/
|
|
135
|
+
publicPorts?: pulumi.Input<pulumi.Input<number>[]>;
|
|
136
|
+
/**
|
|
137
|
+
* The 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.
|
|
138
|
+
*/
|
|
139
|
+
supportCode?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* A 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.
|
|
142
|
+
*/
|
|
143
|
+
tags?: pulumi.Input<{
|
|
144
|
+
[key: string]: pulumi.Input<string>;
|
|
145
|
+
}>;
|
|
146
|
+
tagsAll?: pulumi.Input<{
|
|
147
|
+
[key: string]: pulumi.Input<string>;
|
|
148
|
+
}>;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* The set of arguments for constructing a Lb resource.
|
|
152
|
+
*/
|
|
153
|
+
export interface LbArgs {
|
|
154
|
+
/**
|
|
155
|
+
* The health check path of the load balancer. Default value "/".
|
|
156
|
+
*/
|
|
157
|
+
healthCheckPath?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* The instance port the load balancer will connect.
|
|
160
|
+
*/
|
|
161
|
+
instancePort: pulumi.Input<number>;
|
|
162
|
+
ipAddressType?: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* The name of the Lightsail load balancer.
|
|
165
|
+
*/
|
|
166
|
+
name?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* A 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.
|
|
169
|
+
*/
|
|
170
|
+
tags?: pulumi.Input<{
|
|
171
|
+
[key: string]: pulumi.Input<string>;
|
|
172
|
+
}>;
|
|
173
|
+
tagsAll?: pulumi.Input<{
|
|
174
|
+
[key: string]: pulumi.Input<string>;
|
|
175
|
+
}>;
|
|
176
|
+
}
|
package/lightsail/lb.js
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Lb = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Creates a Lightsail load balancer resource.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const test = new aws.lightsail.Lb("test", {
|
|
18
|
+
* healthCheckPath: "/",
|
|
19
|
+
* instancePort: 80,
|
|
20
|
+
* tags: {
|
|
21
|
+
* foo: "bar",
|
|
22
|
+
* },
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* `aws_lightsail_lb` can be imported by using the name attribute, e.g.,
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import aws:lightsail/lb:Lb test example-load-balancer
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
class Lb extends pulumi.CustomResource {
|
|
35
|
+
constructor(name, argsOrState, opts) {
|
|
36
|
+
let resourceInputs = {};
|
|
37
|
+
opts = opts || {};
|
|
38
|
+
if (opts.id) {
|
|
39
|
+
const state = argsOrState;
|
|
40
|
+
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
41
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
42
|
+
resourceInputs["dnsName"] = state ? state.dnsName : undefined;
|
|
43
|
+
resourceInputs["healthCheckPath"] = state ? state.healthCheckPath : undefined;
|
|
44
|
+
resourceInputs["instancePort"] = state ? state.instancePort : undefined;
|
|
45
|
+
resourceInputs["ipAddressType"] = state ? state.ipAddressType : undefined;
|
|
46
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
47
|
+
resourceInputs["protocol"] = state ? state.protocol : undefined;
|
|
48
|
+
resourceInputs["publicPorts"] = state ? state.publicPorts : undefined;
|
|
49
|
+
resourceInputs["supportCode"] = state ? state.supportCode : undefined;
|
|
50
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
51
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
const args = argsOrState;
|
|
55
|
+
if ((!args || args.instancePort === undefined) && !opts.urn) {
|
|
56
|
+
throw new Error("Missing required property 'instancePort'");
|
|
57
|
+
}
|
|
58
|
+
resourceInputs["healthCheckPath"] = args ? args.healthCheckPath : undefined;
|
|
59
|
+
resourceInputs["instancePort"] = args ? args.instancePort : undefined;
|
|
60
|
+
resourceInputs["ipAddressType"] = args ? args.ipAddressType : undefined;
|
|
61
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
62
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
63
|
+
resourceInputs["tagsAll"] = args ? args.tagsAll : undefined;
|
|
64
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["dnsName"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["protocol"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["publicPorts"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["supportCode"] = undefined /*out*/;
|
|
70
|
+
}
|
|
71
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
72
|
+
super(Lb.__pulumiType, name, resourceInputs, opts);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Get an existing Lb resource's state with the given name, ID, and optional extra
|
|
76
|
+
* properties used to qualify the lookup.
|
|
77
|
+
*
|
|
78
|
+
* @param name The _unique_ name of the resulting resource.
|
|
79
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
80
|
+
* @param state Any extra arguments used during the lookup.
|
|
81
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
82
|
+
*/
|
|
83
|
+
static get(name, id, state, opts) {
|
|
84
|
+
return new Lb(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Returns true if the given object is an instance of Lb. This is designed to work even
|
|
88
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
89
|
+
*/
|
|
90
|
+
static isInstance(obj) {
|
|
91
|
+
if (obj === undefined || obj === null) {
|
|
92
|
+
return false;
|
|
93
|
+
}
|
|
94
|
+
return obj['__pulumiType'] === Lb.__pulumiType;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.Lb = Lb;
|
|
98
|
+
/** @internal */
|
|
99
|
+
Lb.__p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B;AACO,eAAY,GAAG,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Attaches a Lightsail Instance to a Lightsail Load Balancer.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
*
|
|
11
|
+
* const available = aws.getAvailabilityZones({
|
|
12
|
+
* state: "available",
|
|
13
|
+
* filters: [{
|
|
14
|
+
* name: "opt-in-status",
|
|
15
|
+
* values: ["opt-in-not-required"],
|
|
16
|
+
* }],
|
|
17
|
+
* });
|
|
18
|
+
* const testLb = new aws.lightsail.Lb("testLb", {
|
|
19
|
+
* healthCheckPath: "/",
|
|
20
|
+
* instancePort: 80,
|
|
21
|
+
* tags: {
|
|
22
|
+
* foo: "bar",
|
|
23
|
+
* },
|
|
24
|
+
* });
|
|
25
|
+
* const testInstance = new aws.lightsail.Instance("testInstance", {
|
|
26
|
+
* availabilityZone: available.then(available => available.names?[0]),
|
|
27
|
+
* blueprintId: "amazon_linux",
|
|
28
|
+
* bundleId: "nano_1_0",
|
|
29
|
+
* });
|
|
30
|
+
* const testLbAttachment = new aws.lightsail.LbAttachment("testLbAttachment", {
|
|
31
|
+
* lbName: testLb.name,
|
|
32
|
+
* instanceName: testInstance.name,
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* `aws_lightsail_lb_attachment` can be imported by using the name attribute, e.g.,
|
|
39
|
+
*
|
|
40
|
+
* ```sh
|
|
41
|
+
* $ pulumi import aws:lightsail/lbAttachment:LbAttachment test example-load-balancer,example-instance
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare class LbAttachment extends pulumi.CustomResource {
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing LbAttachment resource's state with the given name, ID, and optional extra
|
|
47
|
+
* properties used to qualify the lookup.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resulting resource.
|
|
50
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
51
|
+
* @param state Any extra arguments used during the lookup.
|
|
52
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
53
|
+
*/
|
|
54
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LbAttachmentState, opts?: pulumi.CustomResourceOptions): LbAttachment;
|
|
55
|
+
/**
|
|
56
|
+
* Returns true if the given object is an instance of LbAttachment. This is designed to work even
|
|
57
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
58
|
+
*/
|
|
59
|
+
static isInstance(obj: any): obj is LbAttachment;
|
|
60
|
+
/**
|
|
61
|
+
* The name of the instance to attach to the load balancer.
|
|
62
|
+
*/
|
|
63
|
+
readonly instanceName: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The name of the Lightsail load balancer.
|
|
66
|
+
*/
|
|
67
|
+
readonly lbName: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* Create a LbAttachment resource with the given unique name, arguments, and options.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resource.
|
|
72
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
73
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
74
|
+
*/
|
|
75
|
+
constructor(name: string, args: LbAttachmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Input properties used for looking up and filtering LbAttachment resources.
|
|
79
|
+
*/
|
|
80
|
+
export interface LbAttachmentState {
|
|
81
|
+
/**
|
|
82
|
+
* The name of the instance to attach to the load balancer.
|
|
83
|
+
*/
|
|
84
|
+
instanceName?: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* The name of the Lightsail load balancer.
|
|
87
|
+
*/
|
|
88
|
+
lbName?: pulumi.Input<string>;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* The set of arguments for constructing a LbAttachment resource.
|
|
92
|
+
*/
|
|
93
|
+
export interface LbAttachmentArgs {
|
|
94
|
+
/**
|
|
95
|
+
* The name of the instance to attach to the load balancer.
|
|
96
|
+
*/
|
|
97
|
+
instanceName: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The name of the Lightsail load balancer.
|
|
100
|
+
*/
|
|
101
|
+
lbName: pulumi.Input<string>;
|
|
102
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.LbAttachment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Attaches a Lightsail Instance to a Lightsail Load Balancer.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
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 testLb = new aws.lightsail.Lb("testLb", {
|
|
25
|
+
* healthCheckPath: "/",
|
|
26
|
+
* instancePort: 80,
|
|
27
|
+
* tags: {
|
|
28
|
+
* foo: "bar",
|
|
29
|
+
* },
|
|
30
|
+
* });
|
|
31
|
+
* const testInstance = new aws.lightsail.Instance("testInstance", {
|
|
32
|
+
* availabilityZone: available.then(available => available.names?[0]),
|
|
33
|
+
* blueprintId: "amazon_linux",
|
|
34
|
+
* bundleId: "nano_1_0",
|
|
35
|
+
* });
|
|
36
|
+
* const testLbAttachment = new aws.lightsail.LbAttachment("testLbAttachment", {
|
|
37
|
+
* lbName: testLb.name,
|
|
38
|
+
* instanceName: testInstance.name,
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* ## Import
|
|
43
|
+
*
|
|
44
|
+
* `aws_lightsail_lb_attachment` can be imported by using the name attribute, e.g.,
|
|
45
|
+
*
|
|
46
|
+
* ```sh
|
|
47
|
+
* $ pulumi import aws:lightsail/lbAttachment:LbAttachment test example-load-balancer,example-instance
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
class LbAttachment extends pulumi.CustomResource {
|
|
51
|
+
constructor(name, argsOrState, opts) {
|
|
52
|
+
let resourceInputs = {};
|
|
53
|
+
opts = opts || {};
|
|
54
|
+
if (opts.id) {
|
|
55
|
+
const state = argsOrState;
|
|
56
|
+
resourceInputs["instanceName"] = state ? state.instanceName : undefined;
|
|
57
|
+
resourceInputs["lbName"] = state ? state.lbName : undefined;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
const args = argsOrState;
|
|
61
|
+
if ((!args || args.instanceName === undefined) && !opts.urn) {
|
|
62
|
+
throw new Error("Missing required property 'instanceName'");
|
|
63
|
+
}
|
|
64
|
+
if ((!args || args.lbName === undefined) && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'lbName'");
|
|
66
|
+
}
|
|
67
|
+
resourceInputs["instanceName"] = args ? args.instanceName : undefined;
|
|
68
|
+
resourceInputs["lbName"] = args ? args.lbName : undefined;
|
|
69
|
+
}
|
|
70
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
71
|
+
super(LbAttachment.__pulumiType, name, resourceInputs, opts);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Get an existing LbAttachment resource's state with the given name, ID, and optional extra
|
|
75
|
+
* properties used to qualify the lookup.
|
|
76
|
+
*
|
|
77
|
+
* @param name The _unique_ name of the resulting resource.
|
|
78
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
79
|
+
* @param state Any extra arguments used during the lookup.
|
|
80
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
81
|
+
*/
|
|
82
|
+
static get(name, id, state, opts) {
|
|
83
|
+
return new LbAttachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Returns true if the given object is an instance of LbAttachment. This is designed to work even
|
|
87
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
88
|
+
*/
|
|
89
|
+
static isInstance(obj) {
|
|
90
|
+
if (obj === undefined || obj === null) {
|
|
91
|
+
return false;
|
|
92
|
+
}
|
|
93
|
+
return obj['__pulumiType'] === LbAttachment.__pulumiType;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.LbAttachment = LbAttachment;
|
|
97
|
+
/** @internal */
|
|
98
|
+
LbAttachment.__pulumiType = 'aws:lightsail/lbAttachment:LbAttachment';
|
|
99
|
+
//# sourceMappingURL=lbAttachment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lbAttachment.js","sourceRoot":"","sources":["../../lightsail/lbAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IA6CnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;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O,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCAkEC;AApDG,gBAAgB;AACO,yBAAY,GAAG,yCAAyC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/aws",
|
|
3
|
-
"version": "v5.
|
|
3
|
+
"version": "v5.19.0-alpha.1666816671+7bf6fcc3",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource aws v5.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource aws v5.19.0-alpha.1666816671+7bf6fcc3"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0",
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/aws",
|
|
3
|
-
"version": "v5.
|
|
3
|
+
"version": "v5.19.0-alpha.1666816671+7bf6fcc3",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource aws v5.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource aws v5.19.0-alpha.1666816671+7bf6fcc3"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0",
|