@aws-solutions-constructs/aws-wafwebacl-appsync 2.85.2 → 2.85.3
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/.jsii +4 -4
- package/README.adoc +189 -0
- package/README.md +1 -137
- package/lib/index.js +1 -1
- package/package.json +5 -4
- /package/{architecture.png → aws-wafwebacl-appsync.png} +0 -0
package/.jsii
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"url": "https://aws.amazon.com"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@aws-solutions-constructs/core": "2.85.
|
|
11
|
+
"@aws-solutions-constructs/core": "2.85.3",
|
|
12
12
|
"aws-cdk-lib": "^2.193.0",
|
|
13
13
|
"constructs": "^10.0.0"
|
|
14
14
|
},
|
|
@@ -3994,7 +3994,7 @@
|
|
|
3994
3994
|
},
|
|
3995
3995
|
"name": "@aws-solutions-constructs/aws-wafwebacl-appsync",
|
|
3996
3996
|
"readme": {
|
|
3997
|
-
"markdown": "
|
|
3997
|
+
"markdown": "Documentation for this pattern can be found [here](https://github.com/awslabs/aws-solutions-constructs/blob/main/source/patterns/%40aws-solutions-constructs/aws-wafwebacl-appsync/README.adoc)\n"
|
|
3998
3998
|
},
|
|
3999
3999
|
"repository": {
|
|
4000
4000
|
"directory": "source/patterns/@aws-solutions-constructs/aws-wafwebacl-appsync",
|
|
@@ -4175,6 +4175,6 @@
|
|
|
4175
4175
|
"symbolId": "lib/index:WafwebaclToAppsyncProps"
|
|
4176
4176
|
}
|
|
4177
4177
|
},
|
|
4178
|
-
"version": "2.85.
|
|
4179
|
-
"fingerprint": "
|
|
4178
|
+
"version": "2.85.3",
|
|
4179
|
+
"fingerprint": "USYfcaUc1ILBeBXWc4Qb6Av8OxYHssNGJ/HalvGE/hU="
|
|
4180
4180
|
}
|
package/README.adoc
ADDED
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
//!!NODE_ROOT <section>
|
|
2
|
+
//== aws-wafwebacl-appsync module
|
|
3
|
+
|
|
4
|
+
[.topic]
|
|
5
|
+
= aws-wafwebacl-appsync
|
|
6
|
+
:info_doctype: section
|
|
7
|
+
:info_title: aws-wafwebacl-appsync
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
image:https://img.shields.io/badge/stability-Experimental-important.svg?style=for-the-badge[Stability:Experimental]
|
|
11
|
+
|
|
12
|
+
____
|
|
13
|
+
All classes are under active development and subject to non-backward
|
|
14
|
+
compatible changes or removal in any future version. These are not
|
|
15
|
+
subject to the https://semver.org/[Semantic Versioning] model. This
|
|
16
|
+
means that while you may use them, you may need to update your source
|
|
17
|
+
code when upgrading to a newer version of this package.
|
|
18
|
+
____
|
|
19
|
+
|
|
20
|
+
'''''
|
|
21
|
+
|
|
22
|
+
[width="100%",cols="<23%,<77%",options="header",]
|
|
23
|
+
|===
|
|
24
|
+
|*Reference Documentation*:
|
|
25
|
+
|https://docs.aws.amazon.com/solutions/latest/constructs/
|
|
26
|
+
|===
|
|
27
|
+
|
|
28
|
+
[width="100%",cols="<63%,37%",options="header",]
|
|
29
|
+
|===
|
|
30
|
+
|*Language* |*Package*
|
|
31
|
+
|image:https://docs.aws.amazon.com/cdk/api/latest/img/python32.png[Python
|
|
32
|
+
Logo] Python
|
|
33
|
+
|`aws_solutions_constructs.aws_wafwebacl_appsync`
|
|
34
|
+
|
|
35
|
+
|image:https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png[Typescript
|
|
36
|
+
Logo] Typescript |`@aws-solutions-constructs/aws-wafwebacl-appsync`
|
|
37
|
+
|
|
38
|
+
|image:https://docs.aws.amazon.com/cdk/api/latest/img/java32.png[Java
|
|
39
|
+
Logo] Java |`software.amazon.awsconstructs.services.wafwebaclappsync`
|
|
40
|
+
|===
|
|
41
|
+
|
|
42
|
+
== Overview
|
|
43
|
+
|
|
44
|
+
This AWS Solutions Construct implements an AWS WAF web ACL connected to
|
|
45
|
+
an AWS AppSync API.
|
|
46
|
+
|
|
47
|
+
Here is a minimal deployable pattern definition:
|
|
48
|
+
|
|
49
|
+
====
|
|
50
|
+
[role="tablist"]
|
|
51
|
+
Typescript::
|
|
52
|
+
+
|
|
53
|
+
[source,typescript]
|
|
54
|
+
----
|
|
55
|
+
import { Construct } from "constructs";
|
|
56
|
+
import { Stack, StackProps } from "aws-cdk-lib";
|
|
57
|
+
import {
|
|
58
|
+
WafwebaclToAppsyncProps,
|
|
59
|
+
WafwebaclToAppsync,
|
|
60
|
+
} from "@aws-solutions-constructs/aws-wafwebacl-appsync";
|
|
61
|
+
|
|
62
|
+
// Use an existing AppSync GraphQL API
|
|
63
|
+
const existingGraphQLApi = previouslyCreatedApi;
|
|
64
|
+
|
|
65
|
+
// This construct can only be attached to a configured AWS AppSync API.
|
|
66
|
+
new WafwebaclToAppsync(this, "test-wafwebacl-appsync", {
|
|
67
|
+
existingAppsyncApi: existingGraphQLApi,
|
|
68
|
+
});
|
|
69
|
+
----
|
|
70
|
+
|
|
71
|
+
Python::
|
|
72
|
+
+
|
|
73
|
+
[source,python]
|
|
74
|
+
----
|
|
75
|
+
from aws_solutions_constructs.aws_wafwebacl_appsync import WafwebaclToAppsyncProps, WafwebaclToAppsync
|
|
76
|
+
from aws_cdk import (
|
|
77
|
+
aws_route53 as route53,
|
|
78
|
+
Stack
|
|
79
|
+
)
|
|
80
|
+
from constructs import Construct
|
|
81
|
+
|
|
82
|
+
# Use an existing AppSync API
|
|
83
|
+
existingGraphQLApi = previouslyCreatedApi
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
# This construct can only be attached to a configured AWS AppSync API.
|
|
87
|
+
WafwebaclToAppsync(self, 'test_wafwebacl_appsync',
|
|
88
|
+
existing_appsync_api=existingGraphQLApi
|
|
89
|
+
)
|
|
90
|
+
----
|
|
91
|
+
|
|
92
|
+
Java::
|
|
93
|
+
+
|
|
94
|
+
[source,java]
|
|
95
|
+
----
|
|
96
|
+
import software.constructs.Construct;
|
|
97
|
+
|
|
98
|
+
import software.amazon.awscdk.Stack;
|
|
99
|
+
import software.amazon.awscdk.StackProps;
|
|
100
|
+
import software.amazon.awsconstructs.services.wafwebaclappsync.*;
|
|
101
|
+
|
|
102
|
+
// Use an existing AppSync API
|
|
103
|
+
final existingGraphQLApi = previouslyCreatedApi
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
// This construct can only be attached to a configured AWS AppSync API.
|
|
107
|
+
new WafwebaclToAppsync(this, "test-wafwebacl-appsync", new WafwebaclToAppsyncProps.Builder()
|
|
108
|
+
.existingAppsyncApi(existingGraphQLApi)
|
|
109
|
+
.build());
|
|
110
|
+
----
|
|
111
|
+
====
|
|
112
|
+
|
|
113
|
+
== Pattern Construct Props
|
|
114
|
+
|
|
115
|
+
[width="100%",cols="<5%,<22%,73%",options="header",]
|
|
116
|
+
|===
|
|
117
|
+
|*Name* |*Type* |*Description*
|
|
118
|
+
|existingAppsyncApi
|
|
119
|
+
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appsync.CfnGraphQLApi.html[`appsync.CfnGraphQLApi`]
|
|
120
|
+
|The existing Appsync CfnGraphQLApi object that will be protected with
|
|
121
|
+
the WAF web ACL. _Note that a WAF web ACL can only be added to a
|
|
122
|
+
configured AppSync API, so this construct only accepts an existing
|
|
123
|
+
CfnGraphQLApi and does not accept CfnGraphQLApiProps._
|
|
124
|
+
|
|
125
|
+
|existingWebaclObj?
|
|
126
|
+
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_waf.CfnWebACL.html[`waf.CfnWebACL`]
|
|
127
|
+
|Existing instance of a WAF web ACL, an error will occur if this and
|
|
128
|
+
props is set.
|
|
129
|
+
|
|
130
|
+
|webaclProps?
|
|
131
|
+
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_waf.CfnWebACLProps.html[`waf.CfnWebACLProps`]
|
|
132
|
+
|Optional user-provided props to override the default props for the AWS
|
|
133
|
+
WAF web ACL. To use a different collection of managed rule sets, specify
|
|
134
|
+
a new rules property. Use our
|
|
135
|
+
link:../core/lib/waf-defaults.ts[`wrapManagedRuleSet(managedGroupName: string, vendorName: string, priority: number)`]
|
|
136
|
+
function from core to create an array entry from each desired managed
|
|
137
|
+
rule set.
|
|
138
|
+
|===
|
|
139
|
+
|
|
140
|
+
== Pattern Properties
|
|
141
|
+
|
|
142
|
+
[width="100%",cols="<7%,<59%,34%",options="header",]
|
|
143
|
+
|===
|
|
144
|
+
|*Name* |*Type* |*Description*
|
|
145
|
+
|webacl
|
|
146
|
+
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_waf.CfnWebACL.html[`waf.CfnWebACL`]
|
|
147
|
+
|Returns an instance of the waf.CfnWebACL created by the construct.
|
|
148
|
+
|
|
149
|
+
|appsyncApi
|
|
150
|
+
|https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appsync.CfnGraphQLApi.html[`appsync.CfnGraphQLApi`]
|
|
151
|
+
|Returns an instance of the CfnGraphQLApi used by the pattern.
|
|
152
|
+
|===
|
|
153
|
+
|
|
154
|
+
== Default settings
|
|
155
|
+
|
|
156
|
+
Out of the box implementation of the Construct without any override will
|
|
157
|
+
set the following defaults:
|
|
158
|
+
|
|
159
|
+
=== AWS WAF
|
|
160
|
+
|
|
161
|
+
* Deploy a WAF web ACL with 7
|
|
162
|
+
https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-list.html[AWS
|
|
163
|
+
managed rule groups].
|
|
164
|
+
** AWSManagedRulesBotControlRuleSet
|
|
165
|
+
** AWSManagedRulesKnownBadInputsRuleSet
|
|
166
|
+
** AWSManagedRulesCommonRuleSet
|
|
167
|
+
** AWSManagedRulesAnonymousIpList
|
|
168
|
+
** AWSManagedRulesAmazonIpReputationList
|
|
169
|
+
** AWSManagedRulesAdminProtectionRuleSet
|
|
170
|
+
** AWSManagedRulesSQLiRuleSet
|
|
171
|
+
+
|
|
172
|
+
_Note that the default rules can be replaced by specifying the rules
|
|
173
|
+
property of CfnWebACLProps_
|
|
174
|
+
* Send metrics to Amazon CloudWatch
|
|
175
|
+
|
|
176
|
+
=== AppSync API
|
|
177
|
+
|
|
178
|
+
* User provided AppSync graphql API object is used as-is
|
|
179
|
+
|
|
180
|
+
== Architecture
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
image::aws-wafwebacl-appsync.png["Diagram showing the WAF ACL, AppSync api, CloudWatch log group and IAM role created by the construct",scaledwidth=100%]
|
|
184
|
+
|
|
185
|
+
// github block
|
|
186
|
+
|
|
187
|
+
'''''
|
|
188
|
+
|
|
189
|
+
© Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
package/README.md
CHANGED
|
@@ -1,137 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
<!--BEGIN STABILITY BANNER-->
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-

