@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
|
@@ -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
|
-
*
|
|
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
|
|
18
|
-
* name: "
|
|
15
|
+
* const example = new aws.lightsail.Bucket("example", {
|
|
16
|
+
* name: "example-bucket",
|
|
19
17
|
* bundleId: "small_1_0",
|
|
20
18
|
* });
|
|
21
|
-
* const
|
|
22
|
-
* name: "
|
|
19
|
+
* const exampleDistribution = new aws.lightsail.Distribution("example", {
|
|
20
|
+
* name: "example-distribution",
|
|
23
21
|
* bundleId: "small_1_0",
|
|
24
22
|
* origin: {
|
|
25
|
-
* name:
|
|
26
|
-
* regionName:
|
|
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
|
-
* ###
|
|
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
|
|
66
|
-
* const
|
|
67
|
-
* name: "
|
|
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
|
|
73
|
-
* staticIpName:
|
|
74
|
-
* instanceName:
|
|
68
|
+
* const example = new aws.lightsail.StaticIpAttachment("example", {
|
|
69
|
+
* staticIpName: exampleStaticIp.name,
|
|
70
|
+
* instanceName: exampleInstance.name,
|
|
75
71
|
* });
|
|
76
|
-
* const
|
|
77
|
-
* name: "
|
|
72
|
+
* const exampleDistribution = new aws.lightsail.Distribution("example", {
|
|
73
|
+
* name: "example-distribution",
|
|
78
74
|
* bundleId: "small_1_0",
|
|
79
75
|
* origin: {
|
|
80
|
-
* 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: [
|
|
83
|
+
* dependsOn: [example],
|
|
88
84
|
* });
|
|
89
85
|
* ```
|
|
90
86
|
*
|
|
91
|
-
* ###
|
|
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
|
|
107
|
-
* name: "
|
|
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
|
|
115
|
-
* name: "
|
|
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
|
|
121
|
-
* lbName:
|
|
122
|
-
* instanceName:
|
|
114
|
+
* const exampleLbAttachment = new aws.lightsail.LbAttachment("example", {
|
|
115
|
+
* lbName: example.name,
|
|
116
|
+
* instanceName: exampleInstance.name,
|
|
123
117
|
* });
|
|
124
|
-
* const
|
|
125
|
-
* name: "
|
|
118
|
+
* const exampleDistribution = new aws.lightsail.Distribution("example", {
|
|
119
|
+
* name: "example-distribution",
|
|
126
120
|
* bundleId: "small_1_0",
|
|
127
121
|
* origin: {
|
|
128
|
-
* 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: [
|
|
129
|
+
* dependsOn: [exampleLbAttachment],
|
|
136
130
|
* });
|
|
137
131
|
* ```
|
|
138
132
|
*
|
|
139
133
|
* ## Import
|
|
140
134
|
*
|
|
141
|
-
* Using `pulumi import`, import Lightsail Distribution using the `
|
|
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
|
|
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
|
-
*
|
|
158
|
+
* Alternate domain names of the distribution.
|
|
165
159
|
*/
|
|
166
160
|
readonly alternativeDomainNames: pulumi.Output<string[]>;
|
|
167
161
|
/**
|
|
168
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
178
|
+
* Name of the SSL/TLS certificate attached to the distribution.
|
|
187
179
|
*/
|
|
188
180
|
readonly certificateName: pulumi.Output<string | undefined>;
|
|
189
181
|
/**
|
|
190
|
-
*
|
|
182
|
+
* Timestamp when the distribution was created.
|
|
191
183
|
*/
|
|
192
184
|
readonly createdAt: pulumi.Output<string>;
|
|
193
185
|
/**
|
|
194
|
-
*
|
|
186
|
+
* Default cache behavior of the distribution. See below.
|
|
195
187
|
*/
|
|
196
188
|
readonly defaultCacheBehavior: pulumi.Output<outputs.lightsail.DistributionDefaultCacheBehavior>;
|
|
197
189
|
/**
|
|
198
|
-
*
|
|
190
|
+
* Domain name of the distribution.
|
|
199
191
|
*/
|
|
200
192
|
readonly domainName: pulumi.Output<string>;
|
|
201
193
|
/**
|
|
202
|
-
*
|
|
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
|
-
*
|
|
198
|
+
* Whether the distribution is enabled. Default: `true`.
|
|
207
199
|
*/
|
|
208
200
|
readonly isEnabled: pulumi.Output<boolean | undefined>;
|
|
209
201
|
/**
|
|
210
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
221
|
+
* Lightsail resource type (e.g., Distribution).
|
|
227
222
|
*/
|
|
228
223
|
readonly resourceType: pulumi.Output<string>;
|
|
229
224
|
/**
|
|
230
|
-
*
|
|
225
|
+
* Status of the distribution.
|
|
231
226
|
*/
|
|
232
227
|
readonly status: pulumi.Output<string>;
|
|
233
228
|
/**
|
|
234
|
-
*
|
|
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.
|
|
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
|
-
*
|
|
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
|
-
*
|
|
260
|
+
* Alternate domain names of the distribution.
|
|
266
261
|
*/
|
|
267
262
|
alternativeDomainNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
268
263
|
/**
|
|
269
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
280
|
+
* Name of the SSL/TLS certificate attached to the distribution.
|
|
288
281
|
*/
|
|
289
282
|
certificateName?: pulumi.Input<string>;
|
|
290
283
|
/**
|
|
291
|
-
*
|
|
284
|
+
* Timestamp when the distribution was created.
|
|
292
285
|
*/
|
|
293
286
|
createdAt?: pulumi.Input<string>;
|
|
294
287
|
/**
|
|
295
|
-
*
|
|
288
|
+
* Default cache behavior of the distribution. See below.
|
|
296
289
|
*/
|
|
297
290
|
defaultCacheBehavior?: pulumi.Input<inputs.lightsail.DistributionDefaultCacheBehavior>;
|
|
298
291
|
/**
|
|
299
|
-
*
|
|
292
|
+
* Domain name of the distribution.
|
|
300
293
|
*/
|
|
301
294
|
domainName?: pulumi.Input<string>;
|
|
302
295
|
/**
|
|
303
|
-
*
|
|
296
|
+
* IP address type of the distribution. Valid values: `dualstack`, `ipv4`. Default: `dualstack`.
|
|
304
297
|
*/
|
|
305
298
|
ipAddressType?: pulumi.Input<string>;
|
|
306
299
|
/**
|
|
307
|
-
*
|
|
300
|
+
* Whether the distribution is enabled. Default: `true`.
|
|
308
301
|
*/
|
|
309
302
|
isEnabled?: pulumi.Input<boolean>;
|
|
310
303
|
/**
|
|
311
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
323
|
+
* Lightsail resource type (e.g., Distribution).
|
|
328
324
|
*/
|
|
329
325
|
resourceType?: pulumi.Input<string>;
|
|
330
326
|
/**
|
|
331
|
-
*
|
|
327
|
+
* Status of the distribution.
|
|
332
328
|
*/
|
|
333
329
|
status?: pulumi.Input<string>;
|
|
334
330
|
/**
|
|
335
|
-
*
|
|
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.
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
366
|
+
* Name of the SSL/TLS certificate attached to the distribution.
|
|
373
367
|
*/
|
|
374
368
|
certificateName?: pulumi.Input<string>;
|
|
375
369
|
/**
|
|
376
|
-
*
|
|
370
|
+
* Default cache behavior of the distribution. See below.
|
|
377
371
|
*/
|
|
378
372
|
defaultCacheBehavior: pulumi.Input<inputs.lightsail.DistributionDefaultCacheBehavior>;
|
|
379
373
|
/**
|
|
380
|
-
*
|
|
374
|
+
* IP address type of the distribution. Valid values: `dualstack`, `ipv4`. Default: `dualstack`.
|
|
381
375
|
*/
|
|
382
376
|
ipAddressType?: pulumi.Input<string>;
|
|
383
377
|
/**
|
|
384
|
-
*
|
|
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
|
-
*
|
|
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.
|
|
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
|
-
*
|
|
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
|
|
22
|
-
* name: "
|
|
19
|
+
* const example = new aws.lightsail.Bucket("example", {
|
|
20
|
+
* name: "example-bucket",
|
|
23
21
|
* bundleId: "small_1_0",
|
|
24
22
|
* });
|
|
25
|
-
* const
|
|
26
|
-
* name: "
|
|
23
|
+
* const exampleDistribution = new aws.lightsail.Distribution("example", {
|
|
24
|
+
* name: "example-distribution",
|
|
27
25
|
* bundleId: "small_1_0",
|
|
28
26
|
* origin: {
|
|
29
|
-
* name:
|
|
30
|
-
* regionName:
|
|
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
|
-
* ###
|
|
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
|
|
70
|
-
* const
|
|
71
|
-
* name: "
|
|
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
|
|
77
|
-
* staticIpName:
|
|
78
|
-
* instanceName:
|
|
72
|
+
* const example = new aws.lightsail.StaticIpAttachment("example", {
|
|
73
|
+
* staticIpName: exampleStaticIp.name,
|
|
74
|
+
* instanceName: exampleInstance.name,
|
|
79
75
|
* });
|
|
80
|
-
* const
|
|
81
|
-
* name: "
|
|
76
|
+
* const exampleDistribution = new aws.lightsail.Distribution("example", {
|
|
77
|
+
* name: "example-distribution",
|
|
82
78
|
* bundleId: "small_1_0",
|
|
83
79
|
* origin: {
|
|
84
|
-
* 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: [
|
|
87
|
+
* dependsOn: [example],
|
|
92
88
|
* });
|
|
93
89
|
* ```
|
|
94
90
|
*
|
|
95
|
-
* ###
|
|
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
|
|
111
|
-
* name: "
|
|
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
|
|
119
|
-
* name: "
|
|
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
|
|
125
|
-
* lbName:
|
|
126
|
-
* instanceName:
|
|
118
|
+
* const exampleLbAttachment = new aws.lightsail.LbAttachment("example", {
|
|
119
|
+
* lbName: example.name,
|
|
120
|
+
* instanceName: exampleInstance.name,
|
|
127
121
|
* });
|
|
128
|
-
* const
|
|
129
|
-
* name: "
|
|
122
|
+
* const exampleDistribution = new aws.lightsail.Distribution("example", {
|
|
123
|
+
* name: "example-distribution",
|
|
130
124
|
* bundleId: "small_1_0",
|
|
131
125
|
* origin: {
|
|
132
|
-
* 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: [
|
|
133
|
+
* dependsOn: [exampleLbAttachment],
|
|
140
134
|
* });
|
|
141
135
|
* ```
|
|
142
136
|
*
|
|
143
137
|
* ## Import
|
|
144
138
|
*
|
|
145
|
-
* Using `pulumi import`, import Lightsail Distribution using the `
|
|
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
|
|
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
|
|
1
|
+
{"version":3,"file":"distribution.js","sourceRoot":"","sources":["../../lightsail/distribution.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwIG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB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,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"}
|
package/lightsail/domain.d.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
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:**
|
|
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
|
|
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
|
-
*
|
|
35
|
+
* ARN of the Lightsail domain.
|
|
38
36
|
*/
|
|
39
37
|
readonly arn: pulumi.Output<string>;
|
|
40
38
|
/**
|
|
41
|
-
*
|
|
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
|
-
*
|
|
56
|
+
* ARN of the Lightsail domain.
|
|
59
57
|
*/
|
|
60
58
|
arn?: pulumi.Input<string>;
|
|
61
59
|
/**
|
|
62
|
-
*
|
|
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
|
-
*
|
|
69
|
+
* Name of the Lightsail domain to manage.
|
|
72
70
|
*/
|
|
73
71
|
domainName: pulumi.Input<string>;
|
|
74
72
|
}
|