@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
@@ -2,28 +2,26 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
3
  import * as outputs from "../types/output";
4
4
  /**
5
- * Resource for managing an AWS Lightsail Distribution.
5
+ * Manages a Lightsail content delivery network (CDN) distribution. Use this resource to cache content at edge locations and reduce latency for users accessing your content.
6
6
  *
7
7
  * ## Example Usage
8
8
  *
9
9
  * ### Basic Usage
10
10
  *
11
- * Below is a basic example with a bucket as an origin.
12
- *
13
11
  * ```typescript
14
12
  * import * as pulumi from "@pulumi/pulumi";
15
13
  * import * as aws from "@pulumi/aws";
16
14
  *
17
- * const test = new aws.lightsail.Bucket("test", {
18
- * name: "test-bucket",
15
+ * const example = new aws.lightsail.Bucket("example", {
16
+ * name: "example-bucket",
19
17
  * bundleId: "small_1_0",
20
18
  * });
21
- * const testDistribution = new aws.lightsail.Distribution("test", {
22
- * name: "test-distribution",
19
+ * const exampleDistribution = new aws.lightsail.Distribution("example", {
20
+ * name: "example-distribution",
23
21
  * bundleId: "small_1_0",
24
22
  * origin: {
25
- * name: test.name,
26
- * regionName: test.region,
23
+ * name: example.name,
24
+ * regionName: example.region,
27
25
  * },
28
26
  * defaultCacheBehavior: {
29
27
  * behavior: "cache",
@@ -47,9 +45,7 @@ import * as outputs from "../types/output";
47
45
  * });
48
46
  * ```
49
47
  *
50
- * ### instance origin example
51
- *
52
- * Below is an example of an instance as the origin.
48
+ * ### Instance Origin
53
49
  *
54
50
  * ```typescript
55
51
  * import * as pulumi from "@pulumi/pulumi";
@@ -62,35 +58,33 @@ import * as outputs from "../types/output";
62
58
  * values: ["opt-in-not-required"],
63
59
  * }],
64
60
  * });
65
- * const testStaticIp = new aws.lightsail.StaticIp("test", {name: "test-static-ip"});
66
- * const testInstance = new aws.lightsail.Instance("test", {
67
- * name: "test-instance",
61
+ * const exampleStaticIp = new aws.lightsail.StaticIp("example", {name: "example-static-ip"});
62
+ * const exampleInstance = new aws.lightsail.Instance("example", {
63
+ * name: "example-instance",
68
64
  * availabilityZone: available.then(available => available.names?.[0]),
69
65
  * blueprintId: "amazon_linux_2",
70
66
  * bundleId: "micro_1_0",
71
67
  * });
72
- * const test = new aws.lightsail.StaticIpAttachment("test", {
73
- * staticIpName: testStaticIp.name,
74
- * instanceName: testInstance.name,
68
+ * const example = new aws.lightsail.StaticIpAttachment("example", {
69
+ * staticIpName: exampleStaticIp.name,
70
+ * instanceName: exampleInstance.name,
75
71
  * });
76
- * const testDistribution = new aws.lightsail.Distribution("test", {
77
- * name: "test-distribution",
72
+ * const exampleDistribution = new aws.lightsail.Distribution("example", {
73
+ * name: "example-distribution",
78
74
  * bundleId: "small_1_0",
79
75
  * origin: {
80
- * name: testInstance.name,
76
+ * name: exampleInstance.name,
81
77
  * regionName: available.then(available => available.id),
82
78
  * },
83
79
  * defaultCacheBehavior: {
84
80
  * behavior: "cache",
85
81
  * },
86
82
  * }, {
87
- * dependsOn: [test],
83
+ * dependsOn: [example],
88
84
  * });
89
85
  * ```
90
86
  *
91
- * ### lb origin example
92
- *
93
- * Below is an example with a load balancer as an origin
87
+ * ### Load Balancer Origin
94
88
  *
95
89
  * ```typescript
96
90
  * import * as pulumi from "@pulumi/pulumi";
@@ -103,45 +97,45 @@ import * as outputs from "../types/output";
103
97
  * values: ["opt-in-not-required"],
104
98
  * }],
105
99
  * });
106
- * const test = new aws.lightsail.Lb("test", {
107
- * name: "test-load-balancer",
100
+ * const example = new aws.lightsail.Lb("example", {
101
+ * name: "example-load-balancer",
108
102
  * healthCheckPath: "/",
109
103
  * instancePort: 80,
110
104
  * tags: {
111
105
  * foo: "bar",
112
106
  * },
113
107
  * });
114
- * const testInstance = new aws.lightsail.Instance("test", {
115
- * name: "test-instance",
108
+ * const exampleInstance = new aws.lightsail.Instance("example", {
109
+ * name: "example-instance",
116
110
  * availabilityZone: available.then(available => available.names?.[0]),
117
111
  * blueprintId: "amazon_linux_2",
118
112
  * bundleId: "nano_3_0",
119
113
  * });
120
- * const testLbAttachment = new aws.lightsail.LbAttachment("test", {
121
- * lbName: test.name,
122
- * instanceName: testInstance.name,
114
+ * const exampleLbAttachment = new aws.lightsail.LbAttachment("example", {
115
+ * lbName: example.name,
116
+ * instanceName: exampleInstance.name,
123
117
  * });
124
- * const testDistribution = new aws.lightsail.Distribution("test", {
125
- * name: "test-distribution",
118
+ * const exampleDistribution = new aws.lightsail.Distribution("example", {
119
+ * name: "example-distribution",
126
120
  * bundleId: "small_1_0",
127
121
  * origin: {
128
- * name: test.name,
122
+ * name: example.name,
129
123
  * regionName: available.then(available => available.id),
130
124
  * },
131
125
  * defaultCacheBehavior: {
132
126
  * behavior: "cache",
133
127
  * },
134
128
  * }, {
135
- * dependsOn: [testLbAttachment],
129
+ * dependsOn: [exampleLbAttachment],
136
130
  * });
137
131
  * ```
138
132
  *
139
133
  * ## Import
140
134
  *
141
- * Using `pulumi import`, import Lightsail Distribution using the `id`. For example:
135
+ * Using `pulumi import`, import Lightsail Distribution using the `name`. For example:
142
136
  *
143
137
  * ```sh
144
- * $ pulumi import aws:lightsail/distribution:Distribution example rft-8012925589
138
+ * $ pulumi import aws:lightsail/distribution:Distribution example example-distribution
145
139
  * ```
146
140
  */