|
|
8
|
-
|
|
9
|
-
> All classes are under active development and subject to non-backward compatible changes or removal in any
|
|
10
|
-
> future version. These are not subject to the [Semantic Versioning](https://semver.org/) model.
|
|
11
|
-
> This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.
|
|
12
|
-
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
<!--END STABILITY BANNER-->
|
|
16
|
-
|
|
17
|
-
| **Reference Documentation**: | <span style="font-weight: normal">https://docs.aws.amazon.com/solutions/latest/constructs/</span> |
|
|
18
|
-
| :--------------------------- | :------------------------------------------------------------------------------------------------ |
|
|
19
|
-
|
|
20
|
-
<div style="height:8px"></div>
|
|
21
|
-
|
|
22
|
-
| **Language** | **Package** |
|
|
23
|
-
| :--------------------------------------------------------------------------------------------- | --------------------------------------------------------- |
|
|
24
|
-
|  Python | `aws_solutions_constructs.aws_wafwebacl_appsync` |
|
|
25
|
-
|  Typescript | `@aws-solutions-constructs/aws-wafwebacl-appsync` |
|
|
26
|
-
|  Java | `software.amazon.awsconstructs.services.wafwebaclappsync` |
|
|
27
|
-
|
|
28
|
-
## Overview
|
|
29
|
-
|
|
30
|
-
This AWS Solutions Construct implements an AWS WAF web ACL connected to an AWS AppSync API.
|
|
31
|
-
|
|
32
|
-
Here is a minimal deployable pattern definition:
|
|
33
|
-
|
|
34
|
-
Typescript
|
|
35
|
-
|
|
36
|
-
```typescript
|
|
37
|
-
import { Construct } from "constructs";
|
|
38
|
-
import { Stack, StackProps } from "aws-cdk-lib";
|
|
39
|
-
import {
|
|
40
|
-
WafwebaclToAppsyncProps,
|
|
41
|
-
WafwebaclToAppsync,
|
|
42
|
-
} from "@aws-solutions-constructs/aws-wafwebacl-appsync";
|
|
43
|
-
|
|
44
|
-
// Use an existing AppSync GraphQL API
|
|
45
|
-
const existingGraphQLApi = previouslyCreatedApi;
|
|
46
|
-
|
|
47
|
-
// This construct can only be attached to a configured AWS AppSync API.
|
|
48
|
-
new WafwebaclToAppsync(this, "test-wafwebacl-appsync", {
|
|
49
|
-
existingAppsyncApi: existingGraphQLApi,
|
|
50
|
-
});
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
Python
|
|
54
|
-
|
|
55
|
-
```python
|
|
56
|
-
from aws_solutions_constructs.aws_wafwebacl_appsync import WafwebaclToAppsyncProps, WafwebaclToAppsync
|
|
57
|
-
from aws_cdk import (
|
|
58
|
-
aws_route53 as route53,
|
|
59
|
-
Stack
|
|
60
|
-
)
|
|
61
|
-
from constructs import Construct
|
|
62
|
-
|
|
63
|
-
# Use an existing AppSync API
|
|
64
|
-
existingGraphQLApi = previouslyCreatedApi
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
# This construct can only be attached to a configured AWS AppSync API.
|
|
68
|
-
WafwebaclToAppsync(self, 'test_wafwebacl_appsync',
|
|
69
|
-
existing_appsync_api=existingGraphQLApi
|
|
70
|
-
)
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
Java
|
|
74
|
-
|
|
75
|
-
```java
|
|
76
|
-
import software.constructs.Construct;
|
|
77
|
-
|
|
78
|
-
import software.amazon.awscdk.Stack;
|
|
79
|
-
import software.amazon.awscdk.StackProps;
|
|
80
|
-
import software.amazon.awsconstructs.services.wafwebaclappsync.*;
|
|
81
|
-
|
|
82
|
-
// Use an existing AppSync API
|
|
83
|
-
final existingGraphQLApi = previouslyCreatedApi
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
// This construct can only be attached to a configured AWS AppSync API.
|
|
87
|
-
new WafwebaclToAppsync(this, "test-wafwebacl-appsync", new WafwebaclToAppsyncProps.Builder()
|
|
88
|
-
.existingAppsyncApi(existingGraphQLApi)
|
|
89
|
-
.build());
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
## Pattern Construct Props
|
|
93
|
-
|
|
94
|
-
| **Name** | **Type** | **Description** |
|
|
95
|
-
| :----------------- | :---------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
96
|
-
| existingAppsyncApi | [`appsync.CfnGraphQLApi`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appsync.CfnGraphQLApi.html) | The existing Appsync CfnGraphQLApi object that will be protected with the WAF web ACL. _Note that a WAF web ACL can only be added to a configured AppSync API, so this construct only accepts an existing CfnGraphQLApi and does not accept CfnGraphQLApiProps._ |
|
|
97
|
-
| existingWebaclObj? | [`waf.CfnWebACL`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_waf.CfnWebACL.html) | Existing instance of a WAF web ACL, an error will occur if this and props is set. |
|
|
98
|
-
| webaclProps? | [`waf.CfnWebACLProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_waf.CfnWebACLProps.html) | Optional user-provided props to override the default props for the AWS WAF web ACL. To use a different collection of managed rule sets, specify a new rules property. Use our [`wrapManagedRuleSet(managedGroupName: string, vendorName: string, priority: number)`](../core/lib/waf-defaults.ts) function from core to create an array entry from each desired managed rule set. |
|
|
99
|
-
|
|
100
|
-
## Pattern Properties
|
|
101
|
-
|
|
102
|
-
| **Name** | **Type** | **Description** |
|
|
103
|
-
| :--------- | :---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
|
|
104
|
-
| webacl | [`waf.CfnWebACL`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_waf.CfnWebACL.html) | Returns an instance of the waf.CfnWebACL created by the construct. |
|
|
105
|
-
| appsyncApi | [`appsync.CfnGraphQLApi`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appsync.CfnGraphQLApi.html) | Returns an instance of the CfnGraphQLApi used by the pattern. |
|
|
106
|
-
|
|
107
|
-
## Default settings
|
|
108
|
-
|
|
109
|
-
Out of the box implementation of the Construct without any override will set the following defaults:
|
|
110
|
-
|
|
111
|
-
### AWS WAF
|
|
112
|
-
|
|
113
|
-
- Deploy a WAF web ACL with 7 [AWS managed rule groups](https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-list.html).
|
|
114
|
-
|
|
115
|
-
- AWSManagedRulesBotControlRuleSet
|
|
116
|
-
- AWSManagedRulesKnownBadInputsRuleSet
|
|
117
|
-
- AWSManagedRulesCommonRuleSet
|
|
118
|
-
- AWSManagedRulesAnonymousIpList
|
|
119
|
-
- AWSManagedRulesAmazonIpReputationList
|
|
120
|
-
- AWSManagedRulesAdminProtectionRuleSet
|
|
121
|
-
- AWSManagedRulesSQLiRuleSet
|
|
122
|
-
|
|
123
|
-
_Note that the default rules can be replaced by specifying the rules property of CfnWebACLProps_
|
|
124
|
-
|
|
125
|
-
- Send metrics to Amazon CloudWatch
|
|
126
|
-
|
|
127
|
-
### AppSync API
|
|
128
|
-
|
|
129
|
-
- User provided AppSync graphql API object is used as-is
|
|
130
|
-
|
|
131
|
-
## Architecture
|
|
132
|
-
|
|
133
|
-

