@pulumi/aws 6.83.0-alpha.1749661783 → 6.83.0-alpha.1750092723
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
package/lightsail/lb.js
CHANGED
|
@@ -6,7 +6,9 @@ exports.Lb = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Manages a Lightsail load balancer resource.
|
|
10
|
+
*
|
|
11
|
+
* Use this resource to distribute incoming traffic across multiple Lightsail instances to improve application availability and performance.
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
|
12
14
|
*
|
|
@@ -14,8 +16,8 @@ const utilities = require("../utilities");
|
|
|
14
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
17
|
* import * as aws from "@pulumi/aws";
|
|
16
18
|
*
|
|
17
|
-
* const
|
|
18
|
-
* name: "
|
|
19
|
+
* const example = new aws.lightsail.Lb("example", {
|
|
20
|
+
* name: "example-load-balancer",
|
|
19
21
|
* healthCheckPath: "/",
|
|
20
22
|
* instancePort: 80,
|
|
21
23
|
* tags: {
|
|
@@ -29,7 +31,7 @@ const utilities = require("../utilities");
|
|
|
29
31
|
* Using `pulumi import`, import `aws_lightsail_lb` using the name attribute. For example:
|
|
30
32
|
*
|
|
31
33
|
* ```sh
|
|
32
|
-
* $ pulumi import aws:lightsail/lb:Lb
|
|
34
|
+
* $ pulumi import aws:lightsail/lb:Lb example example-load-balancer
|
|
33
35
|
* ```
|
|
34
36
|
*/
|
|
35
37
|
class Lb extends pulumi.CustomResource {
|
package/lightsail/lb.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lb.js","sourceRoot":"","sources":["../../lightsail/lb.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"lb.js","sourceRoot":"","sources":["../../lightsail/lb.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,EAAG,SAAQ,MAAM,CAAC,cAAc;IACzC;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAe,EAAE,IAAmC;QAC7G,OAAO,IAAI,EAAE,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzD,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,EAAE,CAAC,YAAY,CAAC;IACnD,CAAC;IA+DD,YAAY,IAAY,EAAE,WAA8B,EAAE,IAAmC;QACzF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkC,CAAC;YACjD,cAAc,CAAC,KAAK,CAAC,GAAG,KA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IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,EAAE,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;;AA9HL,gBA+HC;AAjHG,gBAAgB;AACO,eAAY,GAAG,qBAAqB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Manages a Lightsail Load Balancer Attachment. Use this resource to attach Lightsail instances to a load balancer for distributing traffic across multiple instances.
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
@@ -15,23 +15,23 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
15
|
* values: ["opt-in-not-required"],
|
|
16
16
|
* }],
|
|
17
17
|
* });
|
|
18
|
-
* const
|
|
19
|
-
* name: "
|
|
18
|
+
* const example = new aws.lightsail.Lb("example", {
|
|
19
|
+
* name: "example-load-balancer",
|
|
20
20
|
* healthCheckPath: "/",
|
|
21
21
|
* instancePort: 80,
|
|
22
22
|
* tags: {
|
|
23
23
|
* foo: "bar",
|
|
24
24
|
* },
|
|
25
25
|
* });
|
|
26
|
-
* const
|
|
27
|
-
* name: "
|
|
26
|
+
* const exampleInstance = new aws.lightsail.Instance("example", {
|
|
27
|
+
* name: "example-instance",
|
|
28
28
|
* availabilityZone: available.then(available => available.names?.[0]),
|
|
29
29
|
* blueprintId: "amazon_linux_2",
|
|
30
30
|
* bundleId: "nano_3_0",
|
|
31
31
|
* });
|
|
32
|
-
* const
|
|
33
|
-
* lbName:
|
|
34
|
-
* instanceName:
|
|
32
|
+
* const exampleLbAttachment = new aws.lightsail.LbAttachment("example", {
|
|
33
|
+
* lbName: example.name,
|
|
34
|
+
* instanceName: exampleInstance.name,
|
|
35
35
|
* });
|
|
36
36
|
* ```
|
|
37
37
|
*
|
|
@@ -40,7 +40,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
40
40
|
* Using `pulumi import`, import `aws_lightsail_lb_attachment` using the name attribute. For example:
|
|
41
41
|
*
|
|
42
42
|
* ```sh
|
|
43
|
-
* $ pulumi import aws:lightsail/lbAttachment:LbAttachment
|
|
43
|
+
* $ pulumi import aws:lightsail/lbAttachment:LbAttachment example example-load-balancer,example-instance
|
|
44
44
|
* ```
|
|
45
45
|
*/
|
|
46
46
|
export declare class LbAttachment extends pulumi.CustomResource {
|
|
@@ -60,11 +60,11 @@ export declare class LbAttachment extends pulumi.CustomResource {
|
|
|
60
60
|
*/
|
|
61
61
|
static isInstance(obj: any): obj is LbAttachment;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* Name of the instance to attach to the load balancer.
|
|
64
64
|
*/
|
|
65
65
|
readonly instanceName: pulumi.Output<string>;
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* Name of the Lightsail load balancer.
|
|
68
68
|
*/
|
|
69
69
|
readonly lbName: pulumi.Output<string>;
|
|
70
70
|
/**
|
|
@@ -81,11 +81,11 @@ export declare class LbAttachment extends pulumi.CustomResource {
|
|
|
81
81
|
*/
|
|
82
82
|
export interface LbAttachmentState {
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
84
|
+
* Name of the instance to attach to the load balancer.
|
|
85
85
|
*/
|
|
86
86
|
instanceName?: pulumi.Input<string>;
|
|
87
87
|
/**
|
|
88
|
-
*
|
|
88
|
+
* Name of the Lightsail load balancer.
|
|
89
89
|
*/
|
|
90
90
|
lbName?: pulumi.Input<string>;
|
|
91
91
|
}
|
|
@@ -94,11 +94,11 @@ export interface LbAttachmentState {
|
|
|
94
94
|
*/
|
|
95
95
|
export interface LbAttachmentArgs {
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* Name of the instance to attach to the load balancer.
|
|
98
98
|
*/
|
|
99
99
|
instanceName: pulumi.Input<string>;
|
|
100
100
|
/**
|
|
101
|
-
*
|
|
101
|
+
* Name of the Lightsail load balancer.
|
|
102
102
|
*/
|
|
103
103
|
lbName: pulumi.Input<string>;
|
|
104
104
|
}
|
|
@@ -6,7 +6,7 @@ exports.LbAttachment = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Manages a Lightsail Load Balancer Attachment. Use this resource to attach Lightsail instances to a load balancer for distributing traffic across multiple instances.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
@@ -21,23 +21,23 @@ const utilities = require("../utilities");
|
|
|
21
21
|
* values: ["opt-in-not-required"],
|
|
22
22
|
* }],
|
|
23
23
|
* });
|
|
24
|
-
* const
|
|
25
|
-
* name: "
|
|
24
|
+
* const example = new aws.lightsail.Lb("example", {
|
|
25
|
+
* name: "example-load-balancer",
|
|
26
26
|
* healthCheckPath: "/",
|
|
27
27
|
* instancePort: 80,
|
|
28
28
|
* tags: {
|
|
29
29
|
* foo: "bar",
|
|
30
30
|
* },
|
|
31
31
|
* });
|
|
32
|
-
* const
|
|
33
|
-
* name: "
|
|
32
|
+
* const exampleInstance = new aws.lightsail.Instance("example", {
|
|
33
|
+
* name: "example-instance",
|
|
34
34
|
* availabilityZone: available.then(available => available.names?.[0]),
|
|
35
35
|
* blueprintId: "amazon_linux_2",
|
|
36
36
|
* bundleId: "nano_3_0",
|
|
37
37
|
* });
|
|
38
|
-
* const
|
|
39
|
-
* lbName:
|
|
40
|
-
* instanceName:
|
|
38
|
+
* const exampleLbAttachment = new aws.lightsail.LbAttachment("example", {
|
|
39
|
+
* lbName: example.name,
|
|
40
|
+
* instanceName: exampleInstance.name,
|
|
41
41
|
* });
|
|
42
42
|
* ```
|
|
43
43
|
*
|
|
@@ -46,7 +46,7 @@ const utilities = require("../utilities");
|
|
|
46
46
|
* Using `pulumi import`, import `aws_lightsail_lb_attachment` using the name attribute. For example:
|
|
47
47
|
*
|
|
48
48
|
* ```sh
|
|
49
|
-
* $ pulumi import aws:lightsail/lbAttachment:LbAttachment
|
|
49
|
+
* $ pulumi import aws:lightsail/lbAttachment:LbAttachment example example-load-balancer,example-instance
|
|
50
50
|
* ```
|
|
51
51
|
*/
|
|
52
52
|
class LbAttachment extends pulumi.CustomResource {
|
|
@@ -2,7 +2,9 @@ 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 Load Balancer Certificate.
|
|
6
|
+
*
|
|
7
|
+
* Use this resource to create and manage SSL/TLS certificates for Lightsail Load Balancers. The certificate must be validated before it can be attached to a load balancer to enable HTTPS traffic.
|
|
6
8
|
*
|
|
7
9
|
* ## Example Usage
|
|
8
10
|
*
|
|
@@ -10,18 +12,18 @@ import * as outputs from "../types/output";
|
|
|
10
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
13
|
* import * as aws from "@pulumi/aws";
|
|
12
14
|
*
|
|
13
|
-
* const
|
|
14
|
-
* name: "
|
|
15
|
+
* const example = new aws.lightsail.Lb("example", {
|
|
16
|
+
* name: "example-load-balancer",
|
|
15
17
|
* healthCheckPath: "/",
|
|
16
18
|
* instancePort: 80,
|
|
17
19
|
* tags: {
|
|
18
20
|
* foo: "bar",
|
|
19
21
|
* },
|
|
20
22
|
* });
|
|
21
|
-
* const
|
|
22
|
-
* name: "
|
|
23
|
-
* lbName:
|
|
24
|
-
* domainName: "
|
|
23
|
+
* const exampleLbCertificate = new aws.lightsail.LbCertificate("example", {
|
|
24
|
+
* name: "example-load-balancer-certificate",
|
|
25
|
+
* lbName: example.id,
|
|
26
|
+
* domainName: "example.com",
|
|
25
27
|
* });
|
|
26
28
|
* ```
|
|
27
29
|
*
|
|
@@ -30,7 +32,7 @@ import * as outputs from "../types/output";
|
|
|
30
32
|
* Using `pulumi import`, import `aws_lightsail_lb_certificate` using the id attribute. For example:
|
|
31
33
|
*
|
|
32
34
|
* ```sh
|
|
33
|
-
* $ pulumi import aws:lightsail/lbCertificate:LbCertificate
|
|
35
|
+
* $ pulumi import aws:lightsail/lbCertificate:LbCertificate example example-load-balancer,example-load-balancer-certificate
|
|
34
36
|
* ```
|
|
35
37
|
*/
|
|
36
38
|
export declare class LbCertificate extends pulumi.CustomResource {
|
|
@@ -50,30 +52,38 @@ export declare class LbCertificate extends pulumi.CustomResource {
|
|
|
50
52
|
*/
|
|
51
53
|
static isInstance(obj: any): obj is LbCertificate;
|
|
52
54
|
/**
|
|
53
|
-
*
|
|
55
|
+
* ARN of the lightsail certificate.
|
|
54
56
|
*/
|
|
55
57
|
readonly arn: pulumi.Output<string>;
|
|
56
58
|
/**
|
|
57
|
-
*
|
|
59
|
+
* Timestamp when the instance was created.
|
|
58
60
|
*/
|
|
59
61
|
readonly createdAt: pulumi.Output<string>;
|
|
60
62
|
/**
|
|
61
|
-
*
|
|
63
|
+
* Domain name (e.g., example.com) for your SSL/TLS certificate.
|
|
62
64
|
*/
|
|
63
65
|
readonly domainName: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Set of domain validation objects which can be used to complete certificate validation. Can have more than one element, e.g., if SANs are defined.
|
|
68
|
+
*/
|
|
64
69
|
readonly domainValidationRecords: pulumi.Output<outputs.lightsail.LbCertificateDomainValidationRecord[]>;
|
|
65
70
|
/**
|
|
66
|
-
*
|
|
71
|
+
* Load balancer name where you want to create the SSL/TLS certificate.
|
|
67
72
|
*/
|
|
68
73
|
readonly lbName: pulumi.Output<string>;
|
|
69
74
|
/**
|
|
70
|
-
*
|
|
75
|
+
* SSL/TLS certificate name.
|
|
76
|
+
*
|
|
77
|
+
* The following arguments are optional:
|
|
71
78
|
*/
|
|
72
79
|
readonly name: pulumi.Output<string>;
|
|
73
80
|
/**
|
|
74
81
|
* Set of domains that should be SANs in the issued certificate. `domainName` attribute is automatically added as a Subject Alternative Name.
|
|
75
82
|
*/
|
|
76
83
|
readonly subjectAlternativeNames: pulumi.Output<string[]>;
|
|
84
|
+
/**
|
|
85
|
+
* Support code for the certificate.
|
|
86
|
+
*/
|
|
77
87
|
readonly supportCode: pulumi.Output<string>;
|
|
78
88
|
/**
|
|
79
89
|
* Create a LbCertificate resource with the given unique name, arguments, and options.
|
|
@@ -89,30 +99,38 @@ export declare class LbCertificate extends pulumi.CustomResource {
|
|
|
89
99
|
*/
|
|
90
100
|
export interface LbCertificateState {
|
|
91
101
|
/**
|
|
92
|
-
*
|
|
102
|
+
* ARN of the lightsail certificate.
|
|
93
103
|
*/
|
|
94
104
|
arn?: pulumi.Input<string>;
|
|
95
105
|
/**
|
|
96
|
-
*
|
|
106
|
+
* Timestamp when the instance was created.
|
|
97
107
|
*/
|
|
98
108
|
createdAt?: pulumi.Input<string>;
|
|
99
109
|
/**
|
|
100
|
-
*
|
|
110
|
+
* Domain name (e.g., example.com) for your SSL/TLS certificate.
|
|
101
111
|
*/
|
|
102
112
|
domainName?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Set of domain validation objects which can be used to complete certificate validation. Can have more than one element, e.g., if SANs are defined.
|
|
115
|
+
*/
|
|
103
116
|
domainValidationRecords?: pulumi.Input<pulumi.Input<inputs.lightsail.LbCertificateDomainValidationRecord>[]>;
|
|
104
117
|
/**
|
|
105
|
-
*
|
|
118
|
+
* Load balancer name where you want to create the SSL/TLS certificate.
|
|
106
119
|
*/
|
|
107
120
|
lbName?: pulumi.Input<string>;
|
|
108
121
|
/**
|
|
109
|
-
*
|
|
122
|
+
* SSL/TLS certificate name.
|
|
123
|
+
*
|
|
124
|
+
* The following arguments are optional:
|
|
110
125
|
*/
|
|
111
126
|
name?: pulumi.Input<string>;
|
|
112
127
|
/**
|
|
113
128
|
* Set of domains that should be SANs in the issued certificate. `domainName` attribute is automatically added as a Subject Alternative Name.
|
|
114
129
|
*/
|
|
115
130
|
subjectAlternativeNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
131
|
+
/**
|
|
132
|
+
* Support code for the certificate.
|
|
133
|
+
*/
|
|
116
134
|
supportCode?: pulumi.Input<string>;
|
|
117
135
|
}
|
|
118
136
|
/**
|
|
@@ -120,15 +138,17 @@ export interface LbCertificateState {
|
|
|
120
138
|
*/
|
|
121
139
|
export interface LbCertificateArgs {
|
|
122
140
|
/**
|
|
123
|
-
*
|
|
141
|
+
* Domain name (e.g., example.com) for your SSL/TLS certificate.
|
|
124
142
|
*/
|
|
125
143
|
domainName?: pulumi.Input<string>;
|
|
126
144
|
/**
|
|
127
|
-
*
|
|
145
|
+
* Load balancer name where you want to create the SSL/TLS certificate.
|
|
128
146
|
*/
|
|
129
147
|
lbName: pulumi.Input<string>;
|
|
130
148
|
/**
|
|
131
|
-
*
|
|
149
|
+
* SSL/TLS certificate name.
|
|
150
|
+
*
|
|
151
|
+
* The following arguments are optional:
|
|
132
152
|
*/
|
|
133
153
|
name?: pulumi.Input<string>;
|
|
134
154
|
/**
|
|
@@ -6,7 +6,9 @@ exports.LbCertificate = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Manages a Lightsail Load Balancer Certificate.
|
|
10
|
+
*
|
|
11
|
+
* Use this resource to create and manage SSL/TLS certificates for Lightsail Load Balancers. The certificate must be validated before it can be attached to a load balancer to enable HTTPS traffic.
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
|
12
14
|
*
|
|
@@ -14,18 +16,18 @@ const utilities = require("../utilities");
|
|
|
14
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
17
|
* import * as aws from "@pulumi/aws";
|
|
16
18
|
*
|
|
17
|
-
* const
|
|
18
|
-
* name: "
|
|
19
|
+
* const example = new aws.lightsail.Lb("example", {
|
|
20
|
+
* name: "example-load-balancer",
|
|
19
21
|
* healthCheckPath: "/",
|
|
20
22
|
* instancePort: 80,
|
|
21
23
|
* tags: {
|
|
22
24
|
* foo: "bar",
|
|
23
25
|
* },
|
|
24
26
|
* });
|
|
25
|
-
* const
|
|
26
|
-
* name: "
|
|
27
|
-
* lbName:
|
|
28
|
-
* domainName: "
|
|
27
|
+
* const exampleLbCertificate = new aws.lightsail.LbCertificate("example", {
|
|
28
|
+
* name: "example-load-balancer-certificate",
|
|
29
|
+
* lbName: example.id,
|
|
30
|
+
* domainName: "example.com",
|
|
29
31
|
* });
|
|
30
32
|
* ```
|
|
31
33
|
*
|
|
@@ -34,7 +36,7 @@ const utilities = require("../utilities");
|
|
|
34
36
|
* Using `pulumi import`, import `aws_lightsail_lb_certificate` using the id attribute. For example:
|
|
35
37
|
*
|
|
36
38
|
* ```sh
|
|
37
|
-
* $ pulumi import aws:lightsail/lbCertificate:LbCertificate
|
|
39
|
+
* $ pulumi import aws:lightsail/lbCertificate:LbCertificate example example-load-balancer,example-load-balancer-certificate
|
|
38
40
|
* ```
|
|
39
41
|
*/
|
|
40
42
|
class LbCertificate extends pulumi.CustomResource {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lbCertificate.js","sourceRoot":"","sources":["../../lightsail/lbCertificate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"lbCertificate.js","sourceRoot":"","sources":["../../lightsail/lbCertificate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,K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ApGL,sCAqGC;AAvFG,gBAAgB;AACO,0BAAY,GAAG,2CAA2C,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Manages a Lightsail Load Balancer Certificate attachment to a Lightsail Load Balancer.
|
|
4
|
+
*
|
|
5
|
+
* Use this resource to attach a validated SSL/TLS certificate to a Lightsail Load Balancer to enable HTTPS traffic. The certificate must be validated before it can be attached to the load balancer.
|
|
4
6
|
*
|
|
5
7
|
* ## Example Usage
|
|
6
8
|
*
|
|
@@ -8,22 +10,22 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
11
|
* import * as aws from "@pulumi/aws";
|
|
10
12
|
*
|
|
11
|
-
* const
|
|
12
|
-
* name: "
|
|
13
|
+
* const example = new aws.lightsail.Lb("example", {
|
|
14
|
+
* name: "example-load-balancer",
|
|
13
15
|
* healthCheckPath: "/",
|
|
14
16
|
* instancePort: 80,
|
|
15
17
|
* tags: {
|
|
16
18
|
* foo: "bar",
|
|
17
19
|
* },
|
|
18
20
|
* });
|
|
19
|
-
* const
|
|
20
|
-
* name: "
|
|
21
|
-
* lbName:
|
|
22
|
-
* domainName: "
|
|
21
|
+
* const exampleLbCertificate = new aws.lightsail.LbCertificate("example", {
|
|
22
|
+
* name: "example-load-balancer-certificate",
|
|
23
|
+
* lbName: example.id,
|
|
24
|
+
* domainName: "example.com",
|
|
23
25
|
* });
|
|
24
|
-
* const
|
|
25
|
-
* lbName:
|
|
26
|
-
* certificateName:
|
|
26
|
+
* const exampleLbCertificateAttachment = new aws.lightsail.LbCertificateAttachment("example", {
|
|
27
|
+
* lbName: example.name,
|
|
28
|
+
* certificateName: exampleLbCertificate.name,
|
|
27
29
|
* });
|
|
28
30
|
* ```
|
|
29
31
|
*
|
|
@@ -32,7 +34,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
32
34
|
* Using `pulumi import`, import `aws_lightsail_lb_certificate_attachment` using the name attribute. For example:
|
|
33
35
|
*
|
|
34
36
|
* ```sh
|
|
35
|
-
* $ pulumi import aws:lightsail/lbCertificateAttachment:LbCertificateAttachment
|
|
37
|
+
* $ pulumi import aws:lightsail/lbCertificateAttachment:LbCertificateAttachment example example-load-balancer,example-certificate
|
|
36
38
|
* ```
|
|
37
39
|
*/
|
|
38
40
|
export declare class LbCertificateAttachment extends pulumi.CustomResource {
|
|
@@ -52,11 +54,11 @@ export declare class LbCertificateAttachment extends pulumi.CustomResource {
|
|
|
52
54
|
*/
|
|
53
55
|
static isInstance(obj: any): obj is LbCertificateAttachment;
|
|
54
56
|
/**
|
|
55
|
-
*
|
|
57
|
+
* Name of your SSL/TLS certificate.
|
|
56
58
|
*/
|
|
57
59
|
readonly certificateName: pulumi.Output<string>;
|
|
58
60
|
/**
|
|
59
|
-
*
|
|
61
|
+
* Name of the load balancer to which you want to associate the SSL/TLS certificate.
|
|
60
62
|
*/
|
|
61
63
|
readonly lbName: pulumi.Output<string>;
|
|
62
64
|
/**
|
|
@@ -73,11 +75,11 @@ export declare class LbCertificateAttachment extends pulumi.CustomResource {
|
|
|
73
75
|
*/
|
|
74
76
|
export interface LbCertificateAttachmentState {
|
|
75
77
|
/**
|
|
76
|
-
*
|
|
78
|
+
* Name of your SSL/TLS certificate.
|
|
77
79
|
*/
|
|
78
80
|
certificateName?: pulumi.Input<string>;
|
|
79
81
|
/**
|
|
80
|
-
*
|
|
82
|
+
* Name of the load balancer to which you want to associate the SSL/TLS certificate.
|
|
81
83
|
*/
|
|
82
84
|
lbName?: pulumi.Input<string>;
|
|
83
85
|
}
|
|
@@ -86,11 +88,11 @@ export interface LbCertificateAttachmentState {
|
|
|
86
88
|
*/
|
|
87
89
|
export interface LbCertificateAttachmentArgs {
|
|
88
90
|
/**
|
|
89
|
-
*
|
|
91
|
+
* Name of your SSL/TLS certificate.
|
|
90
92
|
*/
|
|
91
93
|
certificateName: pulumi.Input<string>;
|
|
92
94
|
/**
|
|
93
|
-
*
|
|
95
|
+
* Name of the load balancer to which you want to associate the SSL/TLS certificate.
|
|
94
96
|
*/
|
|
95
97
|
lbName: pulumi.Input<string>;
|
|
96
98
|
}
|
|
@@ -6,7 +6,9 @@ exports.LbCertificateAttachment = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Manages a Lightsail Load Balancer Certificate attachment to a Lightsail Load Balancer.
|
|
10
|
+
*
|
|
11
|
+
* Use this resource to attach a validated SSL/TLS certificate to a Lightsail Load Balancer to enable HTTPS traffic. The certificate must be validated before it can be attached to the load balancer.
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
|
12
14
|
*
|
|
@@ -14,22 +16,22 @@ const utilities = require("../utilities");
|
|
|
14
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
17
|
* import * as aws from "@pulumi/aws";
|
|
16
18
|
*
|
|
17
|
-
* const
|
|
18
|
-
* name: "
|
|
19
|
+
* const example = new aws.lightsail.Lb("example", {
|
|
20
|
+
* name: "example-load-balancer",
|
|
19
21
|
* healthCheckPath: "/",
|
|
20
22
|
* instancePort: 80,
|
|
21
23
|
* tags: {
|
|
22
24
|
* foo: "bar",
|
|
23
25
|
* },
|
|
24
26
|
* });
|
|
25
|
-
* const
|
|
26
|
-
* name: "
|
|
27
|
-
* lbName:
|
|
28
|
-
* domainName: "
|
|
27
|
+
* const exampleLbCertificate = new aws.lightsail.LbCertificate("example", {
|
|
28
|
+
* name: "example-load-balancer-certificate",
|
|
29
|
+
* lbName: example.id,
|
|
30
|
+
* domainName: "example.com",
|
|
29
31
|
* });
|
|
30
|
-
* const
|
|
31
|
-
* lbName:
|
|
32
|
-
* certificateName:
|
|
32
|
+
* const exampleLbCertificateAttachment = new aws.lightsail.LbCertificateAttachment("example", {
|
|
33
|
+
* lbName: example.name,
|
|
34
|
+
* certificateName: exampleLbCertificate.name,
|
|
33
35
|
* });
|
|
34
36
|
* ```
|
|
35
37
|
*
|
|
@@ -38,7 +40,7 @@ const utilities = require("../utilities");
|
|
|
38
40
|
* Using `pulumi import`, import `aws_lightsail_lb_certificate_attachment` using the name attribute. For example:
|
|
39
41
|
*
|
|
40
42
|
* ```sh
|
|
41
|
-
* $ pulumi import aws:lightsail/lbCertificateAttachment:LbCertificateAttachment
|
|
43
|
+
* $ pulumi import aws:lightsail/lbCertificateAttachment:LbCertificateAttachment example example-load-balancer,example-certificate
|
|
42
44
|
* ```
|
|
43
45
|
*/
|
|
44
46
|
class LbCertificateAttachment extends pulumi.CustomResource {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lbCertificateAttachment.js","sourceRoot":"","sources":["../../lightsail/lbCertificateAttachment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"lbCertificateAttachment.js","sourceRoot":"","sources":["../../lightsail/lbCertificateAttachment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,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,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EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AAjEL,0DAkEC;AApDG,gBAAgB;AACO,oCAAY,GAAG,+DAA+D,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Manages HTTPS redirection for a Lightsail Load Balancer.
|
|
4
|
+
*
|
|
5
|
+
* 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.
|
|
4
6
|
*
|
|
5
7
|
* ## Example Usage
|
|
6
8
|
*
|
|
@@ -8,25 +10,25 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
11
|
* import * as aws from "@pulumi/aws";
|
|
10
12
|
*
|
|
11
|
-
* const
|
|
12
|
-
* name: "
|
|
13
|
+
* const example = new aws.lightsail.Lb("example", {
|
|
14
|
+
* name: "example-load-balancer",
|
|
13
15
|
* healthCheckPath: "/",
|
|
14
16
|
* instancePort: 80,
|
|
15
17
|
* tags: {
|
|
16
18
|
* foo: "bar",
|
|
17
19
|
* },
|
|
18
20
|
* });
|
|
19
|
-
* const
|
|
20
|
-
* name: "
|
|
21
|
-
* lbName:
|
|
22
|
-
* domainName: "
|
|
21
|
+
* const exampleLbCertificate = new aws.lightsail.LbCertificate("example", {
|
|
22
|
+
* name: "example-load-balancer-certificate",
|
|
23
|
+
* lbName: example.id,
|
|
24
|
+
* domainName: "example.com",
|
|
23
25
|
* });
|
|
24
|
-
* const
|
|
25
|
-
* lbName:
|
|
26
|
-
* certificateName:
|
|
26
|
+
* const exampleLbCertificateAttachment = new aws.lightsail.LbCertificateAttachment("example", {
|
|
27
|
+
* lbName: example.name,
|
|
28
|
+
* certificateName: exampleLbCertificate.name,
|
|
27
29
|
* });
|
|
28
|
-
* const
|
|
29
|
-
* lbName:
|
|
30
|
+
* const exampleLbHttpsRedirectionPolicy = new aws.lightsail.LbHttpsRedirectionPolicy("example", {
|
|
31
|
+
* lbName: example.name,
|
|
30
32
|
* enabled: true,
|
|
31
33
|
* });
|
|
32
34
|
* ```
|
|
@@ -36,7 +38,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
36
38
|
* Using `pulumi import`, import `aws_lightsail_lb_https_redirection_policy` using the `lb_name` attribute. For example:
|
|
37
39
|
*
|
|
38
40
|
* ```sh
|
|
39
|
-
* $ pulumi import aws:lightsail/lbHttpsRedirectionPolicy:LbHttpsRedirectionPolicy
|
|
41
|
+
* $ pulumi import aws:lightsail/lbHttpsRedirectionPolicy:LbHttpsRedirectionPolicy example example-load-balancer
|
|
40
42
|
* ```
|
|
41
43
|
*/
|
|
42
44
|
export declare class LbHttpsRedirectionPolicy extends pulumi.CustomResource {
|
|
@@ -56,11 +58,11 @@ export declare class LbHttpsRedirectionPolicy extends pulumi.CustomResource {
|
|
|
56
58
|
*/
|
|
57
59
|
static isInstance(obj: any): obj is LbHttpsRedirectionPolicy;
|
|
58
60
|
/**
|
|
59
|
-
*
|
|
61
|
+
* Whether to enable HTTP to HTTPS redirection. `true` to activate HTTP to HTTPS redirection or `false` to deactivate HTTP to HTTPS redirection.
|
|
60
62
|
*/
|
|
61
63
|
readonly enabled: pulumi.Output<boolean>;
|
|
62
64
|
/**
|
|
63
|
-
*
|
|
65
|
+
* Name of the load balancer to which you want to enable HTTP to HTTPS redirection.
|
|
64
66
|
*/
|
|
65
67
|
readonly lbName: pulumi.Output<string>;
|
|
66
68
|
/**
|
|
@@ -77,11 +79,11 @@ export declare class LbHttpsRedirectionPolicy extends pulumi.CustomResource {
|
|
|
77
79
|
*/
|
|
78
80
|
export interface LbHttpsRedirectionPolicyState {
|
|
79
81
|
/**
|
|
80
|
-
*
|
|
82
|
+
* Whether to enable HTTP to HTTPS redirection. `true` to activate HTTP to HTTPS redirection or `false` to deactivate HTTP to HTTPS redirection.
|
|
81
83
|
*/
|
|
82
84
|
enabled?: pulumi.Input<boolean>;
|
|
83
85
|
/**
|
|
84
|
-
*
|
|
86
|
+
* Name of the load balancer to which you want to enable HTTP to HTTPS redirection.
|
|
85
87
|
*/
|
|
86
88
|
lbName?: pulumi.Input<string>;
|
|
87
89
|
}
|
|
@@ -90,11 +92,11 @@ export interface LbHttpsRedirectionPolicyState {
|
|
|
90
92
|
*/
|
|
91
93
|
export interface LbHttpsRedirectionPolicyArgs {
|
|
92
94
|
/**
|
|
93
|
-
*
|
|
95
|
+
* Whether to enable HTTP to HTTPS redirection. `true` to activate HTTP to HTTPS redirection or `false` to deactivate HTTP to HTTPS redirection.
|
|
94
96
|
*/
|
|
95
97
|
enabled: pulumi.Input<boolean>;
|
|
96
98
|
/**
|
|
97
|
-
*
|
|
99
|
+
* Name of the load balancer to which you want to enable HTTP to HTTPS redirection.
|
|
98
100
|
*/
|
|
99
101
|
lbName: pulumi.Input<string>;
|
|
100
102
|
}
|