@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
|
@@ -6,7 +6,9 @@ exports.LbHttpsRedirectionPolicy = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Manages HTTPS redirection for a Lightsail Load Balancer.
|
|
10
|
+
*
|
|
11
|
+
* Use this resource to configure automatic redirection of HTTP traffic to HTTPS on a Lightsail Load Balancer. A valid certificate must be attached to the load balancer before enabling HTTPS redirection.
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
|
12
14
|
*
|
|
@@ -14,25 +16,25 @@ const utilities = require("../utilities");
|
|
|
14
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
17
|
* import * as aws from "@pulumi/aws";
|
|
16
18
|
*
|
|
17
|
-
* const
|
|
18
|
-
* name: "
|
|
19
|
+
* const example = new aws.lightsail.Lb("example", {
|
|
20
|
+
* name: "example-load-balancer",
|
|
19
21
|
* healthCheckPath: "/",
|
|
20
22
|
* instancePort: 80,
|
|
21
23
|
* tags: {
|
|
22
24
|
* foo: "bar",
|
|
23
25
|
* },
|
|
24
26
|
* });
|
|
25
|
-
* const
|
|
26
|
-
* name: "
|
|
27
|
-
* lbName:
|
|
28
|
-
* domainName: "
|
|
27
|
+
* const exampleLbCertificate = new aws.lightsail.LbCertificate("example", {
|
|
28
|
+
* name: "example-load-balancer-certificate",
|
|
29
|
+
* lbName: example.id,
|
|
30
|
+
* domainName: "example.com",
|
|
29
31
|
* });
|
|
30
|
-
* const
|
|
31
|
-
* lbName:
|
|
32
|
-
* certificateName:
|
|
32
|
+
* const exampleLbCertificateAttachment = new aws.lightsail.LbCertificateAttachment("example", {
|
|
33
|
+
* lbName: example.name,
|
|
34
|
+
* certificateName: exampleLbCertificate.name,
|
|
33
35
|
* });
|
|
34
|
-
* const
|
|
35
|
-
* lbName:
|
|
36
|
+
* const exampleLbHttpsRedirectionPolicy = new aws.lightsail.LbHttpsRedirectionPolicy("example", {
|
|
37
|
+
* lbName: example.name,
|
|
36
38
|
* enabled: true,
|
|
37
39
|
* });
|
|
38
40
|
* ```
|
|
@@ -42,7 +44,7 @@ const utilities = require("../utilities");
|
|
|
42
44
|
* Using `pulumi import`, import `aws_lightsail_lb_https_redirection_policy` using the `lb_name` attribute. For example:
|
|
43
45
|
*
|
|
44
46
|
* ```sh
|
|
45
|
-
* $ pulumi import aws:lightsail/lbHttpsRedirectionPolicy:LbHttpsRedirectionPolicy
|
|
47
|
+
* $ pulumi import aws:lightsail/lbHttpsRedirectionPolicy:LbHttpsRedirectionPolicy example example-load-balancer
|
|
46
48
|
* ```
|
|
47
49
|
*/
|
|
48
50
|
class LbHttpsRedirectionPolicy extends pulumi.CustomResource {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lbHttpsRedirectionPolicy.js","sourceRoot":"","sources":["../../lightsail/lbHttpsRedirectionPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"lbHttpsRedirectionPolicy.js","sourceRoot":"","sources":["../../lightsail/lbHttpsRedirectionPolicy.ts"],"names":[],"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AC1D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AAjEL,4DAkEC;AApDG,gBAAgB;AACO,qCAAY,GAAG,iEAAiE,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Manages session stickiness for a Lightsail Load Balancer.
|
|
4
|
+
*
|
|
5
|
+
* Use this resource to configure session stickiness to ensure that user sessions are consistently routed to the same backend instance. This helps maintain session state for applications that store session data locally on the server.
|
|
4
6
|
*
|
|
5
7
|
* ## Example Usage
|
|
6
8
|
*
|
|
@@ -8,16 +10,16 @@ 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: {
|
|
16
18
|
* foo: "bar",
|
|
17
19
|
* },
|
|
18
20
|
* });
|
|
19
|
-
* const
|
|
20
|
-
* lbName:
|
|
21
|
+
* const exampleLbStickinessPolicy = new aws.lightsail.LbStickinessPolicy("example", {
|
|
22
|
+
* lbName: example.name,
|
|
21
23
|
* cookieDuration: 900,
|
|
22
24
|
* enabled: true,
|
|
23
25
|
* });
|
|
@@ -28,7 +30,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
28
30
|
* Using `pulumi import`, import `aws_lightsail_lb_stickiness_policy` using the `lb_name` attribute. For example:
|
|
29
31
|
*
|
|
30
32
|
* ```sh
|
|
31
|
-
* $ pulumi import aws:lightsail/lbStickinessPolicy:LbStickinessPolicy
|
|
33
|
+
* $ pulumi import aws:lightsail/lbStickinessPolicy:LbStickinessPolicy example example-load-balancer
|
|
32
34
|
* ```
|
|
33
35
|
*/
|
|
34
36
|
export declare class LbStickinessPolicy extends pulumi.CustomResource {
|
|
@@ -48,15 +50,15 @@ export declare class LbStickinessPolicy extends pulumi.CustomResource {
|
|
|
48
50
|
*/
|
|
49
51
|
static isInstance(obj: any): obj is LbStickinessPolicy;
|
|
50
52
|
/**
|
|
51
|
-
*
|
|
53
|
+
* Cookie duration in seconds. This determines the length of the session stickiness.
|
|
52
54
|
*/
|
|
53
55
|
readonly cookieDuration: pulumi.Output<number>;
|
|
54
56
|
/**
|
|
55
|
-
*
|
|
57
|
+
* Whether to enable session stickiness for the load balancer.
|
|
56
58
|
*/
|
|
57
59
|
readonly enabled: pulumi.Output<boolean>;
|
|
58
60
|
/**
|
|
59
|
-
*
|
|
61
|
+
* Name of the load balancer to which you want to enable session stickiness.
|
|
60
62
|
*/
|
|
61
63
|
readonly lbName: pulumi.Output<string>;
|
|
62
64
|
/**
|
|
@@ -73,15 +75,15 @@ export declare class LbStickinessPolicy extends pulumi.CustomResource {
|
|
|
73
75
|
*/
|
|
74
76
|
export interface LbStickinessPolicyState {
|
|
75
77
|
/**
|
|
76
|
-
*
|
|
78
|
+
* Cookie duration in seconds. This determines the length of the session stickiness.
|
|
77
79
|
*/
|
|
78
80
|
cookieDuration?: pulumi.Input<number>;
|
|
79
81
|
/**
|
|
80
|
-
*
|
|
82
|
+
* Whether to enable session stickiness for the load balancer.
|
|
81
83
|
*/
|
|
82
84
|
enabled?: pulumi.Input<boolean>;
|
|
83
85
|
/**
|
|
84
|
-
*
|
|
86
|
+
* Name of the load balancer to which you want to enable session stickiness.
|
|
85
87
|
*/
|
|
86
88
|
lbName?: pulumi.Input<string>;
|
|
87
89
|
}
|
|
@@ -90,15 +92,15 @@ export interface LbStickinessPolicyState {
|
|
|
90
92
|
*/
|
|
91
93
|
export interface LbStickinessPolicyArgs {
|
|
92
94
|
/**
|
|
93
|
-
*
|
|
95
|
+
* Cookie duration in seconds. This determines the length of the session stickiness.
|
|
94
96
|
*/
|
|
95
97
|
cookieDuration: pulumi.Input<number>;
|
|
96
98
|
/**
|
|
97
|
-
*
|
|
99
|
+
* Whether to enable session stickiness for the load balancer.
|
|
98
100
|
*/
|
|
99
101
|
enabled: pulumi.Input<boolean>;
|
|
100
102
|
/**
|
|
101
|
-
*
|
|
103
|
+
* Name of the load balancer to which you want to enable session stickiness.
|
|
102
104
|
*/
|
|
103
105
|
lbName: pulumi.Input<string>;
|
|
104
106
|
}
|
|
@@ -6,7 +6,9 @@ exports.LbStickinessPolicy = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Manages session stickiness for a Lightsail Load Balancer.
|
|
10
|
+
*
|
|
11
|
+
* Use this resource to configure session stickiness to ensure that user sessions are consistently routed to the same backend instance. This helps maintain session state for applications that store session data locally on the server.
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
|
12
14
|
*
|
|
@@ -14,16 +16,16 @@ const utilities = require("../utilities");
|
|
|
14
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
17
|
* import * as aws from "@pulumi/aws";
|
|
16
18
|
*
|
|
17
|
-
* const
|
|
18
|
-
* name: "
|
|
19
|
+
* const example = new aws.lightsail.Lb("example", {
|
|
20
|
+
* name: "example-load-balancer",
|
|
19
21
|
* healthCheckPath: "/",
|
|
20
22
|
* instancePort: 80,
|
|
21
23
|
* tags: {
|
|
22
24
|
* foo: "bar",
|
|
23
25
|
* },
|
|
24
26
|
* });
|
|
25
|
-
* const
|
|
26
|
-
* lbName:
|
|
27
|
+
* const exampleLbStickinessPolicy = new aws.lightsail.LbStickinessPolicy("example", {
|
|
28
|
+
* lbName: example.name,
|
|
27
29
|
* cookieDuration: 900,
|
|
28
30
|
* enabled: true,
|
|
29
31
|
* });
|
|
@@ -34,7 +36,7 @@ const utilities = require("../utilities");
|
|
|
34
36
|
* Using `pulumi import`, import `aws_lightsail_lb_stickiness_policy` using the `lb_name` attribute. For example:
|
|
35
37
|
*
|
|
36
38
|
* ```sh
|
|
37
|
-
* $ pulumi import aws:lightsail/lbStickinessPolicy:LbStickinessPolicy
|
|
39
|
+
* $ pulumi import aws:lightsail/lbStickinessPolicy:LbStickinessPolicy example example-load-balancer
|
|
38
40
|
* ```
|
|
39
41
|
*/
|
|
40
42
|
class LbStickinessPolicy extends pulumi.CustomResource {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lbStickinessPolicy.js","sourceRoot":"","sources":["../../lightsail/lbStickinessPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"lbStickinessPolicy.js","sourceRoot":"","sources":["../../lightsail/lbStickinessPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,kBAAmB,SAAQ,MAA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AAC,OAAO,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA1EL,gDA2EC;AA7DG,gBAAgB;AACO,+BAAY,GAAG,qDAAqD,CAAC"}
|
package/lightsail/staticIp.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Manages a static IP address.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
5
|
+
* Use this resource to allocate a static IP address that can be attached to Lightsail instances to provide a consistent public IP address that persists across instance restarts.
|
|
6
|
+
*
|
|
7
|
+
* > **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.
|
|
6
8
|
*
|
|
7
9
|
* ## Example Usage
|
|
8
10
|
*
|
|
@@ -10,7 +12,15 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
13
|
* import * as aws from "@pulumi/aws";
|
|
12
14
|
*
|
|
13
|
-
* const
|
|
15
|
+
* const example = new aws.lightsail.StaticIp("example", {name: "example"});
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* Using `pulumi import`, import `aws_lightsail_static_ip` using the name attribute. For example:
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import aws:lightsail/staticIp:StaticIp example example
|
|
14
24
|
* ```
|
|
15
25
|
*/
|
|
16
26
|
export declare class StaticIp extends pulumi.CustomResource {
|
|
@@ -30,19 +40,19 @@ export declare class StaticIp extends pulumi.CustomResource {
|
|
|
30
40
|
*/
|
|
31
41
|
static isInstance(obj: any): obj is StaticIp;
|
|
32
42
|
/**
|
|
33
|
-
*
|
|
43
|
+
* ARN of the Lightsail static IP.
|
|
34
44
|
*/
|
|
35
45
|
readonly arn: pulumi.Output<string>;
|
|
36
46
|
/**
|
|
37
|
-
*
|
|
47
|
+
* Allocated static IP address.
|
|
38
48
|
*/
|
|
39
49
|
readonly ipAddress: pulumi.Output<string>;
|
|
40
50
|
/**
|
|
41
|
-
*
|
|
51
|
+
* Name for the allocated static IP.
|
|
42
52
|
*/
|
|
43
53
|
readonly name: pulumi.Output<string>;
|
|
44
54
|
/**
|
|
45
|
-
*
|
|
55
|
+
* Support code for the static IP. Include this code in your email to support when you have questions about a static IP in Lightsail. This code enables our support team to look up your Lightsail information more easily.
|
|
46
56
|
*/
|
|
47
57
|
readonly supportCode: pulumi.Output<string>;
|
|
48
58
|
/**
|
|
@@ -59,19 +69,19 @@ export declare class StaticIp extends pulumi.CustomResource {
|
|
|
59
69
|
*/
|
|
60
70
|
export interface StaticIpState {
|
|
61
71
|
/**
|
|
62
|
-
*
|
|
72
|
+
* ARN of the Lightsail static IP.
|
|
63
73
|
*/
|
|
64
74
|
arn?: pulumi.Input<string>;
|
|
65
75
|
/**
|
|
66
|
-
*
|
|
76
|
+
* Allocated static IP address.
|
|
67
77
|
*/
|
|
68
78
|
ipAddress?: pulumi.Input<string>;
|
|
69
79
|
/**
|
|
70
|
-
*
|
|
80
|
+
* Name for the allocated static IP.
|
|
71
81
|
*/
|
|
72
82
|
name?: pulumi.Input<string>;
|
|
73
83
|
/**
|
|
74
|
-
*
|
|
84
|
+
* Support code for the static IP. Include this code in your email to support when you have questions about a static IP in Lightsail. This code enables our support team to look up your Lightsail information more easily.
|
|
75
85
|
*/
|
|
76
86
|
supportCode?: pulumi.Input<string>;
|
|
77
87
|
}
|
|
@@ -80,7 +90,7 @@ export interface StaticIpState {
|
|
|
80
90
|
*/
|
|
81
91
|
export interface StaticIpArgs {
|
|
82
92
|
/**
|
|
83
|
-
*
|
|
93
|
+
* Name for the allocated static IP.
|
|
84
94
|
*/
|
|
85
95
|
name?: pulumi.Input<string>;
|
|
86
96
|
}
|
package/lightsail/staticIp.js
CHANGED
|
@@ -6,9 +6,11 @@ exports.StaticIp = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Manages a static IP address.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* Use this resource to allocate a static IP address that can be attached to Lightsail instances to provide a consistent public IP address that persists across instance restarts.
|
|
12
|
+
*
|
|
13
|
+
* > **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.
|
|
12
14
|
*
|
|
13
15
|
* ## Example Usage
|
|
14
16
|
*
|
|
@@ -16,7 +18,15 @@ const utilities = require("../utilities");
|
|
|
16
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
19
|
* import * as aws from "@pulumi/aws";
|
|
18
20
|
*
|
|
19
|
-
* const
|
|
21
|
+
* const example = new aws.lightsail.StaticIp("example", {name: "example"});
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* Using `pulumi import`, import `aws_lightsail_static_ip` using the name attribute. For example:
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import aws:lightsail/staticIp:StaticIp example example
|
|
20
30
|
* ```
|
|
21
31
|
*/
|
|
22
32
|
class StaticIp extends pulumi.CustomResource {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"staticIp.js","sourceRoot":"","sources":["../../lightsail/staticIp.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"staticIp.js","sourceRoot":"","sources":["../../lightsail/staticIp.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;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,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC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AAC;IAC7D,CAAC;;AAvEL,4BAwEC;AA1DG,gBAAgB;AACO,qBAAY,GAAG,iCAAiC,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Manages a static IP address attachment - relationship between a Lightsail static IP and Lightsail instance.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
5
|
+
* Use this resource to attach a static IP address to a Lightsail instance to provide a consistent public IP address that persists across instance restarts.
|
|
6
|
+
*
|
|
7
|
+
* > **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.
|
|
6
8
|
*
|
|
7
9
|
* ## Example Usage
|
|
8
10
|
*
|
|
@@ -10,19 +12,26 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
13
|
* import * as aws from "@pulumi/aws";
|
|
12
14
|
*
|
|
13
|
-
* const
|
|
14
|
-
* const
|
|
15
|
+
* const example = new aws.lightsail.StaticIp("example", {name: "example"});
|
|
16
|
+
* const exampleInstance = new aws.lightsail.Instance("example", {
|
|
15
17
|
* name: "example",
|
|
16
|
-
* availabilityZone: "us-east-
|
|
17
|
-
* blueprintId: "
|
|
18
|
-
* bundleId: "
|
|
19
|
-
* keyPairName: "some_key_name",
|
|
18
|
+
* availabilityZone: "us-east-1a",
|
|
19
|
+
* blueprintId: "ubuntu_20_04",
|
|
20
|
+
* bundleId: "nano_2_0",
|
|
20
21
|
* });
|
|
21
|
-
* const
|
|
22
|
-
* staticIpName:
|
|
23
|
-
* instanceName:
|
|
22
|
+
* const exampleStaticIpAttachment = new aws.lightsail.StaticIpAttachment("example", {
|
|
23
|
+
* staticIpName: example.id,
|
|
24
|
+
* instanceName: exampleInstance.id,
|
|
24
25
|
* });
|
|
25
26
|
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* Using `pulumi import`, import `aws_lightsail_static_ip_attachment` using the static IP name. For example:
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import aws:lightsail/staticIpAttachment:StaticIpAttachment example example-static-ip
|
|
34
|
+
* ```
|
|
26
35
|
*/
|
|
27
36
|
export declare class StaticIpAttachment extends pulumi.CustomResource {
|
|
28
37
|
/**
|
|
@@ -41,15 +50,15 @@ export declare class StaticIpAttachment extends pulumi.CustomResource {
|
|
|
41
50
|
*/
|
|
42
51
|
static isInstance(obj: any): obj is StaticIpAttachment;
|
|
43
52
|
/**
|
|
44
|
-
*
|
|
53
|
+
* Name of the Lightsail instance to attach the IP to.
|
|
45
54
|
*/
|
|
46
55
|
readonly instanceName: pulumi.Output<string>;
|
|
47
56
|
/**
|
|
48
|
-
*
|
|
57
|
+
* Allocated static IP address.
|
|
49
58
|
*/
|
|
50
59
|
readonly ipAddress: pulumi.Output<string>;
|
|
51
60
|
/**
|
|
52
|
-
*
|
|
61
|
+
* Name of the allocated static IP.
|
|
53
62
|
*/
|
|
54
63
|
readonly staticIpName: pulumi.Output<string>;
|
|
55
64
|
/**
|
|
@@ -66,15 +75,15 @@ export declare class StaticIpAttachment extends pulumi.CustomResource {
|
|
|
66
75
|
*/
|
|
67
76
|
export interface StaticIpAttachmentState {
|
|
68
77
|
/**
|
|
69
|
-
*
|
|
78
|
+
* Name of the Lightsail instance to attach the IP to.
|
|
70
79
|
*/
|
|
71
80
|
instanceName?: pulumi.Input<string>;
|
|
72
81
|
/**
|
|
73
|
-
*
|
|
82
|
+
* Allocated static IP address.
|
|
74
83
|
*/
|
|
75
84
|
ipAddress?: pulumi.Input<string>;
|
|
76
85
|
/**
|
|
77
|
-
*
|
|
86
|
+
* Name of the allocated static IP.
|
|
78
87
|
*/
|
|
79
88
|
staticIpName?: pulumi.Input<string>;
|
|
80
89
|
}
|
|
@@ -83,11 +92,11 @@ export interface StaticIpAttachmentState {
|
|
|
83
92
|
*/
|
|
84
93
|
export interface StaticIpAttachmentArgs {
|
|
85
94
|
/**
|
|
86
|
-
*
|
|
95
|
+
* Name of the Lightsail instance to attach the IP to.
|
|
87
96
|
*/
|
|
88
97
|
instanceName: pulumi.Input<string>;
|
|
89
98
|
/**
|
|
90
|
-
*
|
|
99
|
+
* Name of the allocated static IP.
|
|
91
100
|
*/
|
|
92
101
|
staticIpName: pulumi.Input<string>;
|
|
93
102
|
}
|
|
@@ -6,9 +6,11 @@ exports.StaticIpAttachment = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Manages a static IP address attachment - relationship between a Lightsail static IP and Lightsail instance.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* Use this resource to attach a static IP address to a Lightsail instance to provide a consistent public IP address that persists across instance restarts.
|
|
12
|
+
*
|
|
13
|
+
* > **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.
|
|
12
14
|
*
|
|
13
15
|
* ## Example Usage
|
|
14
16
|
*
|
|
@@ -16,19 +18,26 @@ const utilities = require("../utilities");
|
|
|
16
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
19
|
* import * as aws from "@pulumi/aws";
|
|
18
20
|
*
|
|
19
|
-
* const
|
|
20
|
-
* const
|
|
21
|
+
* const example = new aws.lightsail.StaticIp("example", {name: "example"});
|
|
22
|
+
* const exampleInstance = new aws.lightsail.Instance("example", {
|
|
21
23
|
* name: "example",
|
|
22
|
-
* availabilityZone: "us-east-
|
|
23
|
-
* blueprintId: "
|
|
24
|
-
* bundleId: "
|
|
25
|
-
* keyPairName: "some_key_name",
|
|
24
|
+
* availabilityZone: "us-east-1a",
|
|
25
|
+
* blueprintId: "ubuntu_20_04",
|
|
26
|
+
* bundleId: "nano_2_0",
|
|
26
27
|
* });
|
|
27
|
-
* const
|
|
28
|
-
* staticIpName:
|
|
29
|
-
* instanceName:
|
|
28
|
+
* const exampleStaticIpAttachment = new aws.lightsail.StaticIpAttachment("example", {
|
|
29
|
+
* staticIpName: example.id,
|
|
30
|
+
* instanceName: exampleInstance.id,
|
|
30
31
|
* });
|
|
31
32
|
* ```
|
|
33
|
+
*
|
|
34
|
+
* ## Import
|
|
35
|
+
*
|
|
36
|
+
* Using `pulumi import`, import `aws_lightsail_static_ip_attachment` using the static IP name. For example:
|
|
37
|
+
*
|
|
38
|
+
* ```sh
|
|
39
|
+
* $ pulumi import aws:lightsail/staticIpAttachment:StaticIpAttachment example example-static-ip
|
|
40
|
+
* ```
|
|
32
41
|
*/
|
|
33
42
|
class StaticIpAttachment extends pulumi.CustomResource {
|
|
34
43
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"staticIpAttachment.js","sourceRoot":"","sources":["../../lightsail/staticIpAttachment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"staticIpAttachment.js","sourceRoot":"","sources":["../../lightsail/staticIpAttachment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE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