@pulumi/aws 5.3.0 → 5.4.0-alpha.1651662816
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/acm/certificate.d.ts +1 -1
- package/acm/certificate.js +1 -1
- package/acm/certificateValidation.d.ts +1 -1
- package/acm/certificateValidation.js +1 -1
- package/acmpca/certificate.d.ts +0 -35
- package/acmpca/certificate.js +0 -35
- package/acmpca/certificate.js.map +1 -1
- package/acmpca/certificateAuthorityCertificate.d.ts +2 -2
- package/acmpca/certificateAuthorityCertificate.js +2 -2
- package/alb/listener.d.ts +7 -7
- package/alb/listener.js +7 -7
- package/amplify/branch.d.ts +0 -17
- package/amplify/branch.js +0 -17
- package/amplify/branch.js.map +1 -1
- package/apigatewayv2/integration.d.ts +2 -2
- package/apigatewayv2/integration.js +2 -2
- package/appautoscaling/policy.d.ts +1 -1
- package/appautoscaling/policy.js +1 -1
- package/applicationloadbalancing/listener.d.ts +7 -7
- package/applicationloadbalancing/listener.js +7 -7
- package/appsync/apiCache.d.ts +0 -13
- package/appsync/apiCache.js +0 -13
- package/appsync/apiCache.js.map +1 -1
- package/cloudwatch/metricAlarm.d.ts +6 -6
- package/cloudwatch/metricAlarm.js +6 -6
- package/codebuild/project.d.ts +3 -3
- package/codebuild/project.js +3 -3
- package/cognito/user.d.ts +2 -2
- package/cognito/user.js +2 -2
- package/directconnect/hostedTransitVirtualInterfaceAcceptor.d.ts +1 -1
- package/directconnect/hostedTransitVirtualInterfaceAcceptor.js +1 -1
- package/directconnect/transitVirtualInterface.d.ts +1 -1
- package/directconnect/transitVirtualInterface.js +1 -1
- package/dms/replicationTask.d.ts +1 -1
- package/dms/replicationTask.js +1 -1
- package/docdb/globalCluster.d.ts +0 -55
- package/docdb/globalCluster.js +0 -55
- package/docdb/globalCluster.js.map +1 -1
- package/ec2/defaultNetworkAcl.d.ts +3 -3
- package/ec2/defaultNetworkAcl.js +3 -3
- package/ec2/defaultSecurityGroup.d.ts +2 -2
- package/ec2/defaultSecurityGroup.js +2 -2
- package/ec2/getCustomerGateway.d.ts +1 -1
- package/ec2/getCustomerGateway.js +1 -1
- package/ec2/launchTemplate.d.ts +2 -2
- package/ec2/launchTemplate.js +2 -2
- package/ec2/tag.d.ts +1 -1
- package/ec2/tag.js +1 -1
- package/ec2/vpcIpam.d.ts +0 -42
- package/ec2/vpcIpam.js +0 -42
- package/ec2/vpcIpam.js.map +1 -1
- package/ec2/vpcIpamPoolCidr.d.ts +0 -51
- package/ec2/vpcIpamPoolCidr.js +0 -51
- package/ec2/vpcIpamPoolCidr.js.map +1 -1
- package/ec2/vpnConnection.d.ts +2 -2
- package/ec2/vpnConnection.js +2 -2
- package/ec2/vpnConnectionRoute.d.ts +1 -1
- package/ec2/vpnConnectionRoute.js +1 -1
- package/ec2transitgateway/connect.d.ts +0 -17
- package/ec2transitgateway/connect.js +0 -17
- package/ec2transitgateway/connect.js.map +1 -1
- package/ecs/capacityProvider.d.ts +1 -1
- package/ecs/capacityProvider.js +1 -1
- package/ecs/taskDefinition.d.ts +2 -2
- package/ecs/taskDefinition.js +2 -2
- package/eks/cluster.d.ts +21 -15
- package/eks/cluster.js +21 -15
- package/eks/cluster.js.map +1 -1
- package/eks/getAddonVersion.d.ts +22 -16
- package/eks/getAddonVersion.js +22 -16
- package/eks/getAddonVersion.js.map +1 -1
- package/eks/getCluster.d.ts +13 -6
- package/eks/getCluster.js +13 -6
- package/eks/getCluster.js.map +1 -1
- package/elasticloadbalancingv2/listener.d.ts +7 -7
- package/elasticloadbalancingv2/listener.js +7 -7
- package/emr/cluster.d.ts +1 -1
- package/emr/cluster.js +1 -1
- package/getDefaultTags.d.ts +0 -16
- package/getDefaultTags.js +0 -16
- package/getDefaultTags.js.map +1 -1
- package/getIpRanges.d.ts +2 -2
- package/getIpRanges.js +2 -2
- package/iam/signingCertificate.d.ts +0 -30
- package/iam/signingCertificate.js +0 -30
- package/iam/signingCertificate.js.map +1 -1
- package/imagebuilder/imageRecipe.d.ts +1 -1
- package/imagebuilder/imageRecipe.js +1 -1
- package/inspector/getRulesPackages.d.ts +1 -1
- package/inspector/getRulesPackages.js +1 -1
- package/kinesis/firehoseDeliveryStream.d.ts +2 -2
- package/kinesis/firehoseDeliveryStream.js +2 -2
- package/lakeformation/permissions.d.ts +0 -19
- package/lakeformation/permissions.js +0 -19
- package/lakeformation/permissions.js.map +1 -1
- package/lb/listener.d.ts +7 -7
- package/lb/listener.js +7 -7
- package/mwaa/environment.d.ts +2 -2
- package/mwaa/environment.js +2 -2
- package/neptune/eventSubscription.d.ts +3 -3
- package/neptune/eventSubscription.js +3 -3
- package/networkmanager/customerGatewayAssociation.d.ts +1 -1
- package/networkmanager/customerGatewayAssociation.js +1 -1
- package/opsworks/application.d.ts +1 -1
- package/opsworks/application.js +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/route53/getZone.d.ts +1 -1
- package/route53/getZone.js +1 -1
- package/route53/healthCheck.d.ts +3 -3
- package/route53/healthCheck.js +3 -3
- package/route53/record.d.ts +3 -3
- package/route53/record.js +3 -3
- package/route53/zone.d.ts +1 -1
- package/route53/zone.js +1 -1
- package/ses/domainDkim.d.ts +1 -1
- package/ses/domainDkim.js +1 -1
- package/ses/domainIdentity.d.ts +1 -1
- package/ses/domainIdentity.js +1 -1
- package/ses/domainIdentityVerification.d.ts +1 -1
- package/ses/domainIdentityVerification.js +1 -1
- package/ses/mailFrom.d.ts +2 -2
- package/ses/mailFrom.js +2 -2
- package/shield/protectionHealthCheckAssociation.d.ts +2 -2
- package/shield/protectionHealthCheckAssociation.js +2 -2
- package/ssm/activation.d.ts +1 -1
- package/ssm/activation.js +1 -1
- package/ssm/maintenanceWindowTask.d.ts +6 -6
- package/ssm/maintenanceWindowTask.js +6 -6
- package/storagegateway/fileSystemAssociation.d.ts +1 -1
- package/storagegateway/fileSystemAssociation.js +1 -1
- package/workspaces/directory.d.ts +1 -1
- package/workspaces/directory.js +1 -1
package/acm/certificate.d.ts
CHANGED
|
@@ -77,7 +77,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
77
77
|
* name: range.value.name,
|
|
78
78
|
* records: [range.value.record],
|
|
79
79
|
* ttl: 60,
|
|
80
|
-
* type: range.value.type,
|
|
80
|
+
* type: aws.route53.recordtype.RecordType[range.value.type],
|
|
81
81
|
* zoneId: aws_route53_zone.example.zone_id,
|
|
82
82
|
* }));
|
|
83
83
|
* }
|
package/acm/certificate.js
CHANGED
|
@@ -82,7 +82,7 @@ const utilities = require("../utilities");
|
|
|
82
82
|
* name: range.value.name,
|
|
83
83
|
* records: [range.value.record],
|
|
84
84
|
* ttl: 60,
|
|
85
|
-
* type: range.value.type,
|
|
85
|
+
* type: aws.route53.recordtype.RecordType[range.value.type],
|
|
86
86
|
* zoneId: aws_route53_zone.example.zone_id,
|
|
87
87
|
* }));
|
|
88
88
|
* }
|
|
@@ -35,7 +35,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
35
35
|
* name: range.value.name,
|
|
36
36
|
* records: [range.value.record],
|
|
37
37
|
* ttl: 60,
|
|
38
|
-
* type: range.value.type,
|
|
38
|
+
* type: aws.route53.recordtype.RecordType[range.value.type],
|
|
39
39
|
* zoneId: exampleZone.then(exampleZone => exampleZone.zoneId),
|
|
40
40
|
* }));
|
|
41
41
|
* }
|
|
@@ -41,7 +41,7 @@ const utilities = require("../utilities");
|
|
|
41
41
|
* name: range.value.name,
|
|
42
42
|
* records: [range.value.record],
|
|
43
43
|
* ttl: 60,
|
|
44
|
-
* type: range.value.type,
|
|
44
|
+
* type: aws.route53.recordtype.RecordType[range.value.type],
|
|
45
45
|
* zoneId: exampleZone.then(exampleZone => exampleZone.zoneId),
|
|
46
46
|
* }));
|
|
47
47
|
* }
|
package/acmpca/certificate.d.ts
CHANGED
|
@@ -4,41 +4,6 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
4
4
|
* Provides a resource to issue a certificate using AWS Certificate Manager Private Certificate Authority (ACM PCA).
|
|
5
5
|
*
|
|
6
6
|
* ## Example Usage
|
|
7
|
-
* ### Basic
|
|
8
|
-
*
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as aws from "@pulumi/aws";
|
|
12
|
-
* import * as tls from "@pulumi/tls";
|
|
13
|
-
*
|
|
14
|
-
* const exampleCertificateAuthority = new aws.acmpca.CertificateAuthority("exampleCertificateAuthority", {
|
|
15
|
-
* privateCertificateConfiguration: [{
|
|
16
|
-
* keyAlgorithm: "RSA_4096",
|
|
17
|
-
* signingAlgorithm: "SHA512WITHRSA",
|
|
18
|
-
* subject: [{
|
|
19
|
-
* commonName: "example.com",
|
|
20
|
-
* }],
|
|
21
|
-
* }],
|
|
22
|
-
* permanentDeletionTimeInDays: 7,
|
|
23
|
-
* });
|
|
24
|
-
* const key = new tls.PrivateKey("key", {algorithm: "RSA"});
|
|
25
|
-
* const csr = new tls.CertRequest("csr", {
|
|
26
|
-
* keyAlgorithm: "RSA",
|
|
27
|
-
* privateKeyPem: key.privateKeyPem,
|
|
28
|
-
* subjects: [{
|
|
29
|
-
* commonName: "example",
|
|
30
|
-
* }],
|
|
31
|
-
* });
|
|
32
|
-
* const exampleCertificate = new aws.acmpca.Certificate("exampleCertificate", {
|
|
33
|
-
* certificateAuthorityArn: exampleCertificateAuthority.arn,
|
|
34
|
-
* certificateSigningRequest: csr.certRequestPem,
|
|
35
|
-
* signingAlgorithm: "SHA256WITHRSA",
|
|
36
|
-
* validity: {
|
|
37
|
-
* type: "YEARS",
|
|
38
|
-
* value: 1,
|
|
39
|
-
* },
|
|
40
|
-
* });
|
|
41
|
-
* ```
|
|
42
7
|
*
|
|
43
8
|
* ## Import
|
|
44
9
|
*
|
package/acmpca/certificate.js
CHANGED
|
@@ -9,41 +9,6 @@ const utilities = require("../utilities");
|
|
|
9
9
|
* Provides a resource to issue a certificate using AWS Certificate Manager Private Certificate Authority (ACM PCA).
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
|
-
* ### Basic
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as aws from "@pulumi/aws";
|
|
17
|
-
* import * as tls from "@pulumi/tls";
|
|
18
|
-
*
|
|
19
|
-
* const exampleCertificateAuthority = new aws.acmpca.CertificateAuthority("exampleCertificateAuthority", {
|
|
20
|
-
* privateCertificateConfiguration: [{
|
|
21
|
-
* keyAlgorithm: "RSA_4096",
|
|
22
|
-
* signingAlgorithm: "SHA512WITHRSA",
|
|
23
|
-
* subject: [{
|
|
24
|
-
* commonName: "example.com",
|
|
25
|
-
* }],
|
|
26
|
-
* }],
|
|
27
|
-
* permanentDeletionTimeInDays: 7,
|
|
28
|
-
* });
|
|
29
|
-
* const key = new tls.PrivateKey("key", {algorithm: "RSA"});
|
|
30
|
-
* const csr = new tls.CertRequest("csr", {
|
|
31
|
-
* keyAlgorithm: "RSA",
|
|
32
|
-
* privateKeyPem: key.privateKeyPem,
|
|
33
|
-
* subjects: [{
|
|
34
|
-
* commonName: "example",
|
|
35
|
-
* }],
|
|
36
|
-
* });
|
|
37
|
-
* const exampleCertificate = new aws.acmpca.Certificate("exampleCertificate", {
|
|
38
|
-
* certificateAuthorityArn: exampleCertificateAuthority.arn,
|
|
39
|
-
* certificateSigningRequest: csr.certRequestPem,
|
|
40
|
-
* signingAlgorithm: "SHA256WITHRSA",
|
|
41
|
-
* validity: {
|
|
42
|
-
* type: "YEARS",
|
|
43
|
-
* value: 1,
|
|
44
|
-
* },
|
|
45
|
-
* });
|
|
46
|
-
* ```
|
|
47
12
|
*
|
|
48
13
|
* ## Import
|
|
49
14
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"certificate.js","sourceRoot":"","sources":["../../acmpca/certificate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3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AAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC1D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;IA1GD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCA4GC;AA9FG,gBAAgB;AACO,wBAAY,GAAG,oCAAoC,CAAC"}
|
|
@@ -27,7 +27,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
27
27
|
* templateArn: current.then(current => `arn:${current.partition}:acm-pca:::template/RootCACertificate/V1`),
|
|
28
28
|
* validity: {
|
|
29
29
|
* type: "YEARS",
|
|
30
|
-
* value: 1,
|
|
30
|
+
* value: "1",
|
|
31
31
|
* },
|
|
32
32
|
* });
|
|
33
33
|
* const exampleCertificateAuthorityCertificate = new aws.acmpca.CertificateAuthorityCertificate("exampleCertificateAuthorityCertificate", {
|
|
@@ -64,7 +64,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
64
64
|
* templateArn: current.then(current => `arn:${current.partition}:acm-pca:::template/SubordinateCACertificate_PathLen0/V1`),
|
|
65
65
|
* validity: {
|
|
66
66
|
* type: "YEARS",
|
|
67
|
-
* value: 1,
|
|
67
|
+
* value: "1",
|
|
68
68
|
* },
|
|
69
69
|
* });
|
|
70
70
|
* const subordinateCertificateAuthorityCertificate = new aws.acmpca.CertificateAuthorityCertificate("subordinateCertificateAuthorityCertificate", {
|
|
@@ -33,7 +33,7 @@ const utilities = require("../utilities");
|
|
|
33
33
|
* templateArn: current.then(current => `arn:${current.partition}:acm-pca:::template/RootCACertificate/V1`),
|
|
34
34
|
* validity: {
|
|
35
35
|
* type: "YEARS",
|
|
36
|
-
* value: 1,
|
|
36
|
+
* value: "1",
|
|
37
37
|
* },
|
|
38
38
|
* });
|
|
39
39
|
* const exampleCertificateAuthorityCertificate = new aws.acmpca.CertificateAuthorityCertificate("exampleCertificateAuthorityCertificate", {
|
|
@@ -70,7 +70,7 @@ const utilities = require("../utilities");
|
|
|
70
70
|
* templateArn: current.then(current => `arn:${current.partition}:acm-pca:::template/SubordinateCACertificate_PathLen0/V1`),
|
|
71
71
|
* validity: {
|
|
72
72
|
* type: "YEARS",
|
|
73
|
-
* value: 1,
|
|
73
|
+
* value: "1",
|
|
74
74
|
* },
|
|
75
75
|
* });
|
|
76
76
|
* const subordinateCertificateAuthorityCertificate = new aws.acmpca.CertificateAuthorityCertificate("subordinateCertificateAuthorityCertificate", {
|
package/alb/listener.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
18
18
|
* // ...
|
|
19
19
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
20
20
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
21
|
-
* port:
|
|
21
|
+
* port: 443,
|
|
22
22
|
* protocol: "HTTPS",
|
|
23
23
|
* sslPolicy: "ELBSecurityPolicy-2016-08",
|
|
24
24
|
* certificateArn: "arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4",
|
|
@@ -37,7 +37,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
37
37
|
*
|
|
38
38
|
* const frontEnd = new aws.lb.Listener("frontEnd", {
|
|
39
39
|
* loadBalancerArn: aws_lb.front_end.arn,
|
|
40
|
-
* port:
|
|
40
|
+
* port: 443,
|
|
41
41
|
* protocol: "TLS",
|
|
42
42
|
* certificateArn: "arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4",
|
|
43
43
|
* alpnPolicy: "HTTP2Preferred",
|
|
@@ -57,7 +57,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
57
57
|
* // ...
|
|
58
58
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
59
59
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
60
|
-
* port:
|
|
60
|
+
* port: 80,
|
|
61
61
|
* protocol: "HTTP",
|
|
62
62
|
* defaultActions: [{
|
|
63
63
|
* type: "redirect",
|
|
@@ -79,7 +79,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
79
79
|
* // ...
|
|
80
80
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
81
81
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
82
|
-
* port:
|
|
82
|
+
* port: 80,
|
|
83
83
|
* protocol: "HTTP",
|
|
84
84
|
* defaultActions: [{
|
|
85
85
|
* type: "fixed-response",
|
|
@@ -109,7 +109,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
109
109
|
* // ...
|
|
110
110
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
111
111
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
112
|
-
* port:
|
|
112
|
+
* port: 80,
|
|
113
113
|
* protocol: "HTTP",
|
|
114
114
|
* defaultActions: [
|
|
115
115
|
* {
|
|
@@ -139,7 +139,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
139
139
|
* // ...
|
|
140
140
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
141
141
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
142
|
-
* port:
|
|
142
|
+
* port: 80,
|
|
143
143
|
* protocol: "HTTP",
|
|
144
144
|
* defaultActions: [
|
|
145
145
|
* {
|
|
@@ -177,7 +177,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
177
177
|
* protocol: "GENEVE",
|
|
178
178
|
* vpcId: aws_vpc.example.id,
|
|
179
179
|
* healthCheck: {
|
|
180
|
-
* port: 80,
|
|
180
|
+
* port: "80",
|
|
181
181
|
* protocol: "HTTP",
|
|
182
182
|
* },
|
|
183
183
|
* });
|
package/alb/listener.js
CHANGED
|
@@ -23,7 +23,7 @@ const utilities = require("../utilities");
|
|
|
23
23
|
* // ...
|
|
24
24
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
25
25
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
26
|
-
* port:
|
|
26
|
+
* port: 443,
|
|
27
27
|
* protocol: "HTTPS",
|
|
28
28
|
* sslPolicy: "ELBSecurityPolicy-2016-08",
|
|
29
29
|
* certificateArn: "arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4",
|
|
@@ -42,7 +42,7 @@ const utilities = require("../utilities");
|
|
|
42
42
|
*
|
|
43
43
|
* const frontEnd = new aws.lb.Listener("frontEnd", {
|
|
44
44
|
* loadBalancerArn: aws_lb.front_end.arn,
|
|
45
|
-
* port:
|
|
45
|
+
* port: 443,
|
|
46
46
|
* protocol: "TLS",
|
|
47
47
|
* certificateArn: "arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4",
|
|
48
48
|
* alpnPolicy: "HTTP2Preferred",
|
|
@@ -62,7 +62,7 @@ const utilities = require("../utilities");
|
|
|
62
62
|
* // ...
|
|
63
63
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
64
64
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
65
|
-
* port:
|
|
65
|
+
* port: 80,
|
|
66
66
|
* protocol: "HTTP",
|
|
67
67
|
* defaultActions: [{
|
|
68
68
|
* type: "redirect",
|
|
@@ -84,7 +84,7 @@ const utilities = require("../utilities");
|
|
|
84
84
|
* // ...
|
|
85
85
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
86
86
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
87
|
-
* port:
|
|
87
|
+
* port: 80,
|
|
88
88
|
* protocol: "HTTP",
|
|
89
89
|
* defaultActions: [{
|
|
90
90
|
* type: "fixed-response",
|
|
@@ -114,7 +114,7 @@ const utilities = require("../utilities");
|
|
|
114
114
|
* // ...
|
|
115
115
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
116
116
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
117
|
-
* port:
|
|
117
|
+
* port: 80,
|
|
118
118
|
* protocol: "HTTP",
|
|
119
119
|
* defaultActions: [
|
|
120
120
|
* {
|
|
@@ -144,7 +144,7 @@ const utilities = require("../utilities");
|
|
|
144
144
|
* // ...
|
|
145
145
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
146
146
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
147
|
-
* port:
|
|
147
|
+
* port: 80,
|
|
148
148
|
* protocol: "HTTP",
|
|
149
149
|
* defaultActions: [
|
|
150
150
|
* {
|
|
@@ -182,7 +182,7 @@ const utilities = require("../utilities");
|
|
|
182
182
|
* protocol: "GENEVE",
|
|
183
183
|
* vpcId: aws_vpc.example.id,
|
|
184
184
|
* healthCheck: {
|
|
185
|
-
* port: 80,
|
|
185
|
+
* port: "80",
|
|
186
186
|
* protocol: "HTTP",
|
|
187
187
|
* },
|
|
188
188
|
* });
|
package/amplify/branch.d.ts
CHANGED
|
@@ -19,23 +19,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
19
|
* },
|
|
20
20
|
* });
|
|
21
21
|
* ```
|
|
22
|
-
* ### Basic Authentication
|
|
23
|
-
*
|
|
24
|
-
* ```typescript
|
|
25
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
26
|
-
* import * as aws from "@pulumi/aws";
|
|
27
|
-
*
|
|
28
|
-
* const example = new aws.amplify.App("example", {});
|
|
29
|
-
* const master = new aws.amplify.Branch("master", {
|
|
30
|
-
* appId: example.id,
|
|
31
|
-
* branchName: "master",
|
|
32
|
-
* basicAuthConfig: [{
|
|
33
|
-
* enableBasicAuth: true,
|
|
34
|
-
* username: "username",
|
|
35
|
-
* password: "password",
|
|
36
|
-
* }],
|
|
37
|
-
* });
|
|
38
|
-
* ```
|
|
39
22
|
* ### Notifications
|
|
40
23
|
*
|
|
41
24
|
* Amplify Console uses EventBridge (formerly known as CloudWatch Events) and SNS for email notifications. To implement the same functionality, you need to set `enableNotification` in a `aws.amplify.Branch` resource, as well as creating an EventBridge Rule, an SNS topic, and SNS subscriptions.
|
package/amplify/branch.js
CHANGED
|
@@ -25,23 +25,6 @@ const utilities = require("../utilities");
|
|
|
25
25
|
* },
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
|
-
* ### Basic Authentication
|
|
29
|
-
*
|
|
30
|
-
* ```typescript
|
|
31
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
-
* import * as aws from "@pulumi/aws";
|
|
33
|
-
*
|
|
34
|
-
* const example = new aws.amplify.App("example", {});
|
|
35
|
-
* const master = new aws.amplify.Branch("master", {
|
|
36
|
-
* appId: example.id,
|
|
37
|
-
* branchName: "master",
|
|
38
|
-
* basicAuthConfig: [{
|
|
39
|
-
* enableBasicAuth: true,
|
|
40
|
-
* username: "username",
|
|
41
|
-
* password: "password",
|
|
42
|
-
* }],
|
|
43
|
-
* });
|
|
44
|
-
* ```
|
|
45
28
|
* ### Notifications
|
|
46
29
|
*
|
|
47
30
|
* Amplify Console uses EventBridge (formerly known as CloudWatch Events) and SNS for email notifications. To implement the same functionality, you need to set `enableNotification` in a `aws.amplify.Branch` resource, as well as creating an EventBridge Rule, an SNS topic, and SNS subscriptions.
|
package/amplify/branch.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branch.js","sourceRoot":"","sources":["../../amplify/branch.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"branch.js","sourceRoot":"","sources":["../../amplify/branch.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4FG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAiI7C,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,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AAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;IA9LD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;;AA1BL,wBAgMC;AAlLG,gBAAgB;AACO,mBAAY,GAAG,2BAA2B,CAAC"}
|
|
@@ -81,13 +81,13 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
81
81
|
* },
|
|
82
82
|
* responseParameters: [
|
|
83
83
|
* {
|
|
84
|
-
* statusCode: 403,
|
|
84
|
+
* statusCode: "403",
|
|
85
85
|
* mappings: {
|
|
86
86
|
* "append:header.auth": `$context.authorizer.authorizerResponse`,
|
|
87
87
|
* },
|
|
88
88
|
* },
|
|
89
89
|
* {
|
|
90
|
-
* statusCode: 200,
|
|
90
|
+
* statusCode: "200",
|
|
91
91
|
* mappings: {
|
|
92
92
|
* "overwrite:statuscode": "204",
|
|
93
93
|
* },
|
|
@@ -86,13 +86,13 @@ const utilities = require("../utilities");
|
|
|
86
86
|
* },
|
|
87
87
|
* responseParameters: [
|
|
88
88
|
* {
|
|
89
|
-
* statusCode: 403,
|
|
89
|
+
* statusCode: "403",
|
|
90
90
|
* mappings: {
|
|
91
91
|
* "append:header.auth": `$context.authorizer.authorizerResponse`,
|
|
92
92
|
* },
|
|
93
93
|
* },
|
|
94
94
|
* {
|
|
95
|
-
* statusCode: 200,
|
|
95
|
+
* statusCode: "200",
|
|
96
96
|
* mappings: {
|
|
97
97
|
* "overwrite:statuscode": "204",
|
|
98
98
|
* },
|
|
@@ -53,7 +53,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
53
53
|
* cooldown: 60,
|
|
54
54
|
* metricAggregationType: "Maximum",
|
|
55
55
|
* stepAdjustments: [{
|
|
56
|
-
* metricIntervalUpperBound: 0,
|
|
56
|
+
* metricIntervalUpperBound: "0",
|
|
57
57
|
* scalingAdjustment: -1,
|
|
58
58
|
* }],
|
|
59
59
|
* },
|
package/appautoscaling/policy.js
CHANGED
|
@@ -18,7 +18,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
18
18
|
* // ...
|
|
19
19
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
20
20
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
21
|
-
* port:
|
|
21
|
+
* port: 443,
|
|
22
22
|
* protocol: "HTTPS",
|
|
23
23
|
* sslPolicy: "ELBSecurityPolicy-2016-08",
|
|
24
24
|
* certificateArn: "arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4",
|
|
@@ -37,7 +37,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
37
37
|
*
|
|
38
38
|
* const frontEnd = new aws.lb.Listener("frontEnd", {
|
|
39
39
|
* loadBalancerArn: aws_lb.front_end.arn,
|
|
40
|
-
* port:
|
|
40
|
+
* port: 443,
|
|
41
41
|
* protocol: "TLS",
|
|
42
42
|
* certificateArn: "arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4",
|
|
43
43
|
* alpnPolicy: "HTTP2Preferred",
|
|
@@ -57,7 +57,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
57
57
|
* // ...
|
|
58
58
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
59
59
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
60
|
-
* port:
|
|
60
|
+
* port: 80,
|
|
61
61
|
* protocol: "HTTP",
|
|
62
62
|
* defaultActions: [{
|
|
63
63
|
* type: "redirect",
|
|
@@ -79,7 +79,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
79
79
|
* // ...
|
|
80
80
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
81
81
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
82
|
-
* port:
|
|
82
|
+
* port: 80,
|
|
83
83
|
* protocol: "HTTP",
|
|
84
84
|
* defaultActions: [{
|
|
85
85
|
* type: "fixed-response",
|
|
@@ -109,7 +109,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
109
109
|
* // ...
|
|
110
110
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
111
111
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
112
|
-
* port:
|
|
112
|
+
* port: 80,
|
|
113
113
|
* protocol: "HTTP",
|
|
114
114
|
* defaultActions: [
|
|
115
115
|
* {
|
|
@@ -139,7 +139,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
139
139
|
* // ...
|
|
140
140
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
141
141
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
142
|
-
* port:
|
|
142
|
+
* port: 80,
|
|
143
143
|
* protocol: "HTTP",
|
|
144
144
|
* defaultActions: [
|
|
145
145
|
* {
|
|
@@ -177,7 +177,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
177
177
|
* protocol: "GENEVE",
|
|
178
178
|
* vpcId: aws_vpc.example.id,
|
|
179
179
|
* healthCheck: {
|
|
180
|
-
* port: 80,
|
|
180
|
+
* port: "80",
|
|
181
181
|
* protocol: "HTTP",
|
|
182
182
|
* },
|
|
183
183
|
* });
|
|
@@ -23,7 +23,7 @@ const utilities = require("../utilities");
|
|
|
23
23
|
* // ...
|
|
24
24
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
25
25
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
26
|
-
* port:
|
|
26
|
+
* port: 443,
|
|
27
27
|
* protocol: "HTTPS",
|
|
28
28
|
* sslPolicy: "ELBSecurityPolicy-2016-08",
|
|
29
29
|
* certificateArn: "arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4",
|
|
@@ -42,7 +42,7 @@ const utilities = require("../utilities");
|
|
|
42
42
|
*
|
|
43
43
|
* const frontEnd = new aws.lb.Listener("frontEnd", {
|
|
44
44
|
* loadBalancerArn: aws_lb.front_end.arn,
|
|
45
|
-
* port:
|
|
45
|
+
* port: 443,
|
|
46
46
|
* protocol: "TLS",
|
|
47
47
|
* certificateArn: "arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4",
|
|
48
48
|
* alpnPolicy: "HTTP2Preferred",
|
|
@@ -62,7 +62,7 @@ const utilities = require("../utilities");
|
|
|
62
62
|
* // ...
|
|
63
63
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
64
64
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
65
|
-
* port:
|
|
65
|
+
* port: 80,
|
|
66
66
|
* protocol: "HTTP",
|
|
67
67
|
* defaultActions: [{
|
|
68
68
|
* type: "redirect",
|
|
@@ -84,7 +84,7 @@ const utilities = require("../utilities");
|
|
|
84
84
|
* // ...
|
|
85
85
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
86
86
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
87
|
-
* port:
|
|
87
|
+
* port: 80,
|
|
88
88
|
* protocol: "HTTP",
|
|
89
89
|
* defaultActions: [{
|
|
90
90
|
* type: "fixed-response",
|
|
@@ -114,7 +114,7 @@ const utilities = require("../utilities");
|
|
|
114
114
|
* // ...
|
|
115
115
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
116
116
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
117
|
-
* port:
|
|
117
|
+
* port: 80,
|
|
118
118
|
* protocol: "HTTP",
|
|
119
119
|
* defaultActions: [
|
|
120
120
|
* {
|
|
@@ -144,7 +144,7 @@ const utilities = require("../utilities");
|
|
|
144
144
|
* // ...
|
|
145
145
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
146
146
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
147
|
-
* port:
|
|
147
|
+
* port: 80,
|
|
148
148
|
* protocol: "HTTP",
|
|
149
149
|
* defaultActions: [
|
|
150
150
|
* {
|
|
@@ -182,7 +182,7 @@ const utilities = require("../utilities");
|
|
|
182
182
|
* protocol: "GENEVE",
|
|
183
183
|
* vpcId: aws_vpc.example.id,
|
|
184
184
|
* healthCheck: {
|
|
185
|
-
* port: 80,
|
|
185
|
+
* port: "80",
|
|
186
186
|
* protocol: "HTTP",
|
|
187
187
|
* },
|
|
188
188
|
* });
|
package/appsync/apiCache.d.ts
CHANGED
|
@@ -2,19 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Provides an AppSync API Cache.
|
|
4
4
|
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as aws from "@pulumi/aws";
|
|
10
|
-
*
|
|
11
|
-
* const exampleGraphQLApi = new aws.appsync.GraphQLApi("exampleGraphQLApi", {authenticationType: "API_KEY"});
|
|
12
|
-
* const exampleApiCache = new aws.appsync.ApiCache("exampleApiCache", {
|
|
13
|
-
* apiId: exampleGraphQLApi.id,
|
|
14
|
-
* expires: "2018-05-03T04:00:00Z",
|
|
15
|
-
* });
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
5
|
* ## Import
|
|
19
6
|
*
|
|
20
7
|
* `aws_appsync_api_cache` can be imported using the AppSync API ID, e.g.,
|
package/appsync/apiCache.js
CHANGED
|
@@ -8,19 +8,6 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Provides an AppSync API Cache.
|
|
10
10
|
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as aws from "@pulumi/aws";
|
|
16
|
-
*
|
|
17
|
-
* const exampleGraphQLApi = new aws.appsync.GraphQLApi("exampleGraphQLApi", {authenticationType: "API_KEY"});
|
|
18
|
-
* const exampleApiCache = new aws.appsync.ApiCache("exampleApiCache", {
|
|
19
|
-
* apiId: exampleGraphQLApi.id,
|
|
20
|
-
* expires: "2018-05-03T04:00:00Z",
|
|
21
|
-
* });
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
11
|
* ## Import
|
|
25
12
|
*
|
|
26
13
|
* `aws_appsync_api_cache` can be imported using the AppSync API ID, e.g.,
|
package/appsync/apiCache.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiCache.js","sourceRoot":"","sources":["../../appsync/apiCache.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"apiCache.js","sourceRoot":"","sources":["../../appsync/apiCache.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IA6D/C,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,oBAAoB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AC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AA1BL,4BAgGC;AAlFG,gBAAgB;AACO,qBAAY,GAAG,+BAA+B,CAAC"}
|
|
@@ -36,12 +36,12 @@ import { Topic } from "../sns";
|
|
|
36
36
|
* });
|
|
37
37
|
* const batMetricAlarm = new aws.cloudwatch.MetricAlarm("batMetricAlarm", {
|
|
38
38
|
* comparisonOperator: "GreaterThanOrEqualToThreshold",
|
|
39
|
-
* evaluationPeriods:
|
|
39
|
+
* evaluationPeriods: 2,
|
|
40
40
|
* metricName: "CPUUtilization",
|
|
41
41
|
* namespace: "AWS/EC2",
|
|
42
|
-
* period:
|
|
42
|
+
* period: 120,
|
|
43
43
|
* statistic: "Average",
|
|
44
|
-
* threshold:
|
|
44
|
+
* threshold: 80,
|
|
45
45
|
* dimensions: {
|
|
46
46
|
* AutoScalingGroupName: aws_autoscaling_group.bar.name,
|
|
47
47
|
* },
|
|
@@ -142,14 +142,14 @@ import { Topic } from "../sns";
|
|
|
142
142
|
*
|
|
143
143
|
* const nlbHealthyhosts = new aws.cloudwatch.MetricAlarm("nlbHealthyhosts", {
|
|
144
144
|
* comparisonOperator: "LessThanThreshold",
|
|
145
|
-
* evaluationPeriods:
|
|
145
|
+
* evaluationPeriods: 1,
|
|
146
146
|
* metricName: "HealthyHostCount",
|
|
147
147
|
* namespace: "AWS/NetworkELB",
|
|
148
|
-
* period:
|
|
148
|
+
* period: 60,
|
|
149
149
|
* statistic: "Average",
|
|
150
150
|
* threshold: _var.logstash_servers_count,
|
|
151
151
|
* alarmDescription: "Number of healthy nodes in Target Group",
|
|
152
|
-
* actionsEnabled:
|
|
152
|
+
* actionsEnabled: true,
|
|
153
153
|
* alarmActions: [aws_sns_topic.sns.arn],
|
|
154
154
|
* okActions: [aws_sns_topic.sns.arn],
|
|
155
155
|
* dimensions: {
|