Skip to content

Commit 900b27c

Browse files
author
AWS
committed
AWS Amplify Update: Added WAF Configuration to Amplify Apps
1 parent b9e72dd commit 900b27c

File tree

2 files changed

+58
-8
lines changed

2 files changed

+58
-8
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Amplify",
4+
"contributor": "",
5+
"description": "Added WAF Configuration to Amplify Apps"
6+
}

services/amplify/src/main/resources/codegen-resources/service-2.json

Lines changed: 52 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -683,11 +683,11 @@
683683
},
684684
"createTime":{
685685
"shape":"CreateTime",
686-
"documentation":"<p>Creates a date and time for the Amplify app. </p>"
686+
"documentation":"<p>A timestamp of when Amplify created the application.</p>"
687687
},
688688
"updateTime":{
689689
"shape":"UpdateTime",
690-
"documentation":"<p>Updates the date and time for the Amplify app. </p>"
690+
"documentation":"<p>A timestamp of when Amplify updated the application.</p>"
691691
},
692692
"iamServiceRoleArn":{
693693
"shape":"ServiceRoleArn",
@@ -752,6 +752,14 @@
752752
"cacheConfig":{
753753
"shape":"CacheConfig",
754754
"documentation":"<p>The cache configuration for the Amplify app. If you don't specify the cache configuration <code>type</code>, Amplify uses the default <code>AMPLIFY_MANAGED</code> setting.</p>"
755+
},
756+
"webhookCreateTime":{
757+
"shape":"webhookCreateTime",
758+
"documentation":"<p>A timestamp of when Amplify created the webhook in your Git repository.</p>"
759+
},
760+
"wafConfiguration":{
761+
"shape":"WafConfiguration",
762+
"documentation":"<p>Describes the Firewall configuration for the Amplify app. Firewall support enables you to protect your hosted applications with a direct integration with WAF.</p>"
755763
}
756764
},
757765
"documentation":"<p>Represents the different branches of a repository for building, deploying, and hosting an Amplify app. </p>"
@@ -1012,11 +1020,11 @@
10121020
},
10131021
"createTime":{
10141022
"shape":"CreateTime",
1015-
"documentation":"<p> The creation date and time for a branch that is part of an Amplify app. </p>"
1023+
"documentation":"<p>A timestamp of when Amplify created the branch.</p>"
10161024
},
10171025
"updateTime":{
10181026
"shape":"UpdateTime",
1019-
"documentation":"<p> The last updated date and time for a branch that is part of an Amplify app. </p>"
1027+
"documentation":"<p>A timestamp for the last updated time for a branch.</p>"
10201028
},
10211029
"environmentVariables":{
10221030
"shape":"EnvironmentVariables",
@@ -2266,6 +2274,7 @@
22662274
"JobStatus":{
22672275
"type":"string",
22682276
"enum":[
2277+
"CREATED",
22692278
"PENDING",
22702279
"PROVISIONING",
22712280
"RUNNING",
@@ -2310,7 +2319,7 @@
23102319
},
23112320
"commitTime":{
23122321
"shape":"CommitTime",
2313-
"documentation":"<p> The commit date and time for the job. </p>"
2322+
"documentation":"<p>The commit date and time for the job. </p>"
23142323
},
23152324
"startTime":{
23162325
"shape":"StartTime",
@@ -3540,6 +3549,40 @@
35403549
"max":1000
35413550
},
35423551
"Verified":{"type":"boolean"},
3552+
"WafConfiguration":{
3553+
"type":"structure",
3554+
"members":{
3555+
"webAclArn":{
3556+
"shape":"WebAclArn",
3557+
"documentation":"<p>The Amazon Resource Name (ARN) for the web ACL associated with an Amplify app.</p>"
3558+
},
3559+
"wafStatus":{
3560+
"shape":"WafStatus",
3561+
"documentation":"<p>The status of the process to associate or disassociate a web ACL to an Amplify app.</p>"
3562+
},
3563+
"statusReason":{
3564+
"shape":"StatusReason",
3565+
"documentation":"<p>The reason for the current status of the Firewall configuration.</p>"
3566+
}
3567+
},
3568+
"documentation":"<p>Describes the Firewall configuration for a hosted Amplify application. Firewall support enables you to protect your web applications with a direct integration with WAF. For more information about using WAF protections for an Amplify application, see <a href=\"https://docs.aws.amazon.com/amplify/latest/userguide/WAF-integration.html\">Firewall support for hosted sites</a> in the <i>Amplify User Guide</i>. </p>"
3569+
},
3570+
"WafStatus":{
3571+
"type":"string",
3572+
"enum":[
3573+
"ASSOCIATING",
3574+
"ASSOCIATION_FAILED",
3575+
"ASSOCIATION_SUCCESS",
3576+
"DISASSOCIATING",
3577+
"DISASSOCIATION_FAILED"
3578+
]
3579+
},
3580+
"WebAclArn":{
3581+
"type":"string",
3582+
"max":512,
3583+
"min":0,
3584+
"pattern":"^arn:aws:wafv2:.*"
3585+
},
35433586
"Webhook":{
35443587
"type":"structure",
35453588
"required":[
@@ -3574,11 +3617,11 @@
35743617
},
35753618
"createTime":{
35763619
"shape":"CreateTime",
3577-
"documentation":"<p>The create date and time for a webhook. </p>"
3620+
"documentation":"<p>A timestamp of when Amplify created the webhook in your Git repository.</p>"
35783621
},
35793622
"updateTime":{
35803623
"shape":"UpdateTime",
3581-
"documentation":"<p>Updates the date and time for a webhook. </p>"
3624+
"documentation":"<p>A timestamp of when Amplify updated the webhook in your Git repository.</p>"
35823625
}
35833626
},
35843627
"documentation":"<p>Describes a webhook that connects repository events to an Amplify app. </p>"
@@ -3599,7 +3642,8 @@
35993642
"Webhooks":{
36003643
"type":"list",
36013644
"member":{"shape":"Webhook"}
3602-
}
3645+
},
3646+
"webhookCreateTime":{"type":"timestamp"}
36033647
},
36043648
"documentation":"<p>Amplify enables developers to develop and deploy cloud-powered mobile and web apps. Amplify Hosting provides a continuous delivery and hosting service for web applications. For more information, see the <a href=\"https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html\">Amplify Hosting User Guide</a>. The Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation for client app development. For more information, see the <a href=\"https://docs.amplify.aws/\">Amplify Framework.</a> </p>"
36053649
}

0 commit comments

Comments
 (0)