147
141
  export declare class Distribution extends pulumi.CustomResource {
@@ -161,11 +155,11 @@ export declare class Distribution extends pulumi.CustomResource {
161
155
  */
162
156
  static isInstance(obj: any): obj is Distribution;
163
157
  /**
164
- * The alternate domain names of the distribution.
158
+ * Alternate domain names of the distribution.
165
159
  */
166
160
  readonly alternativeDomainNames: pulumi.Output<string[]>;
167
161
  /**
168
- * The Amazon Resource Name (ARN) of the distribution.
162
+ * ARN of the distribution.
169
163
  */
170
164
  readonly arn: pulumi.Output<string>;
171
165
  /**
@@ -173,41 +167,39 @@ export declare class Distribution extends pulumi.CustomResource {
173
167
  */
174
168
  readonly bundleId: pulumi.Output<string>;
175
169
  /**
176
- * An object that describes the cache behavior settings of the distribution. Detailed below
177
- *
178
- * The following arguments are optional:
170
+ * Cache behavior settings of the distribution. See below.
179
171
  */
180
172
  readonly cacheBehaviorSettings: pulumi.Output<outputs.lightsail.DistributionCacheBehaviorSettings | undefined>;
181
173
  /**
182
- * A set of configuration blocks that describe the per-path cache behavior of the distribution. Detailed below
174
+ * Per-path cache behavior of the distribution. See below.
183
175
  */
184
176
  readonly cacheBehaviors: pulumi.Output<outputs.lightsail.DistributionCacheBehavior[] | undefined>;
185
177
  /**
186
- * The name of the SSL/TLS certificate attached to the distribution, if any.
178
+ * Name of the SSL/TLS certificate attached to the distribution.
187
179
  */
188
180
  readonly certificateName: pulumi.Output<string | undefined>;
189
181
  /**
190
- * The timestamp when the distribution was created.
182
+ * Timestamp when the distribution was created.
191
183
  */
192
184
  readonly createdAt: pulumi.Output<string>;
193
185
  /**
194
- * Object that describes the default cache behavior of the distribution. Detailed below
186
+ * Default cache behavior of the distribution. See below.
195
187
  */
196
188
  readonly defaultCacheBehavior: pulumi.Output<outputs.lightsail.DistributionDefaultCacheBehavior>;
197
189
  /**
198
- * The domain name of the distribution.
190
+ * Domain name of the distribution.
199
191
  */
200
192
  readonly domainName: pulumi.Output<string>;
201
193
  /**
202
- * The IP address type of the distribution. Default: `dualstack`.
194
+ * IP address type of the distribution. Valid values: `dualstack`, `ipv4`. Default: `dualstack`.
203
195
  */
204
196
  readonly ipAddressType: pulumi.Output<string | undefined>;
205
197
  /**
206
- * Indicates whether the distribution is enabled. Default: `true`.
198
+ * Whether the distribution is enabled. Default: `true`.
207
199
  */
208
200
  readonly isEnabled: pulumi.Output<boolean | undefined>;
209
201
  /**
210
- * An object that describes the location of the distribution, such as the AWS Region and Availability Zone. Detailed below
202
+ * Location of the distribution, such as the AWS Region and Availability Zone. See below.
211
203
  */
212
204
  readonly locations: pulumi.Output<outputs.lightsail.DistributionLocation[]>;
213
205
  /**
@@ -215,33 +207,36 @@ export declare class Distribution extends pulumi.CustomResource {
215
207
  */
216
208
  readonly name: pulumi.Output<string>;
217
209
  /**
218
- * Object that describes the origin resource of the distribution, such as a Lightsail instance, bucket, or load balancer. Detailed below
210
+ * Origin resource of the distribution, such as a Lightsail instance, bucket, or load balancer. See below.
211
+ *
212
+ * The following arguments are optional:
219
213
  */
220
214
  readonly origin: pulumi.Output<outputs.lightsail.DistributionOrigin>;
221
215
  /**
222
- * The public DNS of the origin.
216
+ * Public DNS of the origin.
217
+ * * `origin[0].resource_type` - Resource type of the origin resource (e.g., Instance).
223
218
  */
224
219
  readonly originPublicDns: pulumi.Output<string>;
225
220
  /**
226
- * The Lightsail resource type (e.g., Distribution).
221
+ * Lightsail resource type (e.g., Distribution).
227
222
  */
228
223
  readonly resourceType: pulumi.Output<string>;
229
224
  /**
230
- * The status of the distribution.
225
+ * Status of the distribution.
231
226
  */
232
227
  readonly status: pulumi.Output<string>;
233
228
  /**
234
- * The support code. Include this code in your email to support when you have questions about your Lightsail distribution. This code enables our support team to look up your Lightsail information more easily.
229
+ * Support code. Include this code in your email to support when you have questions about your Lightsail distribution. This code enables our support team to look up your Lightsail information more easily.
235
230
  */
236
231
  readonly supportCode: pulumi.Output<string>;
237
232
  /**
238
- * Map of tags for the Lightsail Distribution. 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.
233
+ * Map of tags for the Lightsail Distribution. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
239
234
  */
240
235
  readonly tags: pulumi.Output<{
241
236
  [key: string]: string;
242
237
  } | undefined>;
243
238
  /**
244
- * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
239
+ * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
245
240
  *
246
241
  * @deprecated Please use `tags` instead.
247
242
  */
@@ -262,11 +257,11 @@ export declare class Distribution extends pulumi.CustomResource {
262
257
  */
263
258
  export interface DistributionState {
264
259
  /**
265
- * The alternate domain names of the distribution.
260
+ * Alternate domain names of the distribution.
266
261
  */
267
262
  alternativeDomainNames?: pulumi.Input<pulumi.Input<string>[]>;
268
263
  /**
269
- * The Amazon Resource Name (ARN) of the distribution.
264
+ * ARN of the distribution.
270
265
  */
271
266
  arn?: pulumi.Input<string>;
272
267
  /**
@@ -274,41 +269,39 @@ export interface DistributionState {
274
269
  */
275
270
  bundleId?: pulumi.Input<string>;
276
271
  /**
277
- * An object that describes the cache behavior settings of the distribution. Detailed below
278
- *
279
- * The following arguments are optional:
272
+ * Cache behavior settings of the distribution. See below.
280
273
  */
281
274
  cacheBehaviorSettings?: pulumi.Input<inputs.lightsail.DistributionCacheBehaviorSettings>;
282
275
  /**
283
- * A set of configuration blocks that describe the per-path cache behavior of the distribution. Detailed below
276
+ * Per-path cache behavior of the distribution. See below.
284
277
  */
285
278
  cacheBehaviors?: pulumi.Input<pulumi.Input<inputs.lightsail.DistributionCacheBehavior>[]>;
286
279
  /**
287
- * The name of the SSL/TLS certificate attached to the distribution, if any.
280
+ * Name of the SSL/TLS certificate attached to the distribution.
288
281
  */
289
282
  certificateName?: pulumi.Input<string>;
290
283
  /**
291
- * The timestamp when the distribution was created.
284
+ * Timestamp when the distribution was created.
292
285
  */
293
286
  createdAt?: pulumi.Input<string>;
294
287
  /**
295
- * Object that describes the default cache behavior of the distribution. Detailed below
288
+ * Default cache behavior of the distribution. See below.
296
289
  */
297
290
  defaultCacheBehavior?: pulumi.Input<inputs.lightsail.DistributionDefaultCacheBehavior>;
298
291
  /**
299
- * The domain name of the distribution.
292
+ * Domain name of the distribution.
300
293
  */
301
294
  domainName?: pulumi.Input<string>;
302
295
  /**
303
- * The IP address type of the distribution. Default: `dualstack`.
296
+ * IP address type of the distribution. Valid values: `dualstack`, `ipv4`. Default: `dualstack`.
304
297
  */
305
298
  ipAddressType?: pulumi.Input<string>;
306
299
  /**
307
- * Indicates whether the distribution is enabled. Default: `true`.
300
+ * Whether the distribution is enabled. Default: `true`.
308
301
  */
309
302
  isEnabled?: pulumi.Input<boolean>;
310
303
  /**
311
- * An object that describes the location of the distribution, such as the AWS Region and Availability Zone. Detailed below
304
+ * Location of the distribution, such as the AWS Region and Availability Zone. See below.
312
305
  */
313
306
  locations?: pulumi.Input<pulumi.Input<inputs.lightsail.DistributionLocation>[]>;
314
307
  /**
@@ -316,33 +309,36 @@ export interface DistributionState {
316
309
  */
317
310
  name?: pulumi.Input<string>;
318
311
  /**
319
- * Object that describes the origin resource of the distribution, such as a Lightsail instance, bucket, or load balancer. Detailed below
312
+ * Origin resource of the distribution, such as a Lightsail instance, bucket, or load balancer. See below.
313
+ *
314
+ * The following arguments are optional:
320
315
  */
321
316
  origin?: pulumi.Input<inputs.lightsail.DistributionOrigin>;
322
317
  /**
323
- * The public DNS of the origin.
318
+ * Public DNS of the origin.
319
+ * * `origin[0].resource_type` - Resource type of the origin resource (e.g., Instance).
324
320
  */
325
321
  originPublicDns?: pulumi.Input<string>;
326
322
  /**
327
- * The Lightsail resource type (e.g., Distribution).
323
+ * Lightsail resource type (e.g., Distribution).
328
324
  */
329
325
  resourceType?: pulumi.Input<string>;
330
326
  /**
331
- * The status of the distribution.
327
+ * Status of the distribution.
332
328
  */
333
329
  status?: pulumi.Input<string>;
334
330
  /**
335
- * The support code. Include this code in your email to support when you have questions about your Lightsail distribution. This code enables our support team to look up your Lightsail information more easily.
331
+ * Support code. Include this code in your email to support when you have questions about your Lightsail distribution. This code enables our support team to look up your Lightsail information more easily.
336
332
  */
337
333
  supportCode?: pulumi.Input<string>;
338
334
  /**
339
- * Map of tags for the Lightsail Distribution. 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.
335
+ * Map of tags for the Lightsail Distribution. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
340
336
  */
341
337
  tags?: pulumi.Input<{
342
338
  [key: string]: pulumi.Input<string>;
343
339
  }>;
344
340
  /**
345
- * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
341
+ * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
346
342
  *
347
343
  * @deprecated Please use `tags` instead.
348
344
  */
@@ -359,29 +355,27 @@ export interface DistributionArgs {
359
355
  */
360
356
  bundleId: pulumi.Input<string>;
361
357
  /**
362
- * An object that describes the cache behavior settings of the distribution. Detailed below
363
- *
364
- * The following arguments are optional:
358
+ * Cache behavior settings of the distribution. See below.
365
359
  */
366
360
  cacheBehaviorSettings?: pulumi.Input<inputs.lightsail.DistributionCacheBehaviorSettings>;
367
361
  /**
368
- * A set of configuration blocks that describe the per-path cache behavior of the distribution. Detailed below
362
+ * Per-path cache behavior of the distribution. See below.
369
363
  */
370
364
  cacheBehaviors?: pulumi.Input<pulumi.Input<inputs.lightsail.DistributionCacheBehavior>[]>;
371
365
  /**
372
- * The name of the SSL/TLS certificate attached to the distribution, if any.
366
+ * Name of the SSL/TLS certificate attached to the distribution.
373
367
  */
374
368
  certificateName?: pulumi.Input<string>;
375
369
  /**
376
- * Object that describes the default cache behavior of the distribution. Detailed below
370
+ * Default cache behavior of the distribution. See below.
377
371
  */
378
372
  defaultCacheBehavior: pulumi.Input<inputs.lightsail.DistributionDefaultCacheBehavior>;
379
373
  /**
380
- * The IP address type of the distribution. Default: `dualstack`.
374
+ * IP address type of the distribution. Valid values: `dualstack`, `ipv4`. Default: `dualstack`.
381
375
  */
382
376
  ipAddressType?: pulumi.Input<string>;
383
377
  /**
384
- * Indicates whether the distribution is enabled. Default: `true`.
378
+ * Whether the distribution is enabled. Default: `true`.
385
379
  */
386
380
  isEnabled?: pulumi.Input<boolean>;
387
381
  /**
@@ -389,11 +383,13 @@ export interface DistributionArgs {
389
383
  */
390
384
  name?: pulumi.Input<string>;
391
385
  /**
392
- * Object that describes the origin resource of the distribution, such as a Lightsail instance, bucket, or load balancer. Detailed below
386
+ * Origin resource of the distribution, such as a Lightsail instance, bucket, or load balancer. See below.
387
+ *
388
+ * The following arguments are optional:
393
389
  */
394
390
  origin: pulumi.Input<inputs.lightsail.DistributionOrigin>;
395
391
  /**
396
- * Map of tags for the Lightsail Distribution. 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.
392
+ * Map of tags for the Lightsail Distribution. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
397
393
  */
398
394
  tags?: pulumi.Input<{
399
395
  [key: string]: pulumi.Input<string>;
@@ -6,28 +6,26 @@ exports.Distribution = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * Resource for managing an AWS Lightsail Distribution.
9
+ * Manages a Lightsail content delivery network (CDN) distribution. Use this resource to cache content at edge locations and reduce latency for users accessing your content.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
13
13
  * ### Basic Usage
14
14
  *
15
- * Below is a basic example with a bucket as an origin.
16
- *
17
15
  * ```typescript
18
16
  * import * as pulumi from "@pulumi/pulumi";
19
17
  * import * as aws from "@pulumi/aws";
20
18
  *
21
- * const test = new aws.lightsail.Bucket("test", {
22
- * name: "test-bucket",
19
+ * const example = new aws.lightsail.Bucket("example", {
20
+ * name: "example-bucket",
23
21
  * bundleId: "small_1_0",
24
22
  * });
25
- * const testDistribution = new aws.lightsail.Distribution("test", {
26
- * name: "test-distribution",
23
+ * const exampleDistribution = new aws.lightsail.Distribution("example", {
24
+ * name: "example-distribution",
27
25
  * bundleId: "small_1_0",
28
26
  * origin: {
29
- * name: test.name,
30
- * regionName: test.region,
27
+ * name: example.name,
28
+ * regionName: example.region,
31
29
  * },
32
30
  * defaultCacheBehavior: {
33
31
  * behavior: "cache",
@@ -51,9 +49,7 @@ const utilities = require("../utilities");
51
49
  * });
52
50
  * ```
53
51
  *
54
- * ### instance origin example
55
- *
56
- * Below is an example of an instance as the origin.
52
+ * ### Instance Origin
57
53
  *
58
54
  * ```typescript
59
55
  * import * as pulumi from "@pulumi/pulumi";
@@ -66,35 +62,33 @@ const utilities = require("../utilities");
66
62
  * values: ["opt-in-not-required"],
67
63
  * }],
68
64
  * });
69
- * const testStaticIp = new aws.lightsail.StaticIp("test", {name: "test-static-ip"});
70
- * const testInstance = new aws.lightsail.Instance("test", {
71
- * name: "test-instance",
65
+ * const exampleStaticIp = new aws.lightsail.StaticIp("example", {name: "example-static-ip"});
66
+ * const exampleInstance = new aws.lightsail.Instance("example", {
67
+ * name: "example-instance",
72
68
  * availabilityZone: available.then(available => available.names?.[0]),
73
69
  * blueprintId: "amazon_linux_2",
74
70
  * bundleId: "micro_1_0",
75
71
  * });
76
- * const test = new aws.lightsail.StaticIpAttachment("test", {
77
- * staticIpName: testStaticIp.name,
78
- * instanceName: testInstance.name,
72
+ * const example = new aws.lightsail.StaticIpAttachment("example", {
73
+ * staticIpName: exampleStaticIp.name,
74
+ * instanceName: exampleInstance.name,
79
75
  * });
80
- * const testDistribution = new aws.lightsail.Distribution("test", {
81
- * name: "test-distribution",
76
+ * const exampleDistribution = new aws.lightsail.Distribution("example", {
77
+ * name: "example-distribution",
82
78
  * bundleId: "small_1_0",
83
79
  * origin: {
84
- * name: testInstance.name,
80
+ * name: exampleInstance.name,
85
81
  * regionName: available.then(available => available.id),
86
82
  * },
87
83
  * defaultCacheBehavior: {
88
84
  * behavior: "cache",
89
85
  * },
90
86
  * }, {
91
- * dependsOn: [test],
87
+ * dependsOn: [example],
92
88
  * });
93
89
  * ```
94
90
  *
95
- * ### lb origin example
96
- *
97
- * Below is an example with a load balancer as an origin
91
+ * ### Load Balancer Origin
98
92
  *
99
93
  * ```typescript
100
94
  * import * as pulumi from "@pulumi/pulumi";
@@ -107,45 +101,45 @@ const utilities = require("../utilities");
107
101
  * values: ["opt-in-not-required"],
108
102
  * }],
109
103
  * });
110
- * const test = new aws.lightsail.Lb("test", {
111
- * name: "test-load-balancer",
104
+ * const example = new aws.lightsail.Lb("example", {
105
+ * name: "example-load-balancer",
112
106
  * healthCheckPath: "/",
113
107
  * instancePort: 80,
114
108
  * tags: {
115
109
  * foo: "bar",
116
110
  * },
117
111
  * });
118
- * const testInstance = new aws.lightsail.Instance("test", {
119
- * name: "test-instance",
112
+ * const exampleInstance = new aws.lightsail.Instance("example", {
113
+ * name: "example-instance",
120
114
  * availabilityZone: available.then(available => available.names?.[0]),
121
115
  * blueprintId: "amazon_linux_2",
122
116
  * bundleId: "nano_3_0",
123
117
  * });
124
- * const testLbAttachment = new aws.lightsail.LbAttachment("test", {
125
- * lbName: test.name,
126
- * instanceName: testInstance.name,
118
+ * const exampleLbAttachment = new aws.lightsail.LbAttachment("example", {
119
+ * lbName: example.name,
120
+ * instanceName: exampleInstance.name,
127
121
  * });
128
- * const testDistribution = new aws.lightsail.Distribution("test", {
129
- * name: "test-distribution",
122
+ * const exampleDistribution = new aws.lightsail.Distribution("example", {
123
+ * name: "example-distribution",
130
124
  * bundleId: "small_1_0",
131
125
  * origin: {
132
- * name: test.name,
126
+ * name: example.name,
133
127
  * regionName: available.then(available => available.id),
134
128
  * },
135
129
  * defaultCacheBehavior: {
136
130
  * behavior: "cache",
137
131
  * },
138
132
  * }, {
139
- * dependsOn: [testLbAttachment],
133
+ * dependsOn: [exampleLbAttachment],
140
134
  * });
141
135
  * ```
142
136
  *
143
137
  * ## Import
144
138
  *
145
- * Using `pulumi import`, import Lightsail Distribution using the `id`. For example:
139
+ * Using `pulumi import`, import Lightsail Distribution using the `name`. For example:
146
140
  *
147
141
  * ```sh
148
- * $ pulumi import aws:lightsail/distribution:Distribution example rft-8012925589
142
+ * $ pulumi import aws:lightsail/distribution:Distribution example example-distribution
149
143
  * ```
150
144
  */
151
145
  class Distribution extends pulumi.CustomResource {
@@ -1 +1 @@
1
- {"version":3,"file":"distribution.js","sourceRoot":"","sources":["../../lightsail/distribution.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8IG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OA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1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7D,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AArLL,oCAsLC;AAxKG,gBAAgB;AACO,yBAAY,GAAG,yCAAyC,CAAC"}
@@ -1,12 +1,10 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Creates a domain resource for the specified domain (e.g., example.com).
4
- * You cannot register a new domain name using Lightsail. You must register
5
- * a domain name using Amazon Route 53 or another domain name registrar.
6
- * If you have already registered your domain, you can enter its name in
7
- * this parameter to manage the DNS records for that domain.
3
+ * Manages a Lightsail domain for DNS management. Use this resource to manage DNS records for a domain that you have already registered with a domain registrar.
8
4
  *
9
- * > **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
+ * > **Note:** You cannot register a new domain name using Lightsail. Register your domain using Amazon Route 53 or another domain name registrar before using this resource.
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.
10
8
  *
11
9
  * ## Example Usage
12
10
  *
@@ -14,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
14
12
  * import * as pulumi from "@pulumi/pulumi";
15
13
  * import * as aws from "@pulumi/aws";
16
14
  *
17
- * const domainTest = new aws.lightsail.Domain("domain_test", {domainName: "mydomain.com"});
15
+ * const example = new aws.lightsail.Domain("example", {domainName: "example.com"});
18
16
  * ```
19
17
  */
20
18
  export declare class Domain extends pulumi.CustomResource {
@@ -34,11 +32,11 @@ export declare class Domain extends pulumi.CustomResource {
34
32
  */
35
33
  static isInstance(obj: any): obj is Domain;
36
34
  /**
37
- * The ARN of the Lightsail domain
35
+ * ARN of the Lightsail domain.
38
36
  */
39
37
  readonly arn: pulumi.Output<string>;
40
38
  /**
41
- * The name of the Lightsail domain to manage
39
+ * Name of the Lightsail domain to manage.
42
40
  */
43
41
  readonly domainName: pulumi.Output<string>;
44
42
  /**
@@ -55,11 +53,11 @@ export declare class Domain extends pulumi.CustomResource {
55
53
  */
56
54
  export interface DomainState {
57
55
  /**
58
- * The ARN of the Lightsail domain
56
+ * ARN of the Lightsail domain.
59
57
  */
60
58
  arn?: pulumi.Input<string>;
61
59
  /**
62
- * The name of the Lightsail domain to manage
60
+ * Name of the Lightsail domain to manage.
63
61
  */
64
62
  domainName?: pulumi.Input<string>;
65
63
  }
@@ -68,7 +66,7 @@ export interface DomainState {
68
66
  */
69
67
  export interface DomainArgs {
70
68
  /**
71
- * The name of the Lightsail domain to manage
69
+ * Name of the Lightsail domain to manage.
72
70
  */
73
71
  domainName: pulumi.Input<string>;
74
72
  }