|
|
134
|
-
|
|
135
|
-
---
|
|
136
|
-
|
|
137
|
-
© Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
1
|
+
Documentation for this pattern can be found [here](https://github.com/awslabs/aws-solutions-constructs/blob/main/source/patterns/%40aws-solutions-constructs/aws-wafwebacl-appsync/README.adoc)
|
package/lib/index.js
CHANGED
|
@@ -51,5 +51,5 @@ class WafwebaclToAppsync extends constructs_1.Construct {
|
|
|
51
51
|
}
|
|
52
52
|
exports.WafwebaclToAppsync = WafwebaclToAppsync;
|
|
53
53
|
_a = JSII_RTTI_SYMBOL_1;
|
|
54
|
-
WafwebaclToAppsync[_a] = { fqn: "@aws-solutions-constructs/aws-wafwebacl-appsync.WafwebaclToAppsync", version: "2.85.
|
|
54
|
+
WafwebaclToAppsync[_a] = { fqn: "@aws-solutions-constructs/aws-wafwebacl-appsync.WafwebaclToAppsync", version: "2.85.3" };
|
|
55
55
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBOzs7Ozs7Ozs7OztHQVdHO0FBRUgsVUFBVTtBQUNWLDZDQUE2QztBQUU3QywyREFBMkQ7QUFDM0Qsd0ZBQXdGO0FBQ3hGLDJDQUF1QztBQXNCdkM7O0dBRUc7QUFDSCxNQUFhLGtCQUFtQixTQUFRLHNCQUFTO0lBRy9DOzs7Ozs7T0FNRztJQUNILFlBQVksS0FBZ0IsRUFBRSxFQUFVLEVBQUUsS0FBOEI7UUFDdEUsS0FBSyxDQUFDLEtBQUssRUFBRSxFQUFFLENBQUMsQ0FBQztRQUNqQixRQUFRLENBQUMsbUJBQW1CLENBQUMsS0FBSyxDQUFDLENBQUM7UUFFcEMsb0JBQW9CO1FBQ3BCLElBQUksQ0FBQyxNQUFNLEdBQUcsUUFBUSxDQUFDLFdBQVcsQ0FBQyxJQUFJLEVBQUUsVUFBVSxFQUFFO1lBQ25ELGlCQUFpQixFQUFFLEtBQUss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jaWF0aW9uUHJvcHMpOyAvLyBOT1NPTkFSXG5cbiAgICB0aGlzLmFwcHN5bmNBcGkgPSBwcm9wcy5leGlzdGluZ0FwcHN5bmNBcGk7XG4gIH1cbn1cbiJdfQ==
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-solutions-constructs/aws-wafwebacl-appsync",
|
|
3
|
-
"version": "2.85.
|
|
3
|
+
"version": "2.85.3",
|
|
4
4
|
"description": "CDK constructs for defining an AWS web WAF connected to an AWS AppSync API.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -22,12 +22,13 @@
|
|
|
22
22
|
"test": "jest --coverage",
|
|
23
23
|
"clean": "tsc -b --clean",
|
|
24
24
|
"watch": "tsc -b -w",
|
|
25
|
+
"asciidoc": "asciidoctor --failure-level WARNING -o /dev/null README.adoc",
|
|
25
26
|
"integ": "integ-runner --update-on-failed",
|
|
26
27
|
"integ-assert": "integ-runner",
|
|
27
28
|
"integ-no-clean": "integ-runner --update-on-failed --no-clean",
|
|
28
29
|
"jsii": "jsii",
|
|
29
30
|
"jsii-pacmak": "jsii-pacmak",
|
|
30
|
-
"build+lint+test": "npm run jsii && npm run lint && npm test && npm run integ-assert",
|
|
31
|
+
"build+lint+test": "npm run jsii && npm run lint && npm run asciidoc && npm test && npm run integ-assert",
|
|
31
32
|
"blt": "npm run build+lint+test",
|
|
32
33
|
"snapshot-update": "npm run jsii && npm test -- -u && npm run integ-assert"
|
|
33
34
|
},
|
|
@@ -54,7 +55,7 @@
|
|
|
54
55
|
}
|
|
55
56
|
},
|
|
56
57
|
"dependencies": {
|
|
57
|
-
"@aws-solutions-constructs/core": "2.85.
|
|
58
|
+
"@aws-solutions-constructs/core": "2.85.3",
|
|
58
59
|
"constructs": "^10.0.0"
|
|
59
60
|
},
|
|
60
61
|
"devDependencies": {
|
|
@@ -78,7 +79,7 @@
|
|
|
78
79
|
]
|
|
79
80
|
},
|
|
80
81
|
"peerDependencies": {
|
|
81
|
-
"@aws-solutions-constructs/core": "2.85.
|
|
82
|
+
"@aws-solutions-constructs/core": "2.85.3",
|
|
82
83
|
"aws-cdk-lib": "^2.193.0",
|
|
83
84
|
"constructs": "^10.0.0"
|
|
84
85
|
},
|
|
File without changes
|