@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.
Files changed (188) hide show
  1. package/amp/index.d.ts +3 -0
  2. package/amp/index.js +6 -1
  3. package/amp/index.js.map +1 -1
  4. package/amp/workspaceConfiguration.d.ts +149 -0
  5. package/amp/workspaceConfiguration.js +124 -0
  6. package/amp/workspaceConfiguration.js.map +1 -0
  7. package/cloudfront/keyvaluestoreKeysExclusive.d.ts +12 -0
  8. package/cloudfront/keyvaluestoreKeysExclusive.js +2 -0
  9. package/cloudfront/keyvaluestoreKeysExclusive.js.map +1 -1
  10. package/dsql/cluster.d.ts +170 -0
  11. package/dsql/cluster.js +94 -0
  12. package/dsql/cluster.js.map +1 -0
  13. package/dsql/clusterPeering.d.ts +114 -0
  14. package/dsql/clusterPeering.js +101 -0
  15. package/dsql/clusterPeering.js.map +1 -0
  16. package/dsql/index.d.ts +6 -0
  17. package/dsql/index.js +27 -0
  18. package/dsql/index.js.map +1 -0
  19. package/ec2/vpnConnection.d.ts +20 -0
  20. package/ec2/vpnConnection.js +4 -0
  21. package/ec2/vpnConnection.js.map +1 -1
  22. package/fsx/lustreFileSystem.d.ts +18 -3
  23. package/fsx/lustreFileSystem.js +4 -0
  24. package/fsx/lustreFileSystem.js.map +1 -1
  25. package/glue/job.d.ts +102 -5
  26. package/glue/job.js +102 -5
  27. package/glue/job.js.map +1 -1
  28. package/index.d.ts +3 -1
  29. package/index.js +7 -3
  30. package/index.js.map +1 -1
  31. package/lambda/codeSigningConfig.d.ts +2 -2
  32. package/lambda/codeSigningConfig.js +2 -2
  33. package/lightsail/bucket.d.ts +40 -28
  34. package/lightsail/bucket.js +4 -4
  35. package/lightsail/bucket.js.map +1 -1
  36. package/lightsail/bucketAccessKey.d.ts +16 -16
  37. package/lightsail/bucketAccessKey.js +5 -5
  38. package/lightsail/bucketResourceAccess.d.ts +30 -8
  39. package/lightsail/bucketResourceAccess.js +24 -2
  40. package/lightsail/bucketResourceAccess.js.map +1 -1
  41. package/lightsail/certificate.d.ts +29 -23
  42. package/lightsail/certificate.js +6 -6
  43. package/lightsail/certificate.js.map +1 -1
  44. package/lightsail/containerService.d.ts +62 -97
  45. package/lightsail/containerService.js +11 -15
  46. package/lightsail/containerService.js.map +1 -1
  47. package/lightsail/containerServiceDeploymentVersion.d.ts +22 -16
  48. package/lightsail/containerServiceDeploymentVersion.js +1 -1
  49. package/lightsail/containerServiceDeploymentVersion.js.map +1 -1
  50. package/lightsail/database.d.ts +113 -109
  51. package/lightsail/database.js +36 -38
  52. package/lightsail/database.js.map +1 -1
  53. package/lightsail/disk.d.ts +30 -24
  54. package/lightsail/disk.js +4 -4
  55. package/lightsail/disk.js.map +1 -1
  56. package/lightsail/disk_attachment.d.ts +19 -19
  57. package/lightsail/disk_attachment.js +10 -10
  58. package/lightsail/distribution.d.ts +84 -88
  59. package/lightsail/distribution.js +32 -38
  60. package/lightsail/distribution.js.map +1 -1
  61. package/lightsail/domain.d.ts +10 -12
  62. package/lightsail/domain.js +5 -7
  63. package/lightsail/domain.js.map +1 -1
  64. package/lightsail/domainEntry.d.ts +27 -21
  65. package/lightsail/domainEntry.js +6 -6
  66. package/lightsail/domainEntry.js.map +1 -1
  67. package/lightsail/instance.d.ts +60 -78
  68. package/lightsail/instance.js +9 -12
  69. package/lightsail/instance.js.map +1 -1
  70. package/lightsail/instancePublicPorts.d.ts +29 -14
  71. package/lightsail/instancePublicPorts.js +26 -11
  72. package/lightsail/instancePublicPorts.js.map +1 -1
  73. package/lightsail/keyPair.d.ts +44 -34
  74. package/lightsail/keyPair.js +6 -9
  75. package/lightsail/keyPair.js.map +1 -1
  76. package/lightsail/lb.d.ts +47 -30
  77. package/lightsail/lb.js +6 -4
  78. package/lightsail/lb.js.map +1 -1
  79. package/lightsail/lbAttachment.d.ts +15 -15
  80. package/lightsail/lbAttachment.js +9 -9
  81. package/lightsail/lbCertificate.d.ts +41 -21
  82. package/lightsail/lbCertificate.js +10 -8
  83. package/lightsail/lbCertificate.js.map +1 -1
  84. package/lightsail/lbCertificateAttachment.d.ts +19 -17
  85. package/lightsail/lbCertificateAttachment.js +13 -11
  86. package/lightsail/lbCertificateAttachment.js.map +1 -1
  87. package/lightsail/lbHttpsRedirectionPolicy.d.ts +21 -19
  88. package/lightsail/lbHttpsRedirectionPolicy.js +15 -13
  89. package/lightsail/lbHttpsRedirectionPolicy.js.map +1 -1
  90. package/lightsail/lbStickinessPolicy.d.ts +17 -15
  91. package/lightsail/lbStickinessPolicy.js +8 -6
  92. package/lightsail/lbStickinessPolicy.js.map +1 -1
  93. package/lightsail/staticIp.d.ts +22 -12
  94. package/lightsail/staticIp.js +13 -3
  95. package/lightsail/staticIp.js.map +1 -1
  96. package/lightsail/staticIpAttachment.d.ts +28 -19
  97. package/lightsail/staticIpAttachment.js +20 -11
  98. package/lightsail/staticIpAttachment.js.map +1 -1
  99. package/neptune/cluster.d.ts +81 -90
  100. package/neptune/cluster.js.map +1 -1
  101. package/neptune/getEngineVersion.d.ts +95 -13
  102. package/neptune/getEngineVersion.js +22 -6
  103. package/neptune/getEngineVersion.js.map +1 -1
  104. package/neptune/globalCluster.d.ts +11 -14
  105. package/neptune/globalCluster.js.map +1 -1
  106. package/networkfirewall/ruleGroup.d.ts +46 -0
  107. package/networkfirewall/ruleGroup.js +46 -0
  108. package/networkfirewall/ruleGroup.js.map +1 -1
  109. package/package.json +2 -2
  110. package/pinpoint/smsvoicev2PhoneNumber.d.ts +12 -0
  111. package/pinpoint/smsvoicev2PhoneNumber.js +2 -0
  112. package/pinpoint/smsvoicev2PhoneNumber.js.map +1 -1
  113. package/s3/accessPoint.d.ts +22 -1
  114. package/s3/accessPoint.js +22 -1
  115. package/s3/accessPoint.js.map +1 -1
  116. package/s3control/directoryBucketAccessPointScope.d.ts +120 -0
  117. package/s3control/directoryBucketAccessPointScope.js +102 -0
  118. package/s3control/directoryBucketAccessPointScope.js.map +1 -0
  119. package/s3control/index.d.ts +3 -0
  120. package/s3control/index.js +6 -1
  121. package/s3control/index.js.map +1 -1
  122. package/ssm/association.d.ts +155 -0
  123. package/ssm/association.js +155 -0
  124. package/ssm/association.js.map +1 -1
  125. package/types/input.d.ts +579 -56
  126. package/types/input.js.map +1 -1
  127. package/types/output.d.ts +579 -56
  128. package/types/output.js.map +1 -1
  129. package/vpc/index.d.ts +15 -0
  130. package/vpc/index.js +26 -1
  131. package/vpc/index.js.map +1 -1
  132. package/vpc/routeServer.d.ts +197 -0
  133. package/vpc/routeServer.js +114 -0
  134. package/vpc/routeServer.js.map +1 -0
  135. package/vpc/routeServerEndpoint.d.ts +173 -0
  136. package/vpc/routeServerEndpoint.js +101 -0
  137. package/vpc/routeServerEndpoint.js.map +1 -0
  138. package/vpc/routeServerPeer.d.ts +233 -0
  139. package/vpc/routeServerPeer.js +154 -0
  140. package/vpc/routeServerPeer.js.map +1 -0
  141. package/vpc/routeServerPropagation.d.ts +90 -0
  142. package/vpc/routeServerPropagation.js +84 -0
  143. package/vpc/routeServerPropagation.js.map +1 -0
  144. package/vpc/routeServerVpcAssociation.d.ts +90 -0
  145. package/vpc/routeServerVpcAssociation.js +84 -0
  146. package/vpc/routeServerVpcAssociation.js.map +1 -0
  147. package/workspaces/index.d.ts +9 -0
  148. package/workspaces/index.js +16 -1
  149. package/workspaces/index.js.map +1 -1
  150. package/workspaces/webBrowserSettings.d.ts +5 -2
  151. package/workspaces/webBrowserSettings.js +7 -2
  152. package/workspaces/webBrowserSettings.js.map +1 -1
  153. package/workspaces/webDataProtectionSettings.d.ts +264 -0
  154. package/workspaces/webDataProtectionSettings.js +174 -0
  155. package/workspaces/webDataProtectionSettings.js.map +1 -0
  156. package/workspaces/webIpAccessSettings.d.ts +245 -0
  157. package/workspaces/webIpAccessSettings.js +155 -0
  158. package/workspaces/webIpAccessSettings.js.map +1 -0
  159. package/workspaces/webNetworkSettings.d.ts +4 -1
  160. package/workspaces/webNetworkSettings.js +6 -1
  161. package/workspaces/webNetworkSettings.js.map +1 -1
  162. package/workspaces/webUserAccessLoggingSettings.d.ts +152 -0
  163. package/workspaces/webUserAccessLoggingSettings.js +110 -0
  164. package/workspaces/webUserAccessLoggingSettings.js.map +1 -0
  165. package/workspaces/webUserSettings.d.ts +6 -3
  166. package/workspaces/webUserSettings.js +8 -3
  167. package/workspaces/webUserSettings.js.map +1 -1
  168. package/workspacesweb/browserSettings.d.ts +190 -0
  169. package/workspacesweb/browserSettings.js +122 -0
  170. package/workspacesweb/browserSettings.js.map +1 -0
  171. package/workspacesweb/dataProtectionSettings.d.ts +261 -0
  172. package/workspacesweb/dataProtectionSettings.js +171 -0
  173. package/workspacesweb/dataProtectionSettings.js.map +1 -0
  174. package/workspacesweb/index.d.ts +18 -0
  175. package/workspacesweb/index.js +47 -0
  176. package/workspacesweb/index.js.map +1 -0
  177. package/workspacesweb/ipAccessSettings.d.ts +242 -0
  178. package/workspacesweb/ipAccessSettings.js +152 -0
  179. package/workspacesweb/ipAccessSettings.js.map +1 -0
  180. package/workspacesweb/networkSettings.d.ts +181 -0
  181. package/workspacesweb/networkSettings.js +125 -0
  182. package/workspacesweb/networkSettings.js.map +1 -0
  183. package/workspacesweb/userAccessLoggingSettings.d.ts +149 -0
  184. package/workspacesweb/userAccessLoggingSettings.js +107 -0
  185. package/workspacesweb/userAccessLoggingSettings.js.map +1 -0
  186. package/workspacesweb/userSettings.d.ts +342 -0
  187. package/workspacesweb/userSettings.js +194 -0
  188. 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
- * Configures Https Redirection for a Lightsail Load Balancer. A valid Certificate must be attached to the load balancer in order to enable https redirection.
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 test = new aws.lightsail.Lb("test", {
18
- * name: "test-load-balancer",
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 testLbCertificate = new aws.lightsail.LbCertificate("test", {
26
- * name: "test-load-balancer-certificate",
27
- * lbName: test.id,
28
- * domainName: "test.com",
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 testLbCertificateAttachment = new aws.lightsail.LbCertificateAttachment("test", {
31
- * lbName: test.name,
32
- * certificateName: testLbCertificate.name,
32
+ * const exampleLbCertificateAttachment = new aws.lightsail.LbCertificateAttachment("example", {
33
+ * lbName: example.name,
34
+ * certificateName: exampleLbCertificate.name,
33
35
  * });
34
- * const testLbHttpsRedirectionPolicy = new aws.lightsail.LbHttpsRedirectionPolicy("test", {
35
- * lbName: test.name,
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 test example-load-balancer
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,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,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;IAmBD,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwD,CAAC;YACvE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;aAAM;YACH,MAAM,IAAI,GAAG,WAAuD,CAAC;YACrE,IA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C,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
- * Configures Session Stickiness for a Lightsail Load Balancer.
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 test = new aws.lightsail.Lb("test", {
12
- * name: "test-load-balancer",
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 testLbStickinessPolicy = new aws.lightsail.LbStickinessPolicy("test", {
20
- * lbName: test.name,
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 test example-load-balancer
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
- * The cookie duration in seconds. This determines the length of the session stickiness.
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
- * The Session Stickiness state of the load balancer. `true` to activate session stickiness or `false` to deactivate session stickiness.
57
+ * Whether to enable session stickiness for the load balancer.
56
58
  */
57
59
  readonly enabled: pulumi.Output<boolean>;
58
60
  /**
59
- * The name of the load balancer to which you want to enable session stickiness.
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
- * The cookie duration in seconds. This determines the length of the session stickiness.
78
+ * Cookie duration in seconds. This determines the length of the session stickiness.
77
79
  */
78
80
  cookieDuration?: pulumi.Input<number>;
79
81
  /**
80
- * The Session Stickiness state of the load balancer. `true` to activate session stickiness or `false` to deactivate session stickiness.
82
+ * Whether to enable session stickiness for the load balancer.
81
83
  */
82
84
  enabled?: pulumi.Input<boolean>;
83
85
  /**
84
- * The name of the load balancer to which you want to enable session stickiness.
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
- * The cookie duration in seconds. This determines the length of the session stickiness.
95
+ * Cookie duration in seconds. This determines the length of the session stickiness.
94
96
  */
95
97
  cookieDuration: pulumi.Input<number>;
96
98
  /**
97
- * The Session Stickiness state of the load balancer. `true` to activate session stickiness or `false` to deactivate session stickiness.
99
+ * Whether to enable session stickiness for the load balancer.
98
100
  */
99
101
  enabled: pulumi.Input<boolean>;
100
102
  /**
101
- * The name of the load balancer to which you want to enable session stickiness.
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
- * Configures Session Stickiness for a Lightsail Load Balancer.
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 test = new aws.lightsail.Lb("test", {
18
- * name: "test-load-balancer",
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 testLbStickinessPolicy = new aws.lightsail.LbStickinessPolicy("test", {
26
- * lbName: test.name,
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 test example-load-balancer
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;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,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IAuBD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK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YAC/D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,cAAc,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3D,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,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"}
@@ -1,8 +1,10 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Allocates a static IP address.
3
+ * Manages a static IP address.
4
4
  *
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
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 test = new aws.lightsail.StaticIp("test", {name: "example"});
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
- * The ARN of the Lightsail static IP
43
+ * ARN of the Lightsail static IP.
34
44
  */
35
45
  readonly arn: pulumi.Output<string>;
36
46
  /**
37
- * The allocated static IP address
47
+ * Allocated static IP address.
38
48
  */
39
49
  readonly ipAddress: pulumi.Output<string>;
40
50
  /**
41
- * The name for the allocated static IP
51
+ * Name for the allocated static IP.
42
52
  */
43
53
  readonly name: pulumi.Output<string>;
44
54
  /**
45
- * The support code.
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
- * The ARN of the Lightsail static IP
72
+ * ARN of the Lightsail static IP.
63
73
  */
64
74
  arn?: pulumi.Input<string>;
65
75
  /**
66
- * The allocated static IP address
76
+ * Allocated static IP address.
67
77
  */
68
78
  ipAddress?: pulumi.Input<string>;
69
79
  /**
70
- * The name for the allocated static IP
80
+ * Name for the allocated static IP.
71
81
  */
72
82
  name?: pulumi.Input<string>;
73
83
  /**
74
- * The support code.
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
- * The name for the allocated static IP
93
+ * Name for the allocated static IP.
84
94
  */
85
95
  name?: pulumi.Input<string>;
86
96
  }
@@ -6,9 +6,11 @@ exports.StaticIp = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * Allocates a static IP address.
9
+ * Manages a static IP address.
10
10
  *
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
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 test = new aws.lightsail.StaticIp("test", {name: "example"});
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;;;;;;;;;;;;;GAaG;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;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IA2BD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC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GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;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
- * Provides a static IP address attachment - relationship between a Lightsail static IP & Lightsail instance.
3
+ * Manages a static IP address attachment - relationship between a Lightsail static IP and Lightsail instance.
4
4
  *
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
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 testStaticIp = new aws.lightsail.StaticIp("test", {name: "example"});
14
- * const testInstance = new aws.lightsail.Instance("test", {
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-1b",
17
- * blueprintId: "string",
18
- * bundleId: "string",
19
- * keyPairName: "some_key_name",
18
+ * availabilityZone: "us-east-1a",
19
+ * blueprintId: "ubuntu_20_04",
20
+ * bundleId: "nano_2_0",
20
21
  * });
21
- * const test = new aws.lightsail.StaticIpAttachment("test", {
22
- * staticIpName: testStaticIp.id,
23
- * instanceName: testInstance.id,
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
- * The name of the Lightsail instance to attach the IP to
53
+ * Name of the Lightsail instance to attach the IP to.
45
54
  */
46
55
  readonly instanceName: pulumi.Output<string>;
47
56
  /**
48
- * The allocated static IP address
57
+ * Allocated static IP address.
49
58
  */
50
59
  readonly ipAddress: pulumi.Output<string>;
51
60
  /**
52
- * The name of the allocated static IP
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
- * The name of the Lightsail instance to attach the IP to
78
+ * Name of the Lightsail instance to attach the IP to.
70
79
  */
71
80
  instanceName?: pulumi.Input<string>;
72
81
  /**
73
- * The allocated static IP address
82
+ * Allocated static IP address.
74
83
  */
75
84
  ipAddress?: pulumi.Input<string>;
76
85
  /**
77
- * The name of the allocated static IP
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
- * The name of the Lightsail instance to attach the IP to
95
+ * Name of the Lightsail instance to attach the IP to.
87
96
  */
88
97
  instanceName: pulumi.Input<string>;
89
98
  /**
90
- * The name of the allocated static IP
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
- * Provides a static IP address attachment - relationship between a Lightsail static IP & Lightsail instance.
9
+ * Manages a static IP address attachment - relationship between a Lightsail static IP and Lightsail instance.
10
10
  *
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
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 testStaticIp = new aws.lightsail.StaticIp("test", {name: "example"});
20
- * const testInstance = new aws.lightsail.Instance("test", {
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-1b",
23
- * blueprintId: "string",
24
- * bundleId: "string",
25
- * keyPairName: "some_key_name",
24
+ * availabilityZone: "us-east-1a",
25
+ * blueprintId: "ubuntu_20_04",
26
+ * bundleId: "nano_2_0",
26
27
  * });
27
- * const test = new aws.lightsail.StaticIpAttachment("test", {
28
- * staticIpName: testStaticIp.id,
29
- * instanceName: testInstance.id,
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;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;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,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IAuBD,YAAY,IAAY,EAAE,WAA8D,EAAE,IA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