1{ 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2020-11-12", 5 "endpointPrefix":"network-firewall", 6 "jsonVersion":"1.0", 7 "protocol":"json", 8 "serviceAbbreviation":"Network Firewall", 9 "serviceFullName":"AWS Network Firewall", 10 "serviceId":"Network Firewall", 11 "signatureVersion":"v4", 12 "signingName":"network-firewall", 13 "targetPrefix":"NetworkFirewall_20201112", 14 "uid":"network-firewall-2020-11-12" 15 }, 16 "operations":{ 17 "AssociateFirewallPolicy":{ 18 "name":"AssociateFirewallPolicy", 19 "http":{ 20 "method":"POST", 21 "requestUri":"/" 22 }, 23 "input":{"shape":"AssociateFirewallPolicyRequest"}, 24 "output":{"shape":"AssociateFirewallPolicyResponse"}, 25 "errors":[ 26 {"shape":"InvalidRequestException"}, 27 {"shape":"InternalServerError"}, 28 {"shape":"ResourceNotFoundException"}, 29 {"shape":"ThrottlingException"}, 30 {"shape":"InvalidTokenException"}, 31 {"shape":"InvalidOperationException"} 32 ], 33 "documentation":"<p>Associates a <a>FirewallPolicy</a> to a <a>Firewall</a>. </p> <p>A firewall policy defines how to monitor and manage your VPC network traffic, using a collection of inspection rule groups and other settings. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls. </p>" 34 }, 35 "AssociateSubnets":{ 36 "name":"AssociateSubnets", 37 "http":{ 38 "method":"POST", 39 "requestUri":"/" 40 }, 41 "input":{"shape":"AssociateSubnetsRequest"}, 42 "output":{"shape":"AssociateSubnetsResponse"}, 43 "errors":[ 44 {"shape":"InvalidRequestException"}, 45 {"shape":"InternalServerError"}, 46 {"shape":"ResourceNotFoundException"}, 47 {"shape":"ThrottlingException"}, 48 {"shape":"InvalidTokenException"}, 49 {"shape":"InvalidOperationException"}, 50 {"shape":"InsufficientCapacityException"} 51 ], 52 "documentation":"<p>Associates the specified subnets in the Amazon VPC to the firewall. You can specify one subnet for each of the Availability Zones that the VPC spans. </p> <p>This request creates an AWS Network Firewall firewall endpoint in each of the subnets. To enable the firewall's protections, you must also modify the VPC's route tables for each subnet's Availability Zone, to redirect the traffic that's coming into and going out of the zone through the firewall endpoint. </p>" 53 }, 54 "CreateFirewall":{ 55 "name":"CreateFirewall", 56 "http":{ 57 "method":"POST", 58 "requestUri":"/" 59 }, 60 "input":{"shape":"CreateFirewallRequest"}, 61 "output":{"shape":"CreateFirewallResponse"}, 62 "errors":[ 63 {"shape":"InvalidRequestException"}, 64 {"shape":"LimitExceededException"}, 65 {"shape":"InternalServerError"}, 66 {"shape":"ThrottlingException"}, 67 {"shape":"InsufficientCapacityException"}, 68 {"shape":"InvalidOperationException"} 69 ], 70 "documentation":"<p>Creates an AWS Network Firewall <a>Firewall</a> and accompanying <a>FirewallStatus</a> for a VPC. </p> <p>The firewall defines the configuration settings for an AWS Network Firewall firewall. The settings that you can define at creation include the firewall policy, the subnets in your VPC to use for the firewall endpoints, and any tags that are attached to the firewall AWS resource. </p> <p>After you create a firewall, you can provide additional settings, like the logging configuration. </p> <p>To update the settings for a firewall, you use the operations that apply to the settings themselves, for example <a>UpdateLoggingConfiguration</a>, <a>AssociateSubnets</a>, and <a>UpdateFirewallDeleteProtection</a>. </p> <p>To manage a firewall's tags, use the standard AWS resource tagging operations, <a>ListTagsForResource</a>, <a>TagResource</a>, and <a>UntagResource</a>.</p> <p>To retrieve information about firewalls, use <a>ListFirewalls</a> and <a>DescribeFirewall</a>.</p>" 71 }, 72 "CreateFirewallPolicy":{ 73 "name":"CreateFirewallPolicy", 74 "http":{ 75 "method":"POST", 76 "requestUri":"/" 77 }, 78 "input":{"shape":"CreateFirewallPolicyRequest"}, 79 "output":{"shape":"CreateFirewallPolicyResponse"}, 80 "errors":[ 81 {"shape":"LimitExceededException"}, 82 {"shape":"InvalidRequestException"}, 83 {"shape":"ThrottlingException"}, 84 {"shape":"InternalServerError"}, 85 {"shape":"InsufficientCapacityException"} 86 ], 87 "documentation":"<p>Creates the firewall policy for the firewall according to the specifications. </p> <p>An AWS Network Firewall firewall policy defines the behavior of a firewall, in a collection of stateless and stateful rule groups and other settings. You can use one firewall policy for multiple firewalls. </p>" 88 }, 89 "CreateRuleGroup":{ 90 "name":"CreateRuleGroup", 91 "http":{ 92 "method":"POST", 93 "requestUri":"/" 94 }, 95 "input":{"shape":"CreateRuleGroupRequest"}, 96 "output":{"shape":"CreateRuleGroupResponse"}, 97 "errors":[ 98 {"shape":"LimitExceededException"}, 99 {"shape":"InvalidRequestException"}, 100 {"shape":"ThrottlingException"}, 101 {"shape":"InternalServerError"}, 102 {"shape":"InsufficientCapacityException"} 103 ], 104 "documentation":"<p>Creates the specified stateless or stateful rule group, which includes the rules for network traffic inspection, a capacity setting, and tags. </p> <p>You provide your rule group specification in your request using either <code>RuleGroup</code> or <code>Rules</code>.</p>" 105 }, 106 "DeleteFirewall":{ 107 "name":"DeleteFirewall", 108 "http":{ 109 "method":"POST", 110 "requestUri":"/" 111 }, 112 "input":{"shape":"DeleteFirewallRequest"}, 113 "output":{"shape":"DeleteFirewallResponse"}, 114 "errors":[ 115 {"shape":"InvalidRequestException"}, 116 {"shape":"InternalServerError"}, 117 {"shape":"ResourceNotFoundException"}, 118 {"shape":"ThrottlingException"}, 119 {"shape":"UnsupportedOperationException"}, 120 {"shape":"InvalidOperationException"} 121 ], 122 "documentation":"<p>Deletes the specified <a>Firewall</a> and its <a>FirewallStatus</a>. This operation requires the firewall's <code>DeleteProtection</code> flag to be <code>FALSE</code>. You can't revert this operation. </p> <p>You can check whether a firewall is in use by reviewing the route tables for the Availability Zones where you have firewall subnet mappings. Retrieve the subnet mappings by calling <a>DescribeFirewall</a>. You define and update the route tables through Amazon VPC. As needed, update the route tables for the zones to remove the firewall endpoints. When the route tables no longer use the firewall endpoints, you can remove the firewall safely.</p> <p>To delete a firewall, remove the delete protection if you need to using <a>UpdateFirewallDeleteProtection</a>, then delete the firewall by calling <a>DeleteFirewall</a>. </p>" 123 }, 124 "DeleteFirewallPolicy":{ 125 "name":"DeleteFirewallPolicy", 126 "http":{ 127 "method":"POST", 128 "requestUri":"/" 129 }, 130 "input":{"shape":"DeleteFirewallPolicyRequest"}, 131 "output":{"shape":"DeleteFirewallPolicyResponse"}, 132 "errors":[ 133 {"shape":"InvalidRequestException"}, 134 {"shape":"ResourceNotFoundException"}, 135 {"shape":"ThrottlingException"}, 136 {"shape":"InternalServerError"}, 137 {"shape":"UnsupportedOperationException"}, 138 {"shape":"InvalidOperationException"} 139 ], 140 "documentation":"<p>Deletes the specified <a>FirewallPolicy</a>. </p>" 141 }, 142 "DeleteResourcePolicy":{ 143 "name":"DeleteResourcePolicy", 144 "http":{ 145 "method":"POST", 146 "requestUri":"/" 147 }, 148 "input":{"shape":"DeleteResourcePolicyRequest"}, 149 "output":{"shape":"DeleteResourcePolicyResponse"}, 150 "errors":[ 151 {"shape":"InvalidRequestException"}, 152 {"shape":"InternalServerError"}, 153 {"shape":"ResourceNotFoundException"}, 154 {"shape":"ThrottlingException"}, 155 {"shape":"InvalidResourcePolicyException"} 156 ], 157 "documentation":"<p>Deletes a resource policy that you created in a <a>PutResourcePolicy</a> request. </p>" 158 }, 159 "DeleteRuleGroup":{ 160 "name":"DeleteRuleGroup", 161 "http":{ 162 "method":"POST", 163 "requestUri":"/" 164 }, 165 "input":{"shape":"DeleteRuleGroupRequest"}, 166 "output":{"shape":"DeleteRuleGroupResponse"}, 167 "errors":[ 168 {"shape":"InvalidRequestException"}, 169 {"shape":"ResourceNotFoundException"}, 170 {"shape":"ThrottlingException"}, 171 {"shape":"InternalServerError"}, 172 {"shape":"UnsupportedOperationException"}, 173 {"shape":"InvalidOperationException"} 174 ], 175 "documentation":"<p>Deletes the specified <a>RuleGroup</a>. </p>" 176 }, 177 "DescribeFirewall":{ 178 "name":"DescribeFirewall", 179 "http":{ 180 "method":"POST", 181 "requestUri":"/" 182 }, 183 "input":{"shape":"DescribeFirewallRequest"}, 184 "output":{"shape":"DescribeFirewallResponse"}, 185 "errors":[ 186 {"shape":"InvalidRequestException"}, 187 {"shape":"InternalServerError"}, 188 {"shape":"ResourceNotFoundException"}, 189 {"shape":"ThrottlingException"} 190 ], 191 "documentation":"<p>Returns the data objects for the specified firewall. </p>" 192 }, 193 "DescribeFirewallPolicy":{ 194 "name":"DescribeFirewallPolicy", 195 "http":{ 196 "method":"POST", 197 "requestUri":"/" 198 }, 199 "input":{"shape":"DescribeFirewallPolicyRequest"}, 200 "output":{"shape":"DescribeFirewallPolicyResponse"}, 201 "errors":[ 202 {"shape":"InvalidRequestException"}, 203 {"shape":"ResourceNotFoundException"}, 204 {"shape":"ThrottlingException"}, 205 {"shape":"InternalServerError"} 206 ], 207 "documentation":"<p>Returns the data objects for the specified firewall policy. </p>" 208 }, 209 "DescribeLoggingConfiguration":{ 210 "name":"DescribeLoggingConfiguration", 211 "http":{ 212 "method":"POST", 213 "requestUri":"/" 214 }, 215 "input":{"shape":"DescribeLoggingConfigurationRequest"}, 216 "output":{"shape":"DescribeLoggingConfigurationResponse"}, 217 "errors":[ 218 {"shape":"InvalidRequestException"}, 219 {"shape":"InternalServerError"}, 220 {"shape":"ResourceNotFoundException"}, 221 {"shape":"ThrottlingException"} 222 ], 223 "documentation":"<p>Returns the logging configuration for the specified firewall. </p>" 224 }, 225 "DescribeResourcePolicy":{ 226 "name":"DescribeResourcePolicy", 227 "http":{ 228 "method":"POST", 229 "requestUri":"/" 230 }, 231 "input":{"shape":"DescribeResourcePolicyRequest"}, 232 "output":{"shape":"DescribeResourcePolicyResponse"}, 233 "errors":[ 234 {"shape":"InvalidRequestException"}, 235 {"shape":"InternalServerError"}, 236 {"shape":"ResourceNotFoundException"}, 237 {"shape":"ThrottlingException"} 238 ], 239 "documentation":"<p>Retrieves a resource policy that you created in a <a>PutResourcePolicy</a> request. </p>" 240 }, 241 "DescribeRuleGroup":{ 242 "name":"DescribeRuleGroup", 243 "http":{ 244 "method":"POST", 245 "requestUri":"/" 246 }, 247 "input":{"shape":"DescribeRuleGroupRequest"}, 248 "output":{"shape":"DescribeRuleGroupResponse"}, 249 "errors":[ 250 {"shape":"InvalidRequestException"}, 251 {"shape":"ResourceNotFoundException"}, 252 {"shape":"ThrottlingException"}, 253 {"shape":"InternalServerError"} 254 ], 255 "documentation":"<p>Returns the data objects for the specified rule group. </p>" 256 }, 257 "DisassociateSubnets":{ 258 "name":"DisassociateSubnets", 259 "http":{ 260 "method":"POST", 261 "requestUri":"/" 262 }, 263 "input":{"shape":"DisassociateSubnetsRequest"}, 264 "output":{"shape":"DisassociateSubnetsResponse"}, 265 "errors":[ 266 {"shape":"InvalidRequestException"}, 267 {"shape":"InternalServerError"}, 268 {"shape":"ResourceNotFoundException"}, 269 {"shape":"ThrottlingException"}, 270 {"shape":"InvalidTokenException"}, 271 {"shape":"InvalidOperationException"} 272 ], 273 "documentation":"<p>Removes the specified subnet associations from the firewall. This removes the firewall endpoints from the subnets and removes any network filtering protections that the endpoints were providing. </p>" 274 }, 275 "ListFirewallPolicies":{ 276 "name":"ListFirewallPolicies", 277 "http":{ 278 "method":"POST", 279 "requestUri":"/" 280 }, 281 "input":{"shape":"ListFirewallPoliciesRequest"}, 282 "output":{"shape":"ListFirewallPoliciesResponse"}, 283 "errors":[ 284 {"shape":"InvalidRequestException"}, 285 {"shape":"ThrottlingException"}, 286 {"shape":"InternalServerError"} 287 ], 288 "documentation":"<p>Retrieves the metadata for the firewall policies that you have defined. Depending on your setting for max results and the number of firewall policies, a single call might not return the full list. </p>" 289 }, 290 "ListFirewalls":{ 291 "name":"ListFirewalls", 292 "http":{ 293 "method":"POST", 294 "requestUri":"/" 295 }, 296 "input":{"shape":"ListFirewallsRequest"}, 297 "output":{"shape":"ListFirewallsResponse"}, 298 "errors":[ 299 {"shape":"InvalidRequestException"}, 300 {"shape":"InternalServerError"}, 301 {"shape":"ThrottlingException"} 302 ], 303 "documentation":"<p>Retrieves the metadata for the firewalls that you have defined. If you provide VPC identifiers in your request, this returns only the firewalls for those VPCs.</p> <p>Depending on your setting for max results and the number of firewalls, a single call might not return the full list. </p>" 304 }, 305 "ListRuleGroups":{ 306 "name":"ListRuleGroups", 307 "http":{ 308 "method":"POST", 309 "requestUri":"/" 310 }, 311 "input":{"shape":"ListRuleGroupsRequest"}, 312 "output":{"shape":"ListRuleGroupsResponse"}, 313 "errors":[ 314 {"shape":"InvalidRequestException"}, 315 {"shape":"ThrottlingException"}, 316 {"shape":"InternalServerError"} 317 ], 318 "documentation":"<p>Retrieves the metadata for the rule groups that you have defined. Depending on your setting for max results and the number of rule groups, a single call might not return the full list. </p>" 319 }, 320 "ListTagsForResource":{ 321 "name":"ListTagsForResource", 322 "http":{ 323 "method":"POST", 324 "requestUri":"/" 325 }, 326 "input":{"shape":"ListTagsForResourceRequest"}, 327 "output":{"shape":"ListTagsForResourceResponse"}, 328 "errors":[ 329 {"shape":"ResourceNotFoundException"}, 330 {"shape":"InvalidRequestException"} 331 ], 332 "documentation":"<p>Retrieves the tags associated with the specified resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to \"customer\" and the value to the customer name or ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a resource.</p> <p>You can tag the AWS resources that you manage through AWS Network Firewall: firewalls, firewall policies, and rule groups. </p>" 333 }, 334 "PutResourcePolicy":{ 335 "name":"PutResourcePolicy", 336 "http":{ 337 "method":"POST", 338 "requestUri":"/" 339 }, 340 "input":{"shape":"PutResourcePolicyRequest"}, 341 "output":{"shape":"PutResourcePolicyResponse"}, 342 "errors":[ 343 {"shape":"InvalidRequestException"}, 344 {"shape":"InternalServerError"}, 345 {"shape":"ResourceNotFoundException"}, 346 {"shape":"ThrottlingException"}, 347 {"shape":"InvalidResourcePolicyException"} 348 ], 349 "documentation":"<p>Creates or updates an AWS Identity and Access Management policy for your rule group or firewall policy. Use this to share rule groups and firewall policies between accounts. This operation works in conjunction with the AWS Resource Access Manager (RAM) service to manage resource sharing for Network Firewall. </p> <p>Use this operation to create or update a resource policy for your rule group or firewall policy. In the policy, you specify the accounts that you want to share the resource with and the operations that you want the accounts to be able to perform. </p> <p>When you add an account in the resource policy, you then run the following Resource Access Manager (RAM) operations to access and accept the shared rule group or firewall policy. </p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/ram/latest/APIReference/API_GetResourceShareInvitations.html\">GetResourceShareInvitations</a> - Returns the Amazon Resource Names (ARNs) of the resource share invitations. </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/ram/latest/APIReference/API_AcceptResourceShareInvitation.html\">AcceptResourceShareInvitation</a> - Accepts the share invitation for a specified resource share. </p> </li> </ul> <p>For additional information about resource sharing using RAM, see <a href=\"https://docs.aws.amazon.com/ram/latest/userguide/what-is.html\">AWS Resource Access Manager User Guide</a>.</p>" 350 }, 351 "TagResource":{ 352 "name":"TagResource", 353 "http":{ 354 "method":"POST", 355 "requestUri":"/" 356 }, 357 "input":{"shape":"TagResourceRequest"}, 358 "output":{"shape":"TagResourceResponse"}, 359 "errors":[ 360 {"shape":"ResourceNotFoundException"}, 361 {"shape":"InvalidRequestException"} 362 ], 363 "documentation":"<p>Adds the specified tags to the specified resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to \"customer\" and the value to the customer name or ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a resource.</p> <p>You can tag the AWS resources that you manage through AWS Network Firewall: firewalls, firewall policies, and rule groups. </p>" 364 }, 365 "UntagResource":{ 366 "name":"UntagResource", 367 "http":{ 368 "method":"POST", 369 "requestUri":"/" 370 }, 371 "input":{"shape":"UntagResourceRequest"}, 372 "output":{"shape":"UntagResourceResponse"}, 373 "errors":[ 374 {"shape":"ResourceNotFoundException"}, 375 {"shape":"InvalidRequestException"} 376 ], 377 "documentation":"<p>Removes the tags with the specified keys from the specified resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to \"customer\" and the value to the customer name or ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a resource.</p> <p>You can manage tags for the AWS resources that you manage through AWS Network Firewall: firewalls, firewall policies, and rule groups. </p>" 378 }, 379 "UpdateFirewallDeleteProtection":{ 380 "name":"UpdateFirewallDeleteProtection", 381 "http":{ 382 "method":"POST", 383 "requestUri":"/" 384 }, 385 "input":{"shape":"UpdateFirewallDeleteProtectionRequest"}, 386 "output":{"shape":"UpdateFirewallDeleteProtectionResponse"}, 387 "errors":[ 388 {"shape":"InvalidRequestException"}, 389 {"shape":"InternalServerError"}, 390 {"shape":"ResourceNotFoundException"}, 391 {"shape":"ThrottlingException"}, 392 {"shape":"InvalidTokenException"}, 393 {"shape":"ResourceOwnerCheckException"} 394 ], 395 "documentation":"<p>Modifies the flag, <code>DeleteProtection</code>, which indicates whether it is possible to delete the firewall. If the flag is set to <code>TRUE</code>, the firewall is protected against deletion. This setting helps protect against accidentally deleting a firewall that's in use. </p>" 396 }, 397 "UpdateFirewallDescription":{ 398 "name":"UpdateFirewallDescription", 399 "http":{ 400 "method":"POST", 401 "requestUri":"/" 402 }, 403 "input":{"shape":"UpdateFirewallDescriptionRequest"}, 404 "output":{"shape":"UpdateFirewallDescriptionResponse"}, 405 "errors":[ 406 {"shape":"InvalidRequestException"}, 407 {"shape":"InternalServerError"}, 408 {"shape":"ResourceNotFoundException"}, 409 {"shape":"ThrottlingException"}, 410 {"shape":"InvalidTokenException"} 411 ], 412 "documentation":"<p>Modifies the description for the specified firewall. Use the description to help you identify the firewall when you're working with it. </p>" 413 }, 414 "UpdateFirewallPolicy":{ 415 "name":"UpdateFirewallPolicy", 416 "http":{ 417 "method":"POST", 418 "requestUri":"/" 419 }, 420 "input":{"shape":"UpdateFirewallPolicyRequest"}, 421 "output":{"shape":"UpdateFirewallPolicyResponse"}, 422 "errors":[ 423 {"shape":"InvalidRequestException"}, 424 {"shape":"ResourceNotFoundException"}, 425 {"shape":"ThrottlingException"}, 426 {"shape":"InternalServerError"}, 427 {"shape":"InvalidTokenException"} 428 ], 429 "documentation":"<p>Updates the properties of the specified firewall policy.</p>" 430 }, 431 "UpdateFirewallPolicyChangeProtection":{ 432 "name":"UpdateFirewallPolicyChangeProtection", 433 "http":{ 434 "method":"POST", 435 "requestUri":"/" 436 }, 437 "input":{"shape":"UpdateFirewallPolicyChangeProtectionRequest"}, 438 "output":{"shape":"UpdateFirewallPolicyChangeProtectionResponse"}, 439 "errors":[ 440 {"shape":"InvalidRequestException"}, 441 {"shape":"InternalServerError"}, 442 {"shape":"ResourceNotFoundException"}, 443 {"shape":"ThrottlingException"}, 444 {"shape":"InvalidTokenException"}, 445 {"shape":"ResourceOwnerCheckException"} 446 ], 447 "documentation":"<p/>" 448 }, 449 "UpdateLoggingConfiguration":{ 450 "name":"UpdateLoggingConfiguration", 451 "http":{ 452 "method":"POST", 453 "requestUri":"/" 454 }, 455 "input":{"shape":"UpdateLoggingConfigurationRequest"}, 456 "output":{"shape":"UpdateLoggingConfigurationResponse"}, 457 "errors":[ 458 {"shape":"InvalidRequestException"}, 459 {"shape":"InternalServerError"}, 460 {"shape":"ResourceNotFoundException"}, 461 {"shape":"ThrottlingException"}, 462 {"shape":"InvalidTokenException"}, 463 {"shape":"LogDestinationPermissionException"} 464 ], 465 "documentation":"<p>Sets the logging configuration for the specified firewall. </p> <p>To change the logging configuration, retrieve the <a>LoggingConfiguration</a> by calling <a>DescribeLoggingConfiguration</a>, then change it and provide the modified object to this update call. You must change the logging configuration one <a>LogDestinationConfig</a> at a time inside the retrieved <a>LoggingConfiguration</a> object. </p> <p>You can perform only one of the following actions in any call to <code>UpdateLoggingConfiguration</code>: </p> <ul> <li> <p>Create a new log destination object by adding a single <code>LogDestinationConfig</code> array element to <code>LogDestinationConfigs</code>.</p> </li> <li> <p>Delete a log destination object by removing a single <code>LogDestinationConfig</code> array element from <code>LogDestinationConfigs</code>.</p> </li> <li> <p>Change the <code>LogDestination</code> setting in a single <code>LogDestinationConfig</code> array element.</p> </li> </ul> <p>You can't change the <code>LogDestinationType</code> or <code>LogType</code> in a <code>LogDestinationConfig</code>. To change these settings, delete the existing <code>LogDestinationConfig</code> object and create a new one, using two separate calls to this update operation.</p>" 466 }, 467 "UpdateRuleGroup":{ 468 "name":"UpdateRuleGroup", 469 "http":{ 470 "method":"POST", 471 "requestUri":"/" 472 }, 473 "input":{"shape":"UpdateRuleGroupRequest"}, 474 "output":{"shape":"UpdateRuleGroupResponse"}, 475 "errors":[ 476 {"shape":"ResourceNotFoundException"}, 477 {"shape":"InvalidRequestException"}, 478 {"shape":"ThrottlingException"}, 479 {"shape":"InternalServerError"}, 480 {"shape":"InvalidTokenException"} 481 ], 482 "documentation":"<p>Updates the rule settings for the specified rule group. You use a rule group by reference in one or more firewall policies. When you modify a rule group, you modify all firewall policies that use the rule group. </p> <p>To update a rule group, first call <a>DescribeRuleGroup</a> to retrieve the current <a>RuleGroup</a> object, update the object as needed, and then provide the updated object to this call. </p>" 483 }, 484 "UpdateSubnetChangeProtection":{ 485 "name":"UpdateSubnetChangeProtection", 486 "http":{ 487 "method":"POST", 488 "requestUri":"/" 489 }, 490 "input":{"shape":"UpdateSubnetChangeProtectionRequest"}, 491 "output":{"shape":"UpdateSubnetChangeProtectionResponse"}, 492 "errors":[ 493 {"shape":"InvalidRequestException"}, 494 {"shape":"InternalServerError"}, 495 {"shape":"ResourceNotFoundException"}, 496 {"shape":"ThrottlingException"}, 497 {"shape":"InvalidTokenException"}, 498 {"shape":"ResourceOwnerCheckException"} 499 ], 500 "documentation":"<p/>" 501 } 502 }, 503 "shapes":{ 504 "ActionDefinition":{ 505 "type":"structure", 506 "members":{ 507 "PublishMetricAction":{ 508 "shape":"PublishMetricAction", 509 "documentation":"<p>Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet. This setting defines a CloudWatch dimension value to be published.</p> <p>You can pair this custom action with any of the standard stateless rule actions. For example, you could pair this in a rule action with the standard action that forwards the packet for stateful inspection. Then, when a packet matches the rule, Network Firewall publishes metrics for the packet and forwards it. </p>" 510 } 511 }, 512 "documentation":"<p>A custom action to use in stateless rule actions settings. This is used in <a>CustomAction</a>.</p>" 513 }, 514 "ActionName":{ 515 "type":"string", 516 "max":128, 517 "min":1, 518 "pattern":"^[a-zA-Z0-9]+$" 519 }, 520 "Address":{ 521 "type":"structure", 522 "required":["AddressDefinition"], 523 "members":{ 524 "AddressDefinition":{ 525 "shape":"AddressDefinition", 526 "documentation":"<p>Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4. </p> <p>Examples: </p> <ul> <li> <p>To configure Network Firewall to inspect for the IP address 192.0.2.44, specify <code>192.0.2.44/32</code>.</p> </li> <li> <p>To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify <code>192.0.2.0/24</code>.</p> </li> </ul> <p>For more information about CIDR notation, see the Wikipedia entry <a href=\"https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing\">Classless Inter-Domain Routing</a>.</p>" 527 } 528 }, 529 "documentation":"<p>A single IP address specification. This is used in the <a>MatchAttributes</a> source and destination specifications.</p>" 530 }, 531 "AddressDefinition":{ 532 "type":"string", 533 "max":255, 534 "min":1, 535 "pattern":"^([a-fA-F\\d:\\.]+($|/\\d{1,3}))$" 536 }, 537 "Addresses":{ 538 "type":"list", 539 "member":{"shape":"Address"} 540 }, 541 "AssociateFirewallPolicyRequest":{ 542 "type":"structure", 543 "required":["FirewallPolicyArn"], 544 "members":{ 545 "UpdateToken":{ 546 "shape":"UpdateToken", 547 "documentation":"<p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p> <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p> <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>" 548 }, 549 "FirewallArn":{ 550 "shape":"ResourceArn", 551 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 552 }, 553 "FirewallName":{ 554 "shape":"ResourceName", 555 "documentation":"<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 556 }, 557 "FirewallPolicyArn":{ 558 "shape":"ResourceArn", 559 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall policy.</p>" 560 } 561 } 562 }, 563 "AssociateFirewallPolicyResponse":{ 564 "type":"structure", 565 "members":{ 566 "FirewallArn":{ 567 "shape":"ResourceArn", 568 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall.</p>" 569 }, 570 "FirewallName":{ 571 "shape":"ResourceName", 572 "documentation":"<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>" 573 }, 574 "FirewallPolicyArn":{ 575 "shape":"ResourceArn", 576 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall policy.</p>" 577 }, 578 "UpdateToken":{ 579 "shape":"UpdateToken", 580 "documentation":"<p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p> <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p> <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>" 581 } 582 } 583 }, 584 "AssociateSubnetsRequest":{ 585 "type":"structure", 586 "required":["SubnetMappings"], 587 "members":{ 588 "UpdateToken":{ 589 "shape":"UpdateToken", 590 "documentation":"<p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p> <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p> <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>" 591 }, 592 "FirewallArn":{ 593 "shape":"ResourceArn", 594 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 595 }, 596 "FirewallName":{ 597 "shape":"ResourceName", 598 "documentation":"<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 599 }, 600 "SubnetMappings":{ 601 "shape":"SubnetMappings", 602 "documentation":"<p>The IDs of the subnets that you want to associate with the firewall. </p>" 603 } 604 } 605 }, 606 "AssociateSubnetsResponse":{ 607 "type":"structure", 608 "members":{ 609 "FirewallArn":{ 610 "shape":"ResourceArn", 611 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall.</p>" 612 }, 613 "FirewallName":{ 614 "shape":"ResourceName", 615 "documentation":"<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>" 616 }, 617 "SubnetMappings":{ 618 "shape":"SubnetMappings", 619 "documentation":"<p>The IDs of the subnets that are associated with the firewall. </p>" 620 }, 621 "UpdateToken":{ 622 "shape":"UpdateToken", 623 "documentation":"<p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p> <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p> <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>" 624 } 625 } 626 }, 627 "Attachment":{ 628 "type":"structure", 629 "members":{ 630 "SubnetId":{ 631 "shape":"AzSubnet", 632 "documentation":"<p>The unique identifier of the subnet that you've specified to be used for a firewall endpoint. </p>" 633 }, 634 "EndpointId":{ 635 "shape":"EndpointId", 636 "documentation":"<p>The identifier of the firewall endpoint that Network Firewall has instantiated in the subnet. You use this to identify the firewall endpoint in the VPC route tables, when you redirect the VPC traffic through the endpoint. </p>" 637 }, 638 "Status":{ 639 "shape":"AttachmentStatus", 640 "documentation":"<p>The current status of the firewall endpoint in the subnet. This value reflects both the instantiation of the endpoint in the VPC subnet and the sync states that are reported in the <code>Config</code> settings. When this value is <code>READY</code>, the endpoint is available and configured properly to handle network traffic. When the endpoint isn't available for traffic, this value will reflect its state, for example <code>CREATING</code>, <code>DELETING</code>, or <code>FAILED</code>.</p>" 641 } 642 }, 643 "documentation":"<p>The configuration and status for a single subnet that you've specified for use by the AWS Network Firewall firewall. This is part of the <a>FirewallStatus</a>.</p>" 644 }, 645 "AttachmentStatus":{ 646 "type":"string", 647 "enum":[ 648 "CREATING", 649 "DELETING", 650 "SCALING", 651 "READY" 652 ] 653 }, 654 "AvailabilityZone":{"type":"string"}, 655 "AzSubnet":{ 656 "type":"string", 657 "max":128, 658 "min":1, 659 "pattern":"^subnet-[0-9a-f]+$" 660 }, 661 "AzSubnets":{ 662 "type":"list", 663 "member":{"shape":"AzSubnet"} 664 }, 665 "Boolean":{"type":"boolean"}, 666 "CollectionMember_String":{"type":"string"}, 667 "ConfigurationSyncState":{ 668 "type":"string", 669 "enum":[ 670 "PENDING", 671 "IN_SYNC" 672 ] 673 }, 674 "CreateFirewallPolicyRequest":{ 675 "type":"structure", 676 "required":[ 677 "FirewallPolicyName", 678 "FirewallPolicy" 679 ], 680 "members":{ 681 "FirewallPolicyName":{ 682 "shape":"ResourceName", 683 "documentation":"<p>The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.</p>" 684 }, 685 "FirewallPolicy":{ 686 "shape":"FirewallPolicy", 687 "documentation":"<p>The rule groups and policy actions to use in the firewall policy.</p>" 688 }, 689 "Description":{ 690 "shape":"Description", 691 "documentation":"<p>A description of the firewall policy.</p>" 692 }, 693 "Tags":{ 694 "shape":"TagList", 695 "documentation":"<p>The key:value pairs to associate with the resource.</p>" 696 }, 697 "DryRun":{ 698 "shape":"Boolean", 699 "documentation":"<p>Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request. </p> <p>If set to <code>TRUE</code>, Network Firewall checks whether the request can run successfully, but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with dry run set to <code>FALSE</code>, but doesn't make additions or changes to your resources. This option allows you to make sure that you have the required permissions to run the request and that your request parameters are valid. </p> <p>If set to <code>FALSE</code>, Network Firewall makes the requested changes to your resources. </p>" 700 } 701 } 702 }, 703 "CreateFirewallPolicyResponse":{ 704 "type":"structure", 705 "required":[ 706 "UpdateToken", 707 "FirewallPolicyResponse" 708 ], 709 "members":{ 710 "UpdateToken":{ 711 "shape":"UpdateToken", 712 "documentation":"<p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request. </p> <p>To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token. </p>" 713 }, 714 "FirewallPolicyResponse":{ 715 "shape":"FirewallPolicyResponse", 716 "documentation":"<p>The high-level properties of a firewall policy. This, along with the <a>FirewallPolicy</a>, define the policy. You can retrieve all objects for a firewall policy by calling <a>DescribeFirewallPolicy</a>. </p>" 717 } 718 } 719 }, 720 "CreateFirewallRequest":{ 721 "type":"structure", 722 "required":[ 723 "FirewallName", 724 "FirewallPolicyArn", 725 "VpcId", 726 "SubnetMappings" 727 ], 728 "members":{ 729 "FirewallName":{ 730 "shape":"ResourceName", 731 "documentation":"<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>" 732 }, 733 "FirewallPolicyArn":{ 734 "shape":"ResourceArn", 735 "documentation":"<p>The Amazon Resource Name (ARN) of the <a>FirewallPolicy</a> that you want to use for the firewall.</p>" 736 }, 737 "VpcId":{ 738 "shape":"VpcId", 739 "documentation":"<p>The unique identifier of the VPC where Network Firewall should create the firewall. </p> <p>You can't change this setting after you create the firewall. </p>" 740 }, 741 "SubnetMappings":{ 742 "shape":"SubnetMappings", 743 "documentation":"<p>The public subnets to use for your Network Firewall firewalls. Each subnet must belong to a different Availability Zone in the VPC. Network Firewall creates a firewall endpoint in each subnet. </p>" 744 }, 745 "DeleteProtection":{ 746 "shape":"Boolean", 747 "documentation":"<p>A flag indicating whether it is possible to delete the firewall. A setting of <code>TRUE</code> indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to <code>TRUE</code>.</p>" 748 }, 749 "SubnetChangeProtection":{ 750 "shape":"Boolean", 751 "documentation":"<p>A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to <code>TRUE</code>.</p>" 752 }, 753 "FirewallPolicyChangeProtection":{ 754 "shape":"Boolean", 755 "documentation":"<p>A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to <code>TRUE</code>.</p>" 756 }, 757 "Description":{ 758 "shape":"Description", 759 "documentation":"<p>A description of the firewall.</p>" 760 }, 761 "Tags":{ 762 "shape":"TagList", 763 "documentation":"<p>The key:value pairs to associate with the resource.</p>" 764 } 765 } 766 }, 767 "CreateFirewallResponse":{ 768 "type":"structure", 769 "members":{ 770 "Firewall":{ 771 "shape":"Firewall", 772 "documentation":"<p>The configuration settings for the firewall. These settings include the firewall policy and the subnets in your VPC to use for the firewall endpoints. </p>" 773 }, 774 "FirewallStatus":{ 775 "shape":"FirewallStatus", 776 "documentation":"<p>Detailed information about the current status of a <a>Firewall</a>. You can retrieve this for a firewall by calling <a>DescribeFirewall</a> and providing the firewall name and ARN.</p>" 777 } 778 } 779 }, 780 "CreateRuleGroupRequest":{ 781 "type":"structure", 782 "required":[ 783 "RuleGroupName", 784 "Type", 785 "Capacity" 786 ], 787 "members":{ 788 "RuleGroupName":{ 789 "shape":"ResourceName", 790 "documentation":"<p>The descriptive name of the rule group. You can't change the name of a rule group after you create it.</p>" 791 }, 792 "RuleGroup":{ 793 "shape":"RuleGroup", 794 "documentation":"<p>An object that defines the rule group rules. </p> <note> <p>You must provide either this rule group setting or a <code>Rules</code> setting, but not both. </p> </note>" 795 }, 796 "Rules":{ 797 "shape":"RulesString", 798 "documentation":"<p>A string containing stateful rule group rules specifications in Suricata flat format, with one rule per line. Use this to import your existing Suricata compatible rule groups. </p> <note> <p>You must provide either this rules setting or a populated <code>RuleGroup</code> setting, but not both. </p> </note> <p>You can provide your rule group specification in Suricata flat format through this setting when you create or update your rule group. The call response returns a <a>RuleGroup</a> object that Network Firewall has populated from your string. </p>" 799 }, 800 "Type":{ 801 "shape":"RuleGroupType", 802 "documentation":"<p>Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules. </p>" 803 }, 804 "Description":{ 805 "shape":"Description", 806 "documentation":"<p>A description of the rule group. </p>" 807 }, 808 "Capacity":{ 809 "shape":"RuleCapacity", 810 "documentation":"<p>The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group. </p> <p>You can retrieve the capacity that would be required for a rule group before you create the rule group by calling <a>CreateRuleGroup</a> with <code>DryRun</code> set to <code>TRUE</code>. </p> <note> <p>You can't change or exceed this capacity when you update the rule group, so leave room for your rule group to grow. </p> </note> <p> <b>Capacity for a stateless rule group</b> </p> <p>For a stateless rule group, the capacity required is the sum of the capacity requirements of the individual rules that you expect to have in the rule group. </p> <p>To calculate the capacity requirement of a single rule, multiply the capacity requirement values of each of the rule's match settings:</p> <ul> <li> <p>A match setting with no criteria specified has a value of 1. </p> </li> <li> <p>A match setting with <code>Any</code> specified has a value of 1. </p> </li> <li> <p>All other match settings have a value equal to the number of elements provided in the setting. For example, a protocol setting [\"UDP\"] and a source setting [\"10.0.0.0/24\"] each have a value of 1. A protocol setting [\"UDP\",\"TCP\"] has a value of 2. A source setting [\"10.0.0.0/24\",\"10.0.0.1/24\",\"10.0.0.2/24\"] has a value of 3. </p> </li> </ul> <p>A rule with no criteria specified in any of its match settings has a capacity requirement of 1. A rule with protocol setting [\"UDP\",\"TCP\"], source setting [\"10.0.0.0/24\",\"10.0.0.1/24\",\"10.0.0.2/24\"], and a single specification or no specification for each of the other match settings has a capacity requirement of 6. </p> <p> <b>Capacity for a stateful rule group</b> </p> <p>For a stateful rule group, the minimum capacity required is the number of individual rules that you expect to have in the rule group. </p>" 811 }, 812 "Tags":{ 813 "shape":"TagList", 814 "documentation":"<p>The key:value pairs to associate with the resource.</p>" 815 }, 816 "DryRun":{ 817 "shape":"Boolean", 818 "documentation":"<p>Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request. </p> <p>If set to <code>TRUE</code>, Network Firewall checks whether the request can run successfully, but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with dry run set to <code>FALSE</code>, but doesn't make additions or changes to your resources. This option allows you to make sure that you have the required permissions to run the request and that your request parameters are valid. </p> <p>If set to <code>FALSE</code>, Network Firewall makes the requested changes to your resources. </p>" 819 } 820 } 821 }, 822 "CreateRuleGroupResponse":{ 823 "type":"structure", 824 "required":[ 825 "UpdateToken", 826 "RuleGroupResponse" 827 ], 828 "members":{ 829 "UpdateToken":{ 830 "shape":"UpdateToken", 831 "documentation":"<p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the rule group. The token marks the state of the rule group resource at the time of the request. </p> <p>To make changes to the rule group, you provide the token in your request. Network Firewall uses the token to ensure that the rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token. </p>" 832 }, 833 "RuleGroupResponse":{ 834 "shape":"RuleGroupResponse", 835 "documentation":"<p>The high-level properties of a rule group. This, along with the <a>RuleGroup</a>, define the rule group. You can retrieve all objects for a rule group by calling <a>DescribeRuleGroup</a>. </p>" 836 } 837 } 838 }, 839 "CustomAction":{ 840 "type":"structure", 841 "required":[ 842 "ActionName", 843 "ActionDefinition" 844 ], 845 "members":{ 846 "ActionName":{ 847 "shape":"ActionName", 848 "documentation":"<p>The descriptive name of the custom action. You can't change the name of a custom action after you create it.</p>" 849 }, 850 "ActionDefinition":{ 851 "shape":"ActionDefinition", 852 "documentation":"<p>The custom action associated with the action name.</p>" 853 } 854 }, 855 "documentation":"<p>An optional, non-standard action to use for stateless packet handling. You can define this in addition to the standard action that you must specify. </p> <p>You define and name the custom actions that you want to be able to use, and then you reference them by name in your actions settings. </p> <p>You can use custom actions in the following places: </p> <ul> <li> <p>In a rule group's <a>StatelessRulesAndCustomActions</a> specification. The custom actions are available for use by name inside the <code>StatelessRulesAndCustomActions</code> where you define them. You can use them for your stateless rule actions to specify what to do with a packet that matches the rule's match attributes. </p> </li> <li> <p>In a <a>FirewallPolicy</a> specification, in <code>StatelessCustomActions</code>. The custom actions are available for use inside the policy where you define them. You can use them for the policy's default stateless actions settings to specify what to do with packets that don't match any of the policy's stateless rules. </p> </li> </ul>" 856 }, 857 "CustomActions":{ 858 "type":"list", 859 "member":{"shape":"CustomAction"} 860 }, 861 "DeleteFirewallPolicyRequest":{ 862 "type":"structure", 863 "members":{ 864 "FirewallPolicyName":{ 865 "shape":"ResourceName", 866 "documentation":"<p>The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 867 }, 868 "FirewallPolicyArn":{ 869 "shape":"ResourceArn", 870 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall policy.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 871 } 872 } 873 }, 874 "DeleteFirewallPolicyResponse":{ 875 "type":"structure", 876 "required":["FirewallPolicyResponse"], 877 "members":{ 878 "FirewallPolicyResponse":{ 879 "shape":"FirewallPolicyResponse", 880 "documentation":"<p>The object containing the definition of the <a>FirewallPolicyResponse</a> that you asked to delete. </p>" 881 } 882 } 883 }, 884 "DeleteFirewallRequest":{ 885 "type":"structure", 886 "members":{ 887 "FirewallName":{ 888 "shape":"ResourceName", 889 "documentation":"<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 890 }, 891 "FirewallArn":{ 892 "shape":"ResourceArn", 893 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 894 } 895 } 896 }, 897 "DeleteFirewallResponse":{ 898 "type":"structure", 899 "members":{ 900 "Firewall":{"shape":"Firewall"}, 901 "FirewallStatus":{"shape":"FirewallStatus"} 902 } 903 }, 904 "DeleteResourcePolicyRequest":{ 905 "type":"structure", 906 "required":["ResourceArn"], 907 "members":{ 908 "ResourceArn":{ 909 "shape":"ResourceArn", 910 "documentation":"<p>The Amazon Resource Name (ARN) of the rule group or firewall policy whose resource policy you want to delete. </p>" 911 } 912 } 913 }, 914 "DeleteResourcePolicyResponse":{ 915 "type":"structure", 916 "members":{ 917 } 918 }, 919 "DeleteRuleGroupRequest":{ 920 "type":"structure", 921 "members":{ 922 "RuleGroupName":{ 923 "shape":"ResourceName", 924 "documentation":"<p>The descriptive name of the rule group. You can't change the name of a rule group after you create it.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 925 }, 926 "RuleGroupArn":{ 927 "shape":"ResourceArn", 928 "documentation":"<p>The Amazon Resource Name (ARN) of the rule group.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 929 }, 930 "Type":{ 931 "shape":"RuleGroupType", 932 "documentation":"<p>Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules. </p> <note> <p>This setting is required for requests that do not include the <code>RuleGroupARN</code>.</p> </note>" 933 } 934 } 935 }, 936 "DeleteRuleGroupResponse":{ 937 "type":"structure", 938 "required":["RuleGroupResponse"], 939 "members":{ 940 "RuleGroupResponse":{ 941 "shape":"RuleGroupResponse", 942 "documentation":"<p>The high-level properties of a rule group. This, along with the <a>RuleGroup</a>, define the rule group. You can retrieve all objects for a rule group by calling <a>DescribeRuleGroup</a>. </p>" 943 } 944 } 945 }, 946 "DescribeFirewallPolicyRequest":{ 947 "type":"structure", 948 "members":{ 949 "FirewallPolicyName":{ 950 "shape":"ResourceName", 951 "documentation":"<p>The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 952 }, 953 "FirewallPolicyArn":{ 954 "shape":"ResourceArn", 955 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall policy.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 956 } 957 } 958 }, 959 "DescribeFirewallPolicyResponse":{ 960 "type":"structure", 961 "required":[ 962 "UpdateToken", 963 "FirewallPolicyResponse" 964 ], 965 "members":{ 966 "UpdateToken":{ 967 "shape":"UpdateToken", 968 "documentation":"<p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request. </p> <p>To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token. </p>" 969 }, 970 "FirewallPolicyResponse":{ 971 "shape":"FirewallPolicyResponse", 972 "documentation":"<p>The high-level properties of a firewall policy. This, along with the <a>FirewallPolicy</a>, define the policy. You can retrieve all objects for a firewall policy by calling <a>DescribeFirewallPolicy</a>. </p>" 973 }, 974 "FirewallPolicy":{ 975 "shape":"FirewallPolicy", 976 "documentation":"<p>The policy for the specified firewall policy. </p>" 977 } 978 } 979 }, 980 "DescribeFirewallRequest":{ 981 "type":"structure", 982 "members":{ 983 "FirewallName":{ 984 "shape":"ResourceName", 985 "documentation":"<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 986 }, 987 "FirewallArn":{ 988 "shape":"ResourceArn", 989 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 990 } 991 } 992 }, 993 "DescribeFirewallResponse":{ 994 "type":"structure", 995 "members":{ 996 "UpdateToken":{ 997 "shape":"UpdateToken", 998 "documentation":"<p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p> <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p> <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>" 999 }, 1000 "Firewall":{ 1001 "shape":"Firewall", 1002 "documentation":"<p>The configuration settings for the firewall. These settings include the firewall policy and the subnets in your VPC to use for the firewall endpoints. </p>" 1003 }, 1004 "FirewallStatus":{ 1005 "shape":"FirewallStatus", 1006 "documentation":"<p>Detailed information about the current status of a <a>Firewall</a>. You can retrieve this for a firewall by calling <a>DescribeFirewall</a> and providing the firewall name and ARN.</p>" 1007 } 1008 } 1009 }, 1010 "DescribeLoggingConfigurationRequest":{ 1011 "type":"structure", 1012 "members":{ 1013 "FirewallArn":{ 1014 "shape":"ResourceArn", 1015 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 1016 }, 1017 "FirewallName":{ 1018 "shape":"ResourceName", 1019 "documentation":"<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 1020 } 1021 } 1022 }, 1023 "DescribeLoggingConfigurationResponse":{ 1024 "type":"structure", 1025 "members":{ 1026 "FirewallArn":{ 1027 "shape":"ResourceArn", 1028 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall.</p>" 1029 }, 1030 "LoggingConfiguration":{"shape":"LoggingConfiguration"} 1031 } 1032 }, 1033 "DescribeResourcePolicyRequest":{ 1034 "type":"structure", 1035 "required":["ResourceArn"], 1036 "members":{ 1037 "ResourceArn":{ 1038 "shape":"ResourceArn", 1039 "documentation":"<p>The Amazon Resource Name (ARN) of the rule group or firewall policy whose resource policy you want to retrieve. </p>" 1040 } 1041 } 1042 }, 1043 "DescribeResourcePolicyResponse":{ 1044 "type":"structure", 1045 "members":{ 1046 "Policy":{ 1047 "shape":"PolicyString", 1048 "documentation":"<p>The AWS Identity and Access Management policy for the resource. </p>" 1049 } 1050 } 1051 }, 1052 "DescribeRuleGroupRequest":{ 1053 "type":"structure", 1054 "members":{ 1055 "RuleGroupName":{ 1056 "shape":"ResourceName", 1057 "documentation":"<p>The descriptive name of the rule group. You can't change the name of a rule group after you create it.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 1058 }, 1059 "RuleGroupArn":{ 1060 "shape":"ResourceArn", 1061 "documentation":"<p>The Amazon Resource Name (ARN) of the rule group.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 1062 }, 1063 "Type":{ 1064 "shape":"RuleGroupType", 1065 "documentation":"<p>Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules. </p> <note> <p>This setting is required for requests that do not include the <code>RuleGroupARN</code>.</p> </note>" 1066 } 1067 } 1068 }, 1069 "DescribeRuleGroupResponse":{ 1070 "type":"structure", 1071 "required":[ 1072 "UpdateToken", 1073 "RuleGroupResponse" 1074 ], 1075 "members":{ 1076 "UpdateToken":{ 1077 "shape":"UpdateToken", 1078 "documentation":"<p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the rule group. The token marks the state of the rule group resource at the time of the request. </p> <p>To make changes to the rule group, you provide the token in your request. Network Firewall uses the token to ensure that the rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token. </p>" 1079 }, 1080 "RuleGroup":{ 1081 "shape":"RuleGroup", 1082 "documentation":"<p>The object that defines the rules in a rule group. This, along with <a>RuleGroupResponse</a>, define the rule group. You can retrieve all objects for a rule group by calling <a>DescribeRuleGroup</a>. </p> <p>AWS Network Firewall uses a rule group to inspect and control network traffic. You define stateless rule groups to inspect individual packets and you define stateful rule groups to inspect packets in the context of their traffic flow. </p> <p>To use a rule group, you include it by reference in an Network Firewall firewall policy, then you use the policy in a firewall. You can reference a rule group from more than one firewall policy, and you can use a firewall policy in more than one firewall. </p>" 1083 }, 1084 "RuleGroupResponse":{ 1085 "shape":"RuleGroupResponse", 1086 "documentation":"<p>The high-level properties of a rule group. This, along with the <a>RuleGroup</a>, define the rule group. You can retrieve all objects for a rule group by calling <a>DescribeRuleGroup</a>. </p>" 1087 } 1088 } 1089 }, 1090 "Description":{ 1091 "type":"string", 1092 "max":512, 1093 "pattern":"^.*$" 1094 }, 1095 "Destination":{ 1096 "type":"string", 1097 "max":1024, 1098 "min":1, 1099 "pattern":"^.*$" 1100 }, 1101 "Dimension":{ 1102 "type":"structure", 1103 "required":["Value"], 1104 "members":{ 1105 "Value":{ 1106 "shape":"DimensionValue", 1107 "documentation":"<p>The value to use in the custom metric dimension.</p>" 1108 } 1109 }, 1110 "documentation":"<p>The value to use in an Amazon CloudWatch custom metric dimension. This is used in the <code>PublishMetrics</code> <a>CustomAction</a>. A CloudWatch custom metric dimension is a name/value pair that's part of the identity of a metric. </p> <p>AWS Network Firewall sets the dimension name to <code>CustomAction</code> and you provide the dimension value. </p> <p>For more information about CloudWatch custom metric dimensions, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html#usingDimensions\">Publishing Custom Metrics</a> in the <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html\">Amazon CloudWatch User Guide</a>.</p>" 1111 }, 1112 "DimensionValue":{ 1113 "type":"string", 1114 "max":128, 1115 "min":1, 1116 "pattern":"^[a-zA-Z0-9-_ ]+$" 1117 }, 1118 "Dimensions":{ 1119 "type":"list", 1120 "member":{"shape":"Dimension"}, 1121 "max":1, 1122 "min":1 1123 }, 1124 "DisassociateSubnetsRequest":{ 1125 "type":"structure", 1126 "required":["SubnetIds"], 1127 "members":{ 1128 "UpdateToken":{ 1129 "shape":"UpdateToken", 1130 "documentation":"<p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p> <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p> <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>" 1131 }, 1132 "FirewallArn":{ 1133 "shape":"ResourceArn", 1134 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 1135 }, 1136 "FirewallName":{ 1137 "shape":"ResourceName", 1138 "documentation":"<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 1139 }, 1140 "SubnetIds":{ 1141 "shape":"AzSubnets", 1142 "documentation":"<p>The unique identifiers for the subnets that you want to disassociate. </p>" 1143 } 1144 } 1145 }, 1146 "DisassociateSubnetsResponse":{ 1147 "type":"structure", 1148 "members":{ 1149 "FirewallArn":{ 1150 "shape":"ResourceArn", 1151 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall.</p>" 1152 }, 1153 "FirewallName":{ 1154 "shape":"ResourceName", 1155 "documentation":"<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>" 1156 }, 1157 "SubnetMappings":{ 1158 "shape":"SubnetMappings", 1159 "documentation":"<p>The IDs of the subnets that are associated with the firewall. </p>" 1160 }, 1161 "UpdateToken":{ 1162 "shape":"UpdateToken", 1163 "documentation":"<p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p> <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p> <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>" 1164 } 1165 } 1166 }, 1167 "EndpointId":{"type":"string"}, 1168 "ErrorMessage":{"type":"string"}, 1169 "Firewall":{ 1170 "type":"structure", 1171 "required":[ 1172 "FirewallPolicyArn", 1173 "VpcId", 1174 "SubnetMappings", 1175 "FirewallId" 1176 ], 1177 "members":{ 1178 "FirewallName":{ 1179 "shape":"ResourceName", 1180 "documentation":"<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>" 1181 }, 1182 "FirewallArn":{ 1183 "shape":"ResourceArn", 1184 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall.</p>" 1185 }, 1186 "FirewallPolicyArn":{ 1187 "shape":"ResourceArn", 1188 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall policy.</p> <p>The relationship of firewall to firewall policy is many to one. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls. </p>" 1189 }, 1190 "VpcId":{ 1191 "shape":"VpcId", 1192 "documentation":"<p>The unique identifier of the VPC where the firewall is in use. </p>" 1193 }, 1194 "SubnetMappings":{ 1195 "shape":"SubnetMappings", 1196 "documentation":"<p>The public subnets that Network Firewall is using for the firewall. Each subnet must belong to a different Availability Zone. </p>" 1197 }, 1198 "DeleteProtection":{ 1199 "shape":"Boolean", 1200 "documentation":"<p>A flag indicating whether it is possible to delete the firewall. A setting of <code>TRUE</code> indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to <code>TRUE</code>.</p>" 1201 }, 1202 "SubnetChangeProtection":{ 1203 "shape":"Boolean", 1204 "documentation":"<p>A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to <code>TRUE</code>.</p>" 1205 }, 1206 "FirewallPolicyChangeProtection":{ 1207 "shape":"Boolean", 1208 "documentation":"<p>A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to <code>TRUE</code>.</p>" 1209 }, 1210 "Description":{ 1211 "shape":"Description", 1212 "documentation":"<p>A description of the firewall.</p>" 1213 }, 1214 "FirewallId":{ 1215 "shape":"ResourceId", 1216 "documentation":"<p>The unique identifier for the firewall. </p>" 1217 }, 1218 "Tags":{ 1219 "shape":"TagList", 1220 "documentation":"<p/>" 1221 } 1222 }, 1223 "documentation":"<p>The firewall defines the configuration settings for an AWS Network Firewall firewall. These settings include the firewall policy, the subnets in your VPC to use for the firewall endpoints, and any tags that are attached to the firewall AWS resource. </p> <p>The status of the firewall, for example whether it's ready to filter network traffic, is provided in the corresponding <a>FirewallStatus</a>. You can retrieve both objects by calling <a>DescribeFirewall</a>.</p>" 1224 }, 1225 "FirewallMetadata":{ 1226 "type":"structure", 1227 "members":{ 1228 "FirewallName":{ 1229 "shape":"ResourceName", 1230 "documentation":"<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>" 1231 }, 1232 "FirewallArn":{ 1233 "shape":"ResourceArn", 1234 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall.</p>" 1235 } 1236 }, 1237 "documentation":"<p>High-level information about a firewall, returned by operations like create and describe. You can use the information provided in the metadata to retrieve and manage a firewall.</p>" 1238 }, 1239 "FirewallPolicies":{ 1240 "type":"list", 1241 "member":{"shape":"FirewallPolicyMetadata"} 1242 }, 1243 "FirewallPolicy":{ 1244 "type":"structure", 1245 "required":[ 1246 "StatelessDefaultActions", 1247 "StatelessFragmentDefaultActions" 1248 ], 1249 "members":{ 1250 "StatelessRuleGroupReferences":{ 1251 "shape":"StatelessRuleGroupReferences", 1252 "documentation":"<p>References to the stateless rule groups that are used in the policy. These define the matching criteria in stateless rules. </p>" 1253 }, 1254 "StatelessDefaultActions":{ 1255 "shape":"StatelessActions", 1256 "documentation":"<p>The actions to take on a packet if it doesn't match any of the stateless rules in the policy. If you want non-matching packets to be forwarded for stateful inspection, specify <code>aws:forward_to_sfe</code>. </p> <p>You must specify one of the standard actions: <code>aws:pass</code>, <code>aws:drop</code>, or <code>aws:forward_to_sfe</code>. In addition, you can specify custom actions that are compatible with your standard section choice.</p> <p>For example, you could specify <code>[\"aws:pass\"]</code> or you could specify <code>[\"aws:pass\", “customActionName”]</code>. For information about compatibility, see the custom action descriptions under <a>CustomAction</a>.</p>" 1257 }, 1258 "StatelessFragmentDefaultActions":{ 1259 "shape":"StatelessActions", 1260 "documentation":"<p>The actions to take on a fragmented UDP packet if it doesn't match any of the stateless rules in the policy. Network Firewall only manages UDP packet fragments and silently drops packet fragments for other protocols. If you want non-matching fragmented UDP packets to be forwarded for stateful inspection, specify <code>aws:forward_to_sfe</code>. </p> <p>You must specify one of the standard actions: <code>aws:pass</code>, <code>aws:drop</code>, or <code>aws:forward_to_sfe</code>. In addition, you can specify custom actions that are compatible with your standard section choice.</p> <p>For example, you could specify <code>[\"aws:pass\"]</code> or you could specify <code>[\"aws:pass\", “customActionName”]</code>. For information about compatibility, see the custom action descriptions under <a>CustomAction</a>.</p>" 1261 }, 1262 "StatelessCustomActions":{ 1263 "shape":"CustomActions", 1264 "documentation":"<p>The custom action definitions that are available for use in the firewall policy's <code>StatelessDefaultActions</code> setting. You name each custom action that you define, and then you can use it by name in your default actions specifications.</p>" 1265 }, 1266 "StatefulRuleGroupReferences":{ 1267 "shape":"StatefulRuleGroupReferences", 1268 "documentation":"<p>References to the stateful rule groups that are used in the policy. These define the inspection criteria in stateful rules. </p>" 1269 }, 1270 "StatefulDefaultActions":{ 1271 "shape":"StatefulActions", 1272 "documentation":"<p>The default actions to take on a packet that doesn't match any stateful rules.</p>" 1273 }, 1274 "StatefulEngineOptions":{ 1275 "shape":"StatefulEngineOptions", 1276 "documentation":"<p>Additional options governing how Network Firewall handles stateful rules. The stateful rule groups that you use in your policy must have stateful rule options settings that are compatible with these settings.</p>" 1277 } 1278 }, 1279 "documentation":"<p>The firewall policy defines the behavior of a firewall using a collection of stateless and stateful rule groups and other settings. You can use one firewall policy for multiple firewalls. </p> <p>This, along with <a>FirewallPolicyResponse</a>, define the policy. You can retrieve all objects for a firewall policy by calling <a>DescribeFirewallPolicy</a>.</p>" 1280 }, 1281 "FirewallPolicyMetadata":{ 1282 "type":"structure", 1283 "members":{ 1284 "Name":{ 1285 "shape":"ResourceName", 1286 "documentation":"<p>The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.</p>" 1287 }, 1288 "Arn":{ 1289 "shape":"ResourceArn", 1290 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall policy.</p>" 1291 } 1292 }, 1293 "documentation":"<p>High-level information about a firewall policy, returned by operations like create and describe. You can use the information provided in the metadata to retrieve and manage a firewall policy. You can retrieve all objects for a firewall policy by calling <a>DescribeFirewallPolicy</a>. </p>" 1294 }, 1295 "FirewallPolicyResponse":{ 1296 "type":"structure", 1297 "required":[ 1298 "FirewallPolicyName", 1299 "FirewallPolicyArn", 1300 "FirewallPolicyId" 1301 ], 1302 "members":{ 1303 "FirewallPolicyName":{ 1304 "shape":"ResourceName", 1305 "documentation":"<p>The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.</p>" 1306 }, 1307 "FirewallPolicyArn":{ 1308 "shape":"ResourceArn", 1309 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall policy.</p> <note> <p>If this response is for a create request that had <code>DryRun</code> set to <code>TRUE</code>, then this ARN is a placeholder that isn't attached to a valid resource.</p> </note>" 1310 }, 1311 "FirewallPolicyId":{ 1312 "shape":"ResourceId", 1313 "documentation":"<p>The unique identifier for the firewall policy. </p>" 1314 }, 1315 "Description":{ 1316 "shape":"Description", 1317 "documentation":"<p>A description of the firewall policy.</p>" 1318 }, 1319 "FirewallPolicyStatus":{ 1320 "shape":"ResourceStatus", 1321 "documentation":"<p>The current status of the firewall policy. You can retrieve this for a firewall policy by calling <a>DescribeFirewallPolicy</a> and providing the firewall policy's name or ARN.</p>" 1322 }, 1323 "Tags":{ 1324 "shape":"TagList", 1325 "documentation":"<p>The key:value pairs to associate with the resource.</p>" 1326 }, 1327 "ConsumedStatelessRuleCapacity":{ 1328 "shape":"RuleCapacity", 1329 "documentation":"<p>The number of capacity units currently consumed by the policy's stateless rules.</p>" 1330 }, 1331 "ConsumedStatefulRuleCapacity":{ 1332 "shape":"RuleCapacity", 1333 "documentation":"<p>The number of capacity units currently consumed by the policy's stateful rules.</p>" 1334 }, 1335 "NumberOfAssociations":{ 1336 "shape":"NumberOfAssociations", 1337 "documentation":"<p>The number of firewalls that are associated with this firewall policy.</p>" 1338 } 1339 }, 1340 "documentation":"<p>The high-level properties of a firewall policy. This, along with the <a>FirewallPolicy</a>, define the policy. You can retrieve all objects for a firewall policy by calling <a>DescribeFirewallPolicy</a>. </p>" 1341 }, 1342 "FirewallStatus":{ 1343 "type":"structure", 1344 "required":[ 1345 "Status", 1346 "ConfigurationSyncStateSummary" 1347 ], 1348 "members":{ 1349 "Status":{ 1350 "shape":"FirewallStatusValue", 1351 "documentation":"<p>The readiness of the configured firewall to handle network traffic across all of the Availability Zones where you've configured it. This setting is <code>READY</code> only when the <code>ConfigurationSyncStateSummary</code> value is <code>IN_SYNC</code> and the <code>Attachment</code> <code>Status</code> values for all of the configured subnets are <code>READY</code>. </p>" 1352 }, 1353 "ConfigurationSyncStateSummary":{ 1354 "shape":"ConfigurationSyncState", 1355 "documentation":"<p>The configuration sync state for the firewall. This summarizes the sync states reported in the <code>Config</code> settings for all of the Availability Zones where you have configured the firewall. </p> <p>When you create a firewall or update its configuration, for example by adding a rule group to its firewall policy, Network Firewall distributes the configuration changes to all zones where the firewall is in use. This summary indicates whether the configuration changes have been applied everywhere. </p> <p>This status must be <code>IN_SYNC</code> for the firewall to be ready for use, but it doesn't indicate that the firewall is ready. The <code>Status</code> setting indicates firewall readiness.</p>" 1356 }, 1357 "SyncStates":{ 1358 "shape":"SyncStates", 1359 "documentation":"<p>The subnets that you've configured for use by the Network Firewall firewall. This contains one array element per Availability Zone where you've configured a subnet. These objects provide details of the information that is summarized in the <code>ConfigurationSyncStateSummary</code> and <code>Status</code>, broken down by zone and configuration object. </p>" 1360 } 1361 }, 1362 "documentation":"<p>Detailed information about the current status of a <a>Firewall</a>. You can retrieve this for a firewall by calling <a>DescribeFirewall</a> and providing the firewall name and ARN.</p>" 1363 }, 1364 "FirewallStatusValue":{ 1365 "type":"string", 1366 "enum":[ 1367 "PROVISIONING", 1368 "DELETING", 1369 "READY" 1370 ] 1371 }, 1372 "Firewalls":{ 1373 "type":"list", 1374 "member":{"shape":"FirewallMetadata"} 1375 }, 1376 "Flags":{ 1377 "type":"list", 1378 "member":{"shape":"TCPFlag"} 1379 }, 1380 "GeneratedRulesType":{ 1381 "type":"string", 1382 "enum":[ 1383 "ALLOWLIST", 1384 "DENYLIST" 1385 ] 1386 }, 1387 "HashMapKey":{ 1388 "type":"string", 1389 "max":50, 1390 "min":3, 1391 "pattern":"^[0-9A-Za-z.\\-_@\\/]+$" 1392 }, 1393 "HashMapValue":{ 1394 "type":"string", 1395 "max":1024, 1396 "min":1, 1397 "pattern":"[\\s\\S]*$" 1398 }, 1399 "Header":{ 1400 "type":"structure", 1401 "required":[ 1402 "Protocol", 1403 "Source", 1404 "SourcePort", 1405 "Direction", 1406 "Destination", 1407 "DestinationPort" 1408 ], 1409 "members":{ 1410 "Protocol":{ 1411 "shape":"StatefulRuleProtocol", 1412 "documentation":"<p>The protocol to inspect for. To specify all, you can use <code>IP</code>, because all traffic on AWS and on the internet is IP.</p>" 1413 }, 1414 "Source":{ 1415 "shape":"Source", 1416 "documentation":"<p>The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify <code>ANY</code>. </p> <p>Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4. </p> <p>Examples: </p> <ul> <li> <p>To configure Network Firewall to inspect for the IP address 192.0.2.44, specify <code>192.0.2.44/32</code>.</p> </li> <li> <p>To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify <code>192.0.2.0/24</code>.</p> </li> </ul> <p>For more information about CIDR notation, see the Wikipedia entry <a href=\"https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing\">Classless Inter-Domain Routing</a>.</p>" 1417 }, 1418 "SourcePort":{ 1419 "shape":"Port", 1420 "documentation":"<p>The source port to inspect for. You can specify an individual port, for example <code>1994</code> and you can specify a port range, for example <code>1990:1994</code>. To match with any port, specify <code>ANY</code>. </p>" 1421 }, 1422 "Direction":{ 1423 "shape":"StatefulRuleDirection", 1424 "documentation":"<p>The direction of traffic flow to inspect. If set to <code>ANY</code>, the inspection matches bidirectional traffic, both from the source to the destination and from the destination to the source. If set to <code>FORWARD</code>, the inspection only matches traffic going from the source to the destination. </p>" 1425 }, 1426 "Destination":{ 1427 "shape":"Destination", 1428 "documentation":"<p>The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify <code>ANY</code>. </p> <p>Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4. </p> <p>Examples: </p> <ul> <li> <p>To configure Network Firewall to inspect for the IP address 192.0.2.44, specify <code>192.0.2.44/32</code>.</p> </li> <li> <p>To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify <code>192.0.2.0/24</code>.</p> </li> </ul> <p>For more information about CIDR notation, see the Wikipedia entry <a href=\"https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing\">Classless Inter-Domain Routing</a>.</p>" 1429 }, 1430 "DestinationPort":{ 1431 "shape":"Port", 1432 "documentation":"<p>The destination port to inspect for. You can specify an individual port, for example <code>1994</code> and you can specify a port range, for example <code>1990:1994</code>. To match with any port, specify <code>ANY</code>. </p>" 1433 } 1434 }, 1435 "documentation":"<p>The basic rule criteria for AWS Network Firewall to use to inspect packet headers in stateful traffic flow inspection. Traffic flows that match the criteria are a match for the corresponding <a>StatefulRule</a>. </p>" 1436 }, 1437 "IPSet":{ 1438 "type":"structure", 1439 "required":["Definition"], 1440 "members":{ 1441 "Definition":{ 1442 "shape":"VariableDefinitionList", 1443 "documentation":"<p>The list of IP addresses and address ranges, in CIDR notation. </p>" 1444 } 1445 }, 1446 "documentation":"<p>A list of IP addresses and address ranges, in CIDR notation. This is part of a <a>RuleVariables</a>. </p>" 1447 }, 1448 "IPSets":{ 1449 "type":"map", 1450 "key":{"shape":"RuleVariableName"}, 1451 "value":{"shape":"IPSet"} 1452 }, 1453 "InsufficientCapacityException":{ 1454 "type":"structure", 1455 "members":{ 1456 "Message":{"shape":"ErrorMessage"} 1457 }, 1458 "documentation":"<p>AWS doesn't currently have enough available capacity to fulfill your request. Try your request later. </p>", 1459 "exception":true, 1460 "fault":true 1461 }, 1462 "InternalServerError":{ 1463 "type":"structure", 1464 "members":{ 1465 "Message":{"shape":"ErrorMessage"} 1466 }, 1467 "documentation":"<p>Your request is valid, but Network Firewall couldn’t perform the operation because of a system problem. Retry your request. </p>", 1468 "exception":true, 1469 "fault":true 1470 }, 1471 "InvalidOperationException":{ 1472 "type":"structure", 1473 "members":{ 1474 "Message":{"shape":"ErrorMessage"} 1475 }, 1476 "documentation":"<p>The operation failed because it's not valid. For example, you might have tried to delete a rule group or firewall policy that's in use.</p>", 1477 "exception":true 1478 }, 1479 "InvalidRequestException":{ 1480 "type":"structure", 1481 "members":{ 1482 "Message":{"shape":"ErrorMessage"} 1483 }, 1484 "documentation":"<p>The operation failed because of a problem with your request. Examples include: </p> <ul> <li> <p>You specified an unsupported parameter name or value.</p> </li> <li> <p>You tried to update a property with a value that isn't among the available types.</p> </li> <li> <p>Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the context of the request.</p> </li> </ul>", 1485 "exception":true 1486 }, 1487 "InvalidResourcePolicyException":{ 1488 "type":"structure", 1489 "members":{ 1490 "Message":{"shape":"ErrorMessage"} 1491 }, 1492 "documentation":"<p>The policy statement failed validation.</p>", 1493 "exception":true 1494 }, 1495 "InvalidTokenException":{ 1496 "type":"structure", 1497 "members":{ 1498 "Message":{"shape":"ErrorMessage"} 1499 }, 1500 "documentation":"<p>The token you provided is stale or isn't valid for the operation. </p>", 1501 "exception":true 1502 }, 1503 "Keyword":{ 1504 "type":"string", 1505 "max":128, 1506 "min":1, 1507 "pattern":".*" 1508 }, 1509 "LimitExceededException":{ 1510 "type":"structure", 1511 "members":{ 1512 "Message":{"shape":"ErrorMessage"} 1513 }, 1514 "documentation":"<p>Unable to perform the operation because doing so would violate a limit setting. </p>", 1515 "exception":true 1516 }, 1517 "ListFirewallPoliciesRequest":{ 1518 "type":"structure", 1519 "members":{ 1520 "NextToken":{ 1521 "shape":"PaginationToken", 1522 "documentation":"<p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code> value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>" 1523 }, 1524 "MaxResults":{ 1525 "shape":"PaginationMaxResults", 1526 "documentation":"<p>The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a <code>NextToken</code> value that you can use in a subsequent call to get the next batch of objects.</p>" 1527 } 1528 } 1529 }, 1530 "ListFirewallPoliciesResponse":{ 1531 "type":"structure", 1532 "members":{ 1533 "NextToken":{ 1534 "shape":"PaginationToken", 1535 "documentation":"<p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code> value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>" 1536 }, 1537 "FirewallPolicies":{ 1538 "shape":"FirewallPolicies", 1539 "documentation":"<p>The metadata for the firewall policies. Depending on your setting for max results and the number of firewall policies that you have, this might not be the full list. </p>" 1540 } 1541 } 1542 }, 1543 "ListFirewallsRequest":{ 1544 "type":"structure", 1545 "members":{ 1546 "NextToken":{ 1547 "shape":"PaginationToken", 1548 "documentation":"<p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code> value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>" 1549 }, 1550 "VpcIds":{ 1551 "shape":"VpcIds", 1552 "documentation":"<p>The unique identifiers of the VPCs that you want Network Firewall to retrieve the firewalls for. Leave this blank to retrieve all firewalls that you have defined.</p>" 1553 }, 1554 "MaxResults":{ 1555 "shape":"PaginationMaxResults", 1556 "documentation":"<p>The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a <code>NextToken</code> value that you can use in a subsequent call to get the next batch of objects.</p>" 1557 } 1558 } 1559 }, 1560 "ListFirewallsResponse":{ 1561 "type":"structure", 1562 "members":{ 1563 "NextToken":{ 1564 "shape":"PaginationToken", 1565 "documentation":"<p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code> value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>" 1566 }, 1567 "Firewalls":{ 1568 "shape":"Firewalls", 1569 "documentation":"<p>The firewall metadata objects for the VPCs that you specified. Depending on your setting for max results and the number of firewalls you have, a single call might not be the full list. </p>" 1570 } 1571 } 1572 }, 1573 "ListRuleGroupsRequest":{ 1574 "type":"structure", 1575 "members":{ 1576 "NextToken":{ 1577 "shape":"PaginationToken", 1578 "documentation":"<p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code> value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>" 1579 }, 1580 "MaxResults":{ 1581 "shape":"PaginationMaxResults", 1582 "documentation":"<p>The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a <code>NextToken</code> value that you can use in a subsequent call to get the next batch of objects.</p>" 1583 } 1584 } 1585 }, 1586 "ListRuleGroupsResponse":{ 1587 "type":"structure", 1588 "members":{ 1589 "NextToken":{ 1590 "shape":"PaginationToken", 1591 "documentation":"<p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code> value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>" 1592 }, 1593 "RuleGroups":{ 1594 "shape":"RuleGroups", 1595 "documentation":"<p>The rule group metadata objects that you've defined. Depending on your setting for max results and the number of rule groups, this might not be the full list. </p>" 1596 } 1597 } 1598 }, 1599 "ListTagsForResourceRequest":{ 1600 "type":"structure", 1601 "required":["ResourceArn"], 1602 "members":{ 1603 "NextToken":{ 1604 "shape":"PaginationToken", 1605 "documentation":"<p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code> value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>" 1606 }, 1607 "MaxResults":{ 1608 "shape":"TagsPaginationMaxResults", 1609 "documentation":"<p>The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a <code>NextToken</code> value that you can use in a subsequent call to get the next batch of objects.</p>" 1610 }, 1611 "ResourceArn":{ 1612 "shape":"ResourceArn", 1613 "documentation":"<p>The Amazon Resource Name (ARN) of the resource.</p>" 1614 } 1615 } 1616 }, 1617 "ListTagsForResourceResponse":{ 1618 "type":"structure", 1619 "members":{ 1620 "NextToken":{ 1621 "shape":"PaginationToken", 1622 "documentation":"<p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code> value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>" 1623 }, 1624 "Tags":{ 1625 "shape":"TagList", 1626 "documentation":"<p>The tags that are associated with the resource. </p>" 1627 } 1628 } 1629 }, 1630 "LogDestinationConfig":{ 1631 "type":"structure", 1632 "required":[ 1633 "LogType", 1634 "LogDestinationType", 1635 "LogDestination" 1636 ], 1637 "members":{ 1638 "LogType":{ 1639 "shape":"LogType", 1640 "documentation":"<p>The type of log to send. Alert logs report traffic that matches a <a>StatefulRule</a> with an action setting that sends an alert log message. Flow logs are standard network traffic flow logs. </p>" 1641 }, 1642 "LogDestinationType":{ 1643 "shape":"LogDestinationType", 1644 "documentation":"<p>The type of storage destination to send these logs to. You can send logs to an Amazon S3 bucket, a CloudWatch log group, or a Kinesis Data Firehose delivery stream.</p>" 1645 }, 1646 "LogDestination":{ 1647 "shape":"LogDestinationMap", 1648 "documentation":"<p>The named location for the logs, provided in a key:value mapping that is specific to the chosen destination type. </p> <ul> <li> <p>For an Amazon S3 bucket, provide the name of the bucket, with key <code>bucketName</code>, and optionally provide a prefix, with key <code>prefix</code>. The following example specifies an Amazon S3 bucket named <code>DOC-EXAMPLE-BUCKET</code> and the prefix <code>alerts</code>: </p> <p> <code>\"LogDestination\": { \"bucketName\": \"DOC-EXAMPLE-BUCKET\", \"prefix\": \"alerts\" }</code> </p> </li> <li> <p>For a CloudWatch log group, provide the name of the CloudWatch log group, with key <code>logGroup</code>. The following example specifies a log group named <code>alert-log-group</code>: </p> <p> <code>\"LogDestination\": { \"logGroup\": \"alert-log-group\" }</code> </p> </li> <li> <p>For a Kinesis Data Firehose delivery stream, provide the name of the delivery stream, with key <code>deliveryStream</code>. The following example specifies a delivery stream named <code>alert-delivery-stream</code>: </p> <p> <code>\"LogDestination\": { \"deliveryStream\": \"alert-delivery-stream\" }</code> </p> </li> </ul>" 1649 } 1650 }, 1651 "documentation":"<p>Defines where AWS Network Firewall sends logs for the firewall for one log type. This is used in <a>LoggingConfiguration</a>. You can send each type of log to an Amazon S3 bucket, a CloudWatch log group, or a Kinesis Data Firehose delivery stream.</p> <p>Network Firewall generates logs for stateful rule groups. You can save alert and flow log types. The stateful rules engine records flow logs for all network traffic that it receives. It records alert logs for traffic that matches stateful rules that have the rule action set to <code>DROP</code> or <code>ALERT</code>. </p>" 1652 }, 1653 "LogDestinationConfigs":{ 1654 "type":"list", 1655 "member":{"shape":"LogDestinationConfig"} 1656 }, 1657 "LogDestinationMap":{ 1658 "type":"map", 1659 "key":{"shape":"HashMapKey"}, 1660 "value":{"shape":"HashMapValue"} 1661 }, 1662 "LogDestinationPermissionException":{ 1663 "type":"structure", 1664 "members":{ 1665 "Message":{"shape":"ErrorMessage"} 1666 }, 1667 "documentation":"<p>Unable to send logs to a configured logging destination. </p>", 1668 "exception":true 1669 }, 1670 "LogDestinationType":{ 1671 "type":"string", 1672 "enum":[ 1673 "S3", 1674 "CloudWatchLogs", 1675 "KinesisDataFirehose" 1676 ], 1677 "max":30, 1678 "min":2, 1679 "pattern":"[0-9A-Za-z]+" 1680 }, 1681 "LogType":{ 1682 "type":"string", 1683 "enum":[ 1684 "ALERT", 1685 "FLOW" 1686 ] 1687 }, 1688 "LoggingConfiguration":{ 1689 "type":"structure", 1690 "required":["LogDestinationConfigs"], 1691 "members":{ 1692 "LogDestinationConfigs":{ 1693 "shape":"LogDestinationConfigs", 1694 "documentation":"<p>Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful rule groups. </p>" 1695 } 1696 }, 1697 "documentation":"<p>Defines how AWS Network Firewall performs logging for a <a>Firewall</a>. </p>" 1698 }, 1699 "MatchAttributes":{ 1700 "type":"structure", 1701 "members":{ 1702 "Sources":{ 1703 "shape":"Addresses", 1704 "documentation":"<p>The source IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address. </p>" 1705 }, 1706 "Destinations":{ 1707 "shape":"Addresses", 1708 "documentation":"<p>The destination IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address. </p>" 1709 }, 1710 "SourcePorts":{ 1711 "shape":"PortRanges", 1712 "documentation":"<p>The source ports to inspect for. If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP). </p> <p>You can specify individual ports, for example <code>1994</code> and you can specify port ranges, for example <code>1990:1994</code>. </p>" 1713 }, 1714 "DestinationPorts":{ 1715 "shape":"PortRanges", 1716 "documentation":"<p>The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP). </p> <p>You can specify individual ports, for example <code>1994</code> and you can specify port ranges, for example <code>1990:1994</code>. </p>" 1717 }, 1718 "Protocols":{ 1719 "shape":"ProtocolNumbers", 1720 "documentation":"<p>The protocols to inspect for, specified using each protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol. </p>" 1721 }, 1722 "TCPFlags":{ 1723 "shape":"TCPFlags", 1724 "documentation":"<p>The TCP flags and masks to inspect for. If not specified, this matches with any settings. This setting is only used for protocol 6 (TCP).</p>" 1725 } 1726 }, 1727 "documentation":"<p>Criteria for Network Firewall to use to inspect an individual packet in stateless rule inspection. Each match attributes set can include one or more items such as IP address, CIDR range, port number, protocol, and TCP flags. </p>" 1728 }, 1729 "NumberOfAssociations":{"type":"integer"}, 1730 "PaginationMaxResults":{ 1731 "type":"integer", 1732 "max":100, 1733 "min":1 1734 }, 1735 "PaginationToken":{ 1736 "type":"string", 1737 "max":2048, 1738 "min":1, 1739 "pattern":"[0-9A-Za-z:\\/+=]+$" 1740 }, 1741 "PerObjectStatus":{ 1742 "type":"structure", 1743 "members":{ 1744 "SyncStatus":{ 1745 "shape":"PerObjectSyncStatus", 1746 "documentation":"<p>Indicates whether this object is in sync with the version indicated in the update token.</p>" 1747 }, 1748 "UpdateToken":{ 1749 "shape":"UpdateToken", 1750 "documentation":"<p>The current version of the object that is either in sync or pending synchronization. </p>" 1751 } 1752 }, 1753 "documentation":"<p>Provides configuration status for a single policy or rule group that is used for a firewall endpoint. Network Firewall provides each endpoint with the rules that are configured in the firewall policy. Each time you add a subnet or modify the associated firewall policy, Network Firewall synchronizes the rules in the endpoint, so it can properly filter network traffic. This is part of a <a>SyncState</a> for a firewall.</p>" 1754 }, 1755 "PerObjectSyncStatus":{ 1756 "type":"string", 1757 "enum":[ 1758 "PENDING", 1759 "IN_SYNC" 1760 ] 1761 }, 1762 "PolicyString":{ 1763 "type":"string", 1764 "max":395000, 1765 "min":1, 1766 "pattern":".*\\S.*" 1767 }, 1768 "Port":{ 1769 "type":"string", 1770 "max":1024, 1771 "min":1, 1772 "pattern":"^.*$" 1773 }, 1774 "PortRange":{ 1775 "type":"structure", 1776 "required":[ 1777 "FromPort", 1778 "ToPort" 1779 ], 1780 "members":{ 1781 "FromPort":{ 1782 "shape":"PortRangeBound", 1783 "documentation":"<p>The lower limit of the port range. This must be less than or equal to the <code>ToPort</code> specification. </p>" 1784 }, 1785 "ToPort":{ 1786 "shape":"PortRangeBound", 1787 "documentation":"<p>The upper limit of the port range. This must be greater than or equal to the <code>FromPort</code> specification. </p>" 1788 } 1789 }, 1790 "documentation":"<p>A single port range specification. This is used for source and destination port ranges in the stateless rule <a>MatchAttributes</a>, <code>SourcePorts</code>, and <code>DestinationPorts</code> settings. </p>" 1791 }, 1792 "PortRangeBound":{ 1793 "type":"integer", 1794 "max":65535, 1795 "min":0 1796 }, 1797 "PortRanges":{ 1798 "type":"list", 1799 "member":{"shape":"PortRange"} 1800 }, 1801 "PortSet":{ 1802 "type":"structure", 1803 "members":{ 1804 "Definition":{ 1805 "shape":"VariableDefinitionList", 1806 "documentation":"<p>The set of port ranges. </p>" 1807 } 1808 }, 1809 "documentation":"<p>A set of port ranges for use in the rules in a rule group. </p>" 1810 }, 1811 "PortSets":{ 1812 "type":"map", 1813 "key":{"shape":"RuleVariableName"}, 1814 "value":{"shape":"PortSet"} 1815 }, 1816 "Priority":{ 1817 "type":"integer", 1818 "max":65535, 1819 "min":1 1820 }, 1821 "ProtocolNumber":{ 1822 "type":"integer", 1823 "max":255, 1824 "min":0 1825 }, 1826 "ProtocolNumbers":{ 1827 "type":"list", 1828 "member":{"shape":"ProtocolNumber"} 1829 }, 1830 "PublishMetricAction":{ 1831 "type":"structure", 1832 "required":["Dimensions"], 1833 "members":{ 1834 "Dimensions":{ 1835 "shape":"Dimensions", 1836 "documentation":"<p/>" 1837 } 1838 }, 1839 "documentation":"<p>Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet. This setting defines a CloudWatch dimension value to be published.</p>" 1840 }, 1841 "PutResourcePolicyRequest":{ 1842 "type":"structure", 1843 "required":[ 1844 "ResourceArn", 1845 "Policy" 1846 ], 1847 "members":{ 1848 "ResourceArn":{ 1849 "shape":"ResourceArn", 1850 "documentation":"<p>The Amazon Resource Name (ARN) of the account that you want to share rule groups and firewall policies with.</p>" 1851 }, 1852 "Policy":{ 1853 "shape":"PolicyString", 1854 "documentation":"<p>The AWS Identity and Access Management policy statement that lists the accounts that you want to share your rule group or firewall policy with and the operations that you want the accounts to be able to perform. </p> <p>For a rule group resource, you can specify the following operations in the Actions section of the statement:</p> <ul> <li> <p>network-firewall:CreateFirewallPolicy</p> </li> <li> <p>network-firewall:UpdateFirewallPolicy</p> </li> <li> <p>network-firewall:ListRuleGroups</p> </li> </ul> <p>For a firewall policy resource, you can specify the following operations in the Actions section of the statement:</p> <ul> <li> <p>network-firewall:CreateFirewall</p> </li> <li> <p>network-firewall:UpdateFirewall</p> </li> <li> <p>network-firewall:AssociateFirewallPolicy</p> </li> <li> <p>network-firewall:ListFirewallPolicies</p> </li> </ul> <p>In the Resource section of the statement, you specify the ARNs for the rule groups and firewall policies that you want to share with the account that you specified in <code>Arn</code>.</p>" 1855 } 1856 } 1857 }, 1858 "PutResourcePolicyResponse":{ 1859 "type":"structure", 1860 "members":{ 1861 } 1862 }, 1863 "ResourceArn":{ 1864 "type":"string", 1865 "max":256, 1866 "min":1, 1867 "pattern":"^arn:aws.*" 1868 }, 1869 "ResourceId":{ 1870 "type":"string", 1871 "max":36, 1872 "min":36, 1873 "pattern":"^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$" 1874 }, 1875 "ResourceName":{ 1876 "type":"string", 1877 "max":128, 1878 "min":1, 1879 "pattern":"^[a-zA-Z0-9-]+$" 1880 }, 1881 "ResourceNotFoundException":{ 1882 "type":"structure", 1883 "members":{ 1884 "Message":{"shape":"ErrorMessage"} 1885 }, 1886 "documentation":"<p>Unable to locate a resource using the parameters that you provided.</p>", 1887 "exception":true 1888 }, 1889 "ResourceOwnerCheckException":{ 1890 "type":"structure", 1891 "members":{ 1892 "Message":{"shape":"ErrorMessage"} 1893 }, 1894 "documentation":"<p>Unable to change the resource because your account doesn't own it. </p>", 1895 "exception":true 1896 }, 1897 "ResourceStatus":{ 1898 "type":"string", 1899 "enum":[ 1900 "ACTIVE", 1901 "DELETING" 1902 ] 1903 }, 1904 "RuleCapacity":{"type":"integer"}, 1905 "RuleDefinition":{ 1906 "type":"structure", 1907 "required":[ 1908 "MatchAttributes", 1909 "Actions" 1910 ], 1911 "members":{ 1912 "MatchAttributes":{ 1913 "shape":"MatchAttributes", 1914 "documentation":"<p>Criteria for Network Firewall to use to inspect an individual packet in stateless rule inspection. Each match attributes set can include one or more items such as IP address, CIDR range, port number, protocol, and TCP flags. </p>" 1915 }, 1916 "Actions":{ 1917 "shape":"StatelessActions", 1918 "documentation":"<p>The actions to take on a packet that matches one of the stateless rule definition's match attributes. You must specify a standard action and you can add custom actions. </p> <note> <p>Network Firewall only forwards a packet for stateful rule inspection if you specify <code>aws:forward_to_sfe</code> for a rule that the packet matches, or if the packet doesn't match any stateless rule and you specify <code>aws:forward_to_sfe</code> for the <code>StatelessDefaultActions</code> setting for the <a>FirewallPolicy</a>.</p> </note> <p>For every rule, you must specify exactly one of the following standard actions. </p> <ul> <li> <p> <b>aws:pass</b> - Discontinues all inspection of the packet and permits it to go to its intended destination.</p> </li> <li> <p> <b>aws:drop</b> - Discontinues all inspection of the packet and blocks it from going to its intended destination.</p> </li> <li> <p> <b>aws:forward_to_sfe</b> - Discontinues stateless inspection of the packet and forwards it to the stateful rule engine for inspection. </p> </li> </ul> <p>Additionally, you can specify a custom action. To do this, you define a custom action by name and type, then provide the name you've assigned to the action in this <code>Actions</code> setting. For information about the options, see <a>CustomAction</a>. </p> <p>To provide more than one action in this setting, separate the settings with a comma. For example, if you have a custom <code>PublishMetrics</code> action that you've named <code>MyMetricsAction</code>, then you could specify the standard action <code>aws:pass</code> and the custom action with <code>[“aws:pass”, “MyMetricsAction”]</code>. </p>" 1919 } 1920 }, 1921 "documentation":"<p>The inspection criteria and action for a single stateless rule. AWS Network Firewall inspects each packet for the specified matching criteria. When a packet matches the criteria, Network Firewall performs the rule's actions on the packet.</p>" 1922 }, 1923 "RuleGroup":{ 1924 "type":"structure", 1925 "required":["RulesSource"], 1926 "members":{ 1927 "RuleVariables":{ 1928 "shape":"RuleVariables", 1929 "documentation":"<p>Settings that are available for use in the rules in the rule group. You can only use these for stateful rule groups. </p>" 1930 }, 1931 "RulesSource":{ 1932 "shape":"RulesSource", 1933 "documentation":"<p>The stateful rules or stateless rules for the rule group. </p>" 1934 }, 1935 "StatefulRuleOptions":{ 1936 "shape":"StatefulRuleOptions", 1937 "documentation":"<p>Additional options governing how Network Firewall handles stateful rules. The policies where you use your stateful rule group must have stateful rule options settings that are compatible with these settings.</p>" 1938 } 1939 }, 1940 "documentation":"<p>The object that defines the rules in a rule group. This, along with <a>RuleGroupResponse</a>, define the rule group. You can retrieve all objects for a rule group by calling <a>DescribeRuleGroup</a>. </p> <p>AWS Network Firewall uses a rule group to inspect and control network traffic. You define stateless rule groups to inspect individual packets and you define stateful rule groups to inspect packets in the context of their traffic flow. </p> <p>To use a rule group, you include it by reference in an Network Firewall firewall policy, then you use the policy in a firewall. You can reference a rule group from more than one firewall policy, and you can use a firewall policy in more than one firewall. </p>" 1941 }, 1942 "RuleGroupMetadata":{ 1943 "type":"structure", 1944 "members":{ 1945 "Name":{ 1946 "shape":"ResourceName", 1947 "documentation":"<p>The descriptive name of the rule group. You can't change the name of a rule group after you create it.</p>" 1948 }, 1949 "Arn":{ 1950 "shape":"ResourceArn", 1951 "documentation":"<p>The Amazon Resource Name (ARN) of the rule group.</p>" 1952 } 1953 }, 1954 "documentation":"<p>High-level information about a rule group, returned by <a>ListRuleGroups</a>. You can use the information provided in the metadata to retrieve and manage a rule group.</p>" 1955 }, 1956 "RuleGroupResponse":{ 1957 "type":"structure", 1958 "required":[ 1959 "RuleGroupArn", 1960 "RuleGroupName", 1961 "RuleGroupId" 1962 ], 1963 "members":{ 1964 "RuleGroupArn":{ 1965 "shape":"ResourceArn", 1966 "documentation":"<p>The Amazon Resource Name (ARN) of the rule group.</p> <note> <p>If this response is for a create request that had <code>DryRun</code> set to <code>TRUE</code>, then this ARN is a placeholder that isn't attached to a valid resource.</p> </note>" 1967 }, 1968 "RuleGroupName":{ 1969 "shape":"ResourceName", 1970 "documentation":"<p>The descriptive name of the rule group. You can't change the name of a rule group after you create it.</p>" 1971 }, 1972 "RuleGroupId":{ 1973 "shape":"ResourceId", 1974 "documentation":"<p>The unique identifier for the rule group. </p>" 1975 }, 1976 "Description":{ 1977 "shape":"Description", 1978 "documentation":"<p>A description of the rule group. </p>" 1979 }, 1980 "Type":{ 1981 "shape":"RuleGroupType", 1982 "documentation":"<p>Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules. </p>" 1983 }, 1984 "Capacity":{ 1985 "shape":"RuleCapacity", 1986 "documentation":"<p>The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group. </p> <p>You can retrieve the capacity that would be required for a rule group before you create the rule group by calling <a>CreateRuleGroup</a> with <code>DryRun</code> set to <code>TRUE</code>. </p>" 1987 }, 1988 "RuleGroupStatus":{ 1989 "shape":"ResourceStatus", 1990 "documentation":"<p>Detailed information about the current status of a rule group. </p>" 1991 }, 1992 "Tags":{ 1993 "shape":"TagList", 1994 "documentation":"<p>The key:value pairs to associate with the resource.</p>" 1995 }, 1996 "ConsumedCapacity":{ 1997 "shape":"RuleCapacity", 1998 "documentation":"<p>The number of capacity units currently consumed by the rule group rules. </p>" 1999 }, 2000 "NumberOfAssociations":{ 2001 "shape":"NumberOfAssociations", 2002 "documentation":"<p>The number of firewall policies that use this rule group.</p>" 2003 } 2004 }, 2005 "documentation":"<p>The high-level properties of a rule group. This, along with the <a>RuleGroup</a>, define the rule group. You can retrieve all objects for a rule group by calling <a>DescribeRuleGroup</a>. </p>" 2006 }, 2007 "RuleGroupType":{ 2008 "type":"string", 2009 "enum":[ 2010 "STATELESS", 2011 "STATEFUL" 2012 ] 2013 }, 2014 "RuleGroups":{ 2015 "type":"list", 2016 "member":{"shape":"RuleGroupMetadata"} 2017 }, 2018 "RuleOption":{ 2019 "type":"structure", 2020 "required":["Keyword"], 2021 "members":{ 2022 "Keyword":{ 2023 "shape":"Keyword", 2024 "documentation":"<p/>" 2025 }, 2026 "Settings":{ 2027 "shape":"Settings", 2028 "documentation":"<p/>" 2029 } 2030 }, 2031 "documentation":"<p>Additional settings for a stateful rule. This is part of the <a>StatefulRule</a> configuration.</p>" 2032 }, 2033 "RuleOptions":{ 2034 "type":"list", 2035 "member":{"shape":"RuleOption"} 2036 }, 2037 "RuleOrder":{ 2038 "type":"string", 2039 "enum":[ 2040 "DEFAULT_ACTION_ORDER", 2041 "STRICT_ORDER" 2042 ] 2043 }, 2044 "RuleTargets":{ 2045 "type":"list", 2046 "member":{"shape":"CollectionMember_String"} 2047 }, 2048 "RuleVariableName":{ 2049 "type":"string", 2050 "max":32, 2051 "min":1, 2052 "pattern":"^[A-Za-z][A-Za-z0-9_]*$" 2053 }, 2054 "RuleVariables":{ 2055 "type":"structure", 2056 "members":{ 2057 "IPSets":{ 2058 "shape":"IPSets", 2059 "documentation":"<p>A list of IP addresses and address ranges, in CIDR notation. </p>" 2060 }, 2061 "PortSets":{ 2062 "shape":"PortSets", 2063 "documentation":"<p>A list of port ranges. </p>" 2064 } 2065 }, 2066 "documentation":"<p>Settings that are available for use in the rules in the <a>RuleGroup</a> where this is defined. </p>" 2067 }, 2068 "RulesSource":{ 2069 "type":"structure", 2070 "members":{ 2071 "RulesString":{ 2072 "shape":"RulesString", 2073 "documentation":"<p>Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules. Suricata is an open-source network IPS that includes a standard rule-based language for network traffic inspection.</p> <p>These rules contain the inspection criteria and the action to take for traffic that matches the criteria, so this type of rule group doesn't have a separate action setting.</p>" 2074 }, 2075 "RulesSourceList":{ 2076 "shape":"RulesSourceList", 2077 "documentation":"<p>Stateful inspection criteria for a domain list rule group. </p>" 2078 }, 2079 "StatefulRules":{ 2080 "shape":"StatefulRules", 2081 "documentation":"<p>An array of individual stateful rules inspection criteria to be used together in a stateful rule group. Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. For information about the Suricata <code>Rules</code> format, see <a href=\"https://suricata.readthedocs.io/en/suricata-5.0.0/rules/intro.html#\">Rules Format</a>. </p>" 2082 }, 2083 "StatelessRulesAndCustomActions":{ 2084 "shape":"StatelessRulesAndCustomActions", 2085 "documentation":"<p>Stateless inspection criteria to be used in a stateless rule group. </p>" 2086 } 2087 }, 2088 "documentation":"<p>The stateless or stateful rules definitions for use in a single rule group. Each rule group requires a single <code>RulesSource</code>. You can use an instance of this for either stateless rules or stateful rules. </p>" 2089 }, 2090 "RulesSourceList":{ 2091 "type":"structure", 2092 "required":[ 2093 "Targets", 2094 "TargetTypes", 2095 "GeneratedRulesType" 2096 ], 2097 "members":{ 2098 "Targets":{ 2099 "shape":"RuleTargets", 2100 "documentation":"<p>The domains that you want to inspect for in your traffic flows. To provide multiple domains, separate them with commas. Valid domain specifications are the following:</p> <ul> <li> <p>Explicit names. For example, <code>abc.example.com</code> matches only the domain <code>abc.example.com</code>.</p> </li> <li> <p>Names that use a domain wildcard, which you indicate with an initial '<code>.</code>'. For example,<code>.example.com</code> matches <code>example.com</code> and matches all subdomains of <code>example.com</code>, such as <code>abc.example.com</code> and <code>www.example.com</code>. </p> </li> </ul>" 2101 }, 2102 "TargetTypes":{ 2103 "shape":"TargetTypes", 2104 "documentation":"<p>The protocols you want to inspect. Specify <code>TLS_SNI</code> for <code>HTTPS</code>. Specify <code>HTTP_HOST</code> for <code>HTTP</code>. You can specify either or both. </p>" 2105 }, 2106 "GeneratedRulesType":{ 2107 "shape":"GeneratedRulesType", 2108 "documentation":"<p>Whether you want to allow or deny access to the domains in your target list.</p>" 2109 } 2110 }, 2111 "documentation":"<p>Stateful inspection criteria for a domain list rule group. </p> <p>For HTTPS traffic, domain filtering is SNI-based. It uses the server name indicator extension of the TLS handshake.</p> <p>By default, Network Firewall domain list inspection only includes traffic coming from the VPC where you deploy the firewall. To inspect traffic from IP addresses outside of the deployment VPC, you set the <code>HOME_NET</code> rule variable to include the CIDR range of the deployment VPC plus the other CIDR ranges. For more information, see <a>RuleVariables</a> in this guide and <a href=\"https://docs.aws.amazon.com/network-firewall/latest/developerguide/stateful-rule-groups-domain-names.html\">Stateful domain list rule groups in AWS Network Firewall</a> in the <i>Network Firewall Developer Guide</i>.</p>" 2112 }, 2113 "RulesString":{ 2114 "type":"string", 2115 "max":2000000, 2116 "min":0 2117 }, 2118 "Setting":{ 2119 "type":"string", 2120 "max":8192, 2121 "min":1, 2122 "pattern":".*" 2123 }, 2124 "Settings":{ 2125 "type":"list", 2126 "member":{"shape":"Setting"} 2127 }, 2128 "Source":{ 2129 "type":"string", 2130 "max":1024, 2131 "min":1, 2132 "pattern":"^.*$" 2133 }, 2134 "StatefulAction":{ 2135 "type":"string", 2136 "enum":[ 2137 "PASS", 2138 "DROP", 2139 "ALERT" 2140 ] 2141 }, 2142 "StatefulActions":{ 2143 "type":"list", 2144 "member":{"shape":"CollectionMember_String"} 2145 }, 2146 "StatefulEngineOptions":{ 2147 "type":"structure", 2148 "members":{ 2149 "RuleOrder":{ 2150 "shape":"RuleOrder", 2151 "documentation":"<p>Indicates how to manage the order of stateful rule evaluation for the policy. By default, Network Firewall leaves the rule evaluation order up to the Suricata rule processing engine. If you set this to <code>STRICT_ORDER</code>, your rules are evaluated in the exact order that you provide them in the policy. With strict ordering, the rule groups are evaluated by order of priority, starting from the lowest number, and the rules in each rule group are processed in the order that they're defined. </p>" 2152 } 2153 }, 2154 "documentation":"<p>Configuration settings for the handling of the stateful rule groups in a firewall policy. </p>" 2155 }, 2156 "StatefulRule":{ 2157 "type":"structure", 2158 "required":[ 2159 "Action", 2160 "Header", 2161 "RuleOptions" 2162 ], 2163 "members":{ 2164 "Action":{ 2165 "shape":"StatefulAction", 2166 "documentation":"<p>Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful rule criteria. For all actions, Network Firewall performs the specified action and discontinues stateful inspection of the traffic flow. </p> <p>The actions for a stateful rule are defined as follows: </p> <ul> <li> <p> <b>PASS</b> - Permits the packets to go to the intended destination.</p> </li> <li> <p> <b>DROP</b> - Blocks the packets from going to the intended destination and sends an alert log message, if alert logging is configured in the <a>Firewall</a> <a>LoggingConfiguration</a>. </p> </li> <li> <p> <b>ALERT</b> - Permits the packets to go to the intended destination and sends an alert log message, if alert logging is configured in the <a>Firewall</a> <a>LoggingConfiguration</a>. </p> <p>You can use this action to test a rule that you intend to use to drop traffic. You can enable the rule with <code>ALERT</code> action, verify in the logs that the rule is filtering as you want, then change the action to <code>DROP</code>.</p> </li> </ul>" 2167 }, 2168 "Header":{ 2169 "shape":"Header", 2170 "documentation":"<p>The stateful inspection criteria for this rule, used to inspect traffic flows. </p>" 2171 }, 2172 "RuleOptions":{ 2173 "shape":"RuleOptions", 2174 "documentation":"<p>Additional options for the rule. These are the Suricata <code>RuleOptions</code> settings.</p>" 2175 } 2176 }, 2177 "documentation":"<p>A single Suricata rules specification, for use in a stateful rule group. Use this option to specify a simple Suricata rule with protocol, source and destination, ports, direction, and rule options. For information about the Suricata <code>Rules</code> format, see <a href=\"https://suricata.readthedocs.io/en/suricata-5.0.0/rules/intro.html#\">Rules Format</a>. </p>" 2178 }, 2179 "StatefulRuleDirection":{ 2180 "type":"string", 2181 "enum":[ 2182 "FORWARD", 2183 "ANY" 2184 ] 2185 }, 2186 "StatefulRuleGroupReference":{ 2187 "type":"structure", 2188 "required":["ResourceArn"], 2189 "members":{ 2190 "ResourceArn":{ 2191 "shape":"ResourceArn", 2192 "documentation":"<p>The Amazon Resource Name (ARN) of the stateful rule group.</p>" 2193 }, 2194 "Priority":{ 2195 "shape":"Priority", 2196 "documentation":"<p>An integer setting that indicates the order in which to run the stateful rule groups in a single <a>FirewallPolicy</a>. This setting only applies to firewall policies that specify the <code>STRICT_ORDER</code> rule order in the stateful engine options settings.</p> <p>Network Firewall evalutes each stateful rule group against a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy.</p> <p>You can change the priority settings of your rule groups at any time. To make it easier to insert rule groups later, number them so there's a wide range in between, for example use 100, 200, and so on. </p>", 2197 "box":true 2198 } 2199 }, 2200 "documentation":"<p>Identifier for a single stateful rule group, used in a firewall policy to refer to a rule group. </p>" 2201 }, 2202 "StatefulRuleGroupReferences":{ 2203 "type":"list", 2204 "member":{"shape":"StatefulRuleGroupReference"} 2205 }, 2206 "StatefulRuleOptions":{ 2207 "type":"structure", 2208 "members":{ 2209 "RuleOrder":{ 2210 "shape":"RuleOrder", 2211 "documentation":"<p>Indicates how to manage the order of the rule evaluation for the rule group. By default, Network Firewall leaves the rule evaluation order up to the Suricata rule processing engine. If you set this to <code>STRICT_ORDER</code>, your rules are evaluated in the exact order that they're listed in your Suricata rules string. </p>" 2212 } 2213 }, 2214 "documentation":"<p>Additional options governing how Network Firewall handles the rule group. You can only use these for stateful rule groups.</p>" 2215 }, 2216 "StatefulRuleProtocol":{ 2217 "type":"string", 2218 "enum":[ 2219 "IP", 2220 "TCP", 2221 "UDP", 2222 "ICMP", 2223 "HTTP", 2224 "FTP", 2225 "TLS", 2226 "SMB", 2227 "DNS", 2228 "DCERPC", 2229 "SSH", 2230 "SMTP", 2231 "IMAP", 2232 "MSN", 2233 "KRB5", 2234 "IKEV2", 2235 "TFTP", 2236 "NTP", 2237 "DHCP" 2238 ] 2239 }, 2240 "StatefulRules":{ 2241 "type":"list", 2242 "member":{"shape":"StatefulRule"} 2243 }, 2244 "StatelessActions":{ 2245 "type":"list", 2246 "member":{"shape":"CollectionMember_String"} 2247 }, 2248 "StatelessRule":{ 2249 "type":"structure", 2250 "required":[ 2251 "RuleDefinition", 2252 "Priority" 2253 ], 2254 "members":{ 2255 "RuleDefinition":{ 2256 "shape":"RuleDefinition", 2257 "documentation":"<p>Defines the stateless 5-tuple packet inspection criteria and the action to take on a packet that matches the criteria. </p>" 2258 }, 2259 "Priority":{ 2260 "shape":"Priority", 2261 "documentation":"<p>Indicates the order in which to run this rule relative to all of the rules that are defined for a stateless rule group. Network Firewall evaluates the rules in a rule group starting with the lowest priority setting. You must ensure that the priority settings are unique for the rule group. </p> <p>Each stateless rule group uses exactly one <code>StatelessRulesAndCustomActions</code> object, and each <code>StatelessRulesAndCustomActions</code> contains exactly one <code>StatelessRules</code> object. To ensure unique priority settings for your rule groups, set unique priorities for the stateless rules that you define inside any single <code>StatelessRules</code> object.</p> <p>You can change the priority settings of your rules at any time. To make it easier to insert rules later, number them so there's a wide range in between, for example use 100, 200, and so on. </p>" 2262 } 2263 }, 2264 "documentation":"<p>A single stateless rule. This is used in <a>StatelessRulesAndCustomActions</a>.</p>" 2265 }, 2266 "StatelessRuleGroupReference":{ 2267 "type":"structure", 2268 "required":[ 2269 "ResourceArn", 2270 "Priority" 2271 ], 2272 "members":{ 2273 "ResourceArn":{ 2274 "shape":"ResourceArn", 2275 "documentation":"<p>The Amazon Resource Name (ARN) of the stateless rule group.</p>" 2276 }, 2277 "Priority":{ 2278 "shape":"Priority", 2279 "documentation":"<p>An integer setting that indicates the order in which to run the stateless rule groups in a single <a>FirewallPolicy</a>. Network Firewall applies each stateless rule group to a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy.</p>" 2280 } 2281 }, 2282 "documentation":"<p>Identifier for a single stateless rule group, used in a firewall policy to refer to the rule group. </p>" 2283 }, 2284 "StatelessRuleGroupReferences":{ 2285 "type":"list", 2286 "member":{"shape":"StatelessRuleGroupReference"} 2287 }, 2288 "StatelessRules":{ 2289 "type":"list", 2290 "member":{"shape":"StatelessRule"} 2291 }, 2292 "StatelessRulesAndCustomActions":{ 2293 "type":"structure", 2294 "required":["StatelessRules"], 2295 "members":{ 2296 "StatelessRules":{ 2297 "shape":"StatelessRules", 2298 "documentation":"<p>Defines the set of stateless rules for use in a stateless rule group. </p>" 2299 }, 2300 "CustomActions":{ 2301 "shape":"CustomActions", 2302 "documentation":"<p>Defines an array of individual custom action definitions that are available for use by the stateless rules in this <code>StatelessRulesAndCustomActions</code> specification. You name each custom action that you define, and then you can use it by name in your <a>StatelessRule</a> <a>RuleDefinition</a> <code>Actions</code> specification.</p>" 2303 } 2304 }, 2305 "documentation":"<p>Stateless inspection criteria. Each stateless rule group uses exactly one of these data types to define its stateless rules. </p>" 2306 }, 2307 "SubnetMapping":{ 2308 "type":"structure", 2309 "required":["SubnetId"], 2310 "members":{ 2311 "SubnetId":{ 2312 "shape":"CollectionMember_String", 2313 "documentation":"<p>The unique identifier for the subnet. </p>" 2314 } 2315 }, 2316 "documentation":"<p>The ID for a subnet that you want to associate with the firewall. This is used with <a>CreateFirewall</a> and <a>AssociateSubnets</a>. AWS Network Firewall creates an instance of the associated firewall in each subnet that you specify, to filter traffic in the subnet's Availability Zone.</p>" 2317 }, 2318 "SubnetMappings":{ 2319 "type":"list", 2320 "member":{"shape":"SubnetMapping"} 2321 }, 2322 "SyncState":{ 2323 "type":"structure", 2324 "members":{ 2325 "Attachment":{ 2326 "shape":"Attachment", 2327 "documentation":"<p>The attachment status of the firewall's association with a single VPC subnet. For each configured subnet, Network Firewall creates the attachment by instantiating the firewall endpoint in the subnet so that it's ready to take traffic. This is part of the <a>FirewallStatus</a>.</p>" 2328 }, 2329 "Config":{ 2330 "shape":"SyncStateConfig", 2331 "documentation":"<p>The configuration status of the firewall endpoint in a single VPC subnet. Network Firewall provides each endpoint with the rules that are configured in the firewall policy. Each time you add a subnet or modify the associated firewall policy, Network Firewall synchronizes the rules in the endpoint, so it can properly filter network traffic. This is part of the <a>FirewallStatus</a>.</p>" 2332 } 2333 }, 2334 "documentation":"<p>The status of the firewall endpoint and firewall policy configuration for a single VPC subnet. </p> <p>For each VPC subnet that you associate with a firewall, AWS Network Firewall does the following: </p> <ul> <li> <p>Instantiates a firewall endpoint in the subnet, ready to take traffic.</p> </li> <li> <p>Configures the endpoint with the current firewall policy settings, to provide the filtering behavior for the endpoint.</p> </li> </ul> <p>When you update a firewall, for example to add a subnet association or change a rule group in the firewall policy, the affected sync states reflect out-of-sync or not ready status until the changes are complete. </p>" 2335 }, 2336 "SyncStateConfig":{ 2337 "type":"map", 2338 "key":{"shape":"ResourceName"}, 2339 "value":{"shape":"PerObjectStatus"} 2340 }, 2341 "SyncStates":{ 2342 "type":"map", 2343 "key":{"shape":"AvailabilityZone"}, 2344 "value":{"shape":"SyncState"} 2345 }, 2346 "TCPFlag":{ 2347 "type":"string", 2348 "enum":[ 2349 "FIN", 2350 "SYN", 2351 "RST", 2352 "PSH", 2353 "ACK", 2354 "URG", 2355 "ECE", 2356 "CWR" 2357 ] 2358 }, 2359 "TCPFlagField":{ 2360 "type":"structure", 2361 "required":["Flags"], 2362 "members":{ 2363 "Flags":{ 2364 "shape":"Flags", 2365 "documentation":"<p>Used in conjunction with the <code>Masks</code> setting to define the flags that must be set and flags that must not be set in order for the packet to match. This setting can only specify values that are also specified in the <code>Masks</code> setting.</p> <p>For the flags that are specified in the masks setting, the following must be true for the packet to match: </p> <ul> <li> <p>The ones that are set in this flags setting must be set in the packet. </p> </li> <li> <p>The ones that are not set in this flags setting must also not be set in the packet. </p> </li> </ul>" 2366 }, 2367 "Masks":{ 2368 "shape":"Flags", 2369 "documentation":"<p>The set of flags to consider in the inspection. To inspect all flags in the valid values list, leave this with no setting.</p>" 2370 } 2371 }, 2372 "documentation":"<p>TCP flags and masks to inspect packets for, used in stateless rules <a>MatchAttributes</a> settings.</p>" 2373 }, 2374 "TCPFlags":{ 2375 "type":"list", 2376 "member":{"shape":"TCPFlagField"} 2377 }, 2378 "Tag":{ 2379 "type":"structure", 2380 "required":[ 2381 "Key", 2382 "Value" 2383 ], 2384 "members":{ 2385 "Key":{ 2386 "shape":"TagKey", 2387 "documentation":"<p>The part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as \"customer.\" Tag keys are case-sensitive.</p>" 2388 }, 2389 "Value":{ 2390 "shape":"TagValue", 2391 "documentation":"<p>The part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as \"companyA\" or \"companyB.\" Tag values are case-sensitive.</p>" 2392 } 2393 }, 2394 "documentation":"<p>A key:value pair associated with an AWS resource. The key:value pair can be anything you define. Typically, the tag key represents a category (such as \"environment\") and the tag value represents a specific value within that category (such as \"test,\" \"development,\" or \"production\"). You can add up to 50 tags to each AWS resource. </p>" 2395 }, 2396 "TagKey":{ 2397 "type":"string", 2398 "max":128, 2399 "min":1, 2400 "pattern":"^.*$" 2401 }, 2402 "TagKeyList":{ 2403 "type":"list", 2404 "member":{"shape":"TagKey"}, 2405 "max":200, 2406 "min":1 2407 }, 2408 "TagList":{ 2409 "type":"list", 2410 "member":{"shape":"Tag"}, 2411 "max":200, 2412 "min":1 2413 }, 2414 "TagResourceRequest":{ 2415 "type":"structure", 2416 "required":[ 2417 "ResourceArn", 2418 "Tags" 2419 ], 2420 "members":{ 2421 "ResourceArn":{ 2422 "shape":"ResourceArn", 2423 "documentation":"<p>The Amazon Resource Name (ARN) of the resource.</p>" 2424 }, 2425 "Tags":{ 2426 "shape":"TagList", 2427 "documentation":"<p/>" 2428 } 2429 } 2430 }, 2431 "TagResourceResponse":{ 2432 "type":"structure", 2433 "members":{ 2434 } 2435 }, 2436 "TagValue":{ 2437 "type":"string", 2438 "max":256, 2439 "min":0, 2440 "pattern":"^.*$" 2441 }, 2442 "TagsPaginationMaxResults":{ 2443 "type":"integer", 2444 "max":100, 2445 "min":0 2446 }, 2447 "TargetType":{ 2448 "type":"string", 2449 "enum":[ 2450 "TLS_SNI", 2451 "HTTP_HOST" 2452 ] 2453 }, 2454 "TargetTypes":{ 2455 "type":"list", 2456 "member":{"shape":"TargetType"} 2457 }, 2458 "ThrottlingException":{ 2459 "type":"structure", 2460 "members":{ 2461 "Message":{"shape":"ErrorMessage"} 2462 }, 2463 "documentation":"<p>Unable to process the request due to throttling limitations.</p>", 2464 "exception":true 2465 }, 2466 "UnsupportedOperationException":{ 2467 "type":"structure", 2468 "members":{ 2469 "Message":{"shape":"ErrorMessage"} 2470 }, 2471 "documentation":"<p>The operation you requested isn't supported by Network Firewall. </p>", 2472 "exception":true 2473 }, 2474 "UntagResourceRequest":{ 2475 "type":"structure", 2476 "required":[ 2477 "ResourceArn", 2478 "TagKeys" 2479 ], 2480 "members":{ 2481 "ResourceArn":{ 2482 "shape":"ResourceArn", 2483 "documentation":"<p>The Amazon Resource Name (ARN) of the resource.</p>" 2484 }, 2485 "TagKeys":{ 2486 "shape":"TagKeyList", 2487 "documentation":"<p/>" 2488 } 2489 } 2490 }, 2491 "UntagResourceResponse":{ 2492 "type":"structure", 2493 "members":{ 2494 } 2495 }, 2496 "UpdateFirewallDeleteProtectionRequest":{ 2497 "type":"structure", 2498 "required":["DeleteProtection"], 2499 "members":{ 2500 "UpdateToken":{ 2501 "shape":"UpdateToken", 2502 "documentation":"<p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p> <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p> <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>" 2503 }, 2504 "FirewallArn":{ 2505 "shape":"ResourceArn", 2506 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 2507 }, 2508 "FirewallName":{ 2509 "shape":"ResourceName", 2510 "documentation":"<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 2511 }, 2512 "DeleteProtection":{ 2513 "shape":"Boolean", 2514 "documentation":"<p>A flag indicating whether it is possible to delete the firewall. A setting of <code>TRUE</code> indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to <code>TRUE</code>.</p>" 2515 } 2516 } 2517 }, 2518 "UpdateFirewallDeleteProtectionResponse":{ 2519 "type":"structure", 2520 "members":{ 2521 "FirewallArn":{ 2522 "shape":"ResourceArn", 2523 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall.</p>" 2524 }, 2525 "FirewallName":{ 2526 "shape":"ResourceName", 2527 "documentation":"<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>" 2528 }, 2529 "DeleteProtection":{ 2530 "shape":"Boolean", 2531 "documentation":"<p/>" 2532 }, 2533 "UpdateToken":{ 2534 "shape":"UpdateToken", 2535 "documentation":"<p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p> <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p> <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>" 2536 } 2537 } 2538 }, 2539 "UpdateFirewallDescriptionRequest":{ 2540 "type":"structure", 2541 "members":{ 2542 "UpdateToken":{ 2543 "shape":"UpdateToken", 2544 "documentation":"<p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p> <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p> <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>" 2545 }, 2546 "FirewallArn":{ 2547 "shape":"ResourceArn", 2548 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 2549 }, 2550 "FirewallName":{ 2551 "shape":"ResourceName", 2552 "documentation":"<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 2553 }, 2554 "Description":{ 2555 "shape":"Description", 2556 "documentation":"<p>The new description for the firewall. If you omit this setting, Network Firewall removes the description for the firewall.</p>" 2557 } 2558 } 2559 }, 2560 "UpdateFirewallDescriptionResponse":{ 2561 "type":"structure", 2562 "members":{ 2563 "FirewallArn":{ 2564 "shape":"ResourceArn", 2565 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall.</p>" 2566 }, 2567 "FirewallName":{ 2568 "shape":"ResourceName", 2569 "documentation":"<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>" 2570 }, 2571 "Description":{ 2572 "shape":"Description", 2573 "documentation":"<p>A description of the firewall.</p>" 2574 }, 2575 "UpdateToken":{ 2576 "shape":"UpdateToken", 2577 "documentation":"<p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p> <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p> <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>" 2578 } 2579 } 2580 }, 2581 "UpdateFirewallPolicyChangeProtectionRequest":{ 2582 "type":"structure", 2583 "required":["FirewallPolicyChangeProtection"], 2584 "members":{ 2585 "UpdateToken":{ 2586 "shape":"UpdateToken", 2587 "documentation":"<p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p> <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p> <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>" 2588 }, 2589 "FirewallArn":{ 2590 "shape":"ResourceArn", 2591 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 2592 }, 2593 "FirewallName":{ 2594 "shape":"ResourceName", 2595 "documentation":"<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 2596 }, 2597 "FirewallPolicyChangeProtection":{ 2598 "shape":"Boolean", 2599 "documentation":"<p>A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to <code>TRUE</code>.</p>" 2600 } 2601 } 2602 }, 2603 "UpdateFirewallPolicyChangeProtectionResponse":{ 2604 "type":"structure", 2605 "members":{ 2606 "UpdateToken":{ 2607 "shape":"UpdateToken", 2608 "documentation":"<p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p> <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p> <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>" 2609 }, 2610 "FirewallArn":{ 2611 "shape":"ResourceArn", 2612 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall.</p>" 2613 }, 2614 "FirewallName":{ 2615 "shape":"ResourceName", 2616 "documentation":"<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>" 2617 }, 2618 "FirewallPolicyChangeProtection":{ 2619 "shape":"Boolean", 2620 "documentation":"<p>A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to <code>TRUE</code>.</p>" 2621 } 2622 } 2623 }, 2624 "UpdateFirewallPolicyRequest":{ 2625 "type":"structure", 2626 "required":[ 2627 "UpdateToken", 2628 "FirewallPolicy" 2629 ], 2630 "members":{ 2631 "UpdateToken":{ 2632 "shape":"UpdateToken", 2633 "documentation":"<p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request. </p> <p>To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token. </p>" 2634 }, 2635 "FirewallPolicyArn":{ 2636 "shape":"ResourceArn", 2637 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall policy.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 2638 }, 2639 "FirewallPolicyName":{ 2640 "shape":"ResourceName", 2641 "documentation":"<p>The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 2642 }, 2643 "FirewallPolicy":{ 2644 "shape":"FirewallPolicy", 2645 "documentation":"<p>The updated firewall policy to use for the firewall. </p>" 2646 }, 2647 "Description":{ 2648 "shape":"Description", 2649 "documentation":"<p>A description of the firewall policy.</p>" 2650 }, 2651 "DryRun":{ 2652 "shape":"Boolean", 2653 "documentation":"<p>Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request. </p> <p>If set to <code>TRUE</code>, Network Firewall checks whether the request can run successfully, but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with dry run set to <code>FALSE</code>, but doesn't make additions or changes to your resources. This option allows you to make sure that you have the required permissions to run the request and that your request parameters are valid. </p> <p>If set to <code>FALSE</code>, Network Firewall makes the requested changes to your resources. </p>" 2654 } 2655 } 2656 }, 2657 "UpdateFirewallPolicyResponse":{ 2658 "type":"structure", 2659 "required":[ 2660 "UpdateToken", 2661 "FirewallPolicyResponse" 2662 ], 2663 "members":{ 2664 "UpdateToken":{ 2665 "shape":"UpdateToken", 2666 "documentation":"<p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request. </p> <p>To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token. </p>" 2667 }, 2668 "FirewallPolicyResponse":{ 2669 "shape":"FirewallPolicyResponse", 2670 "documentation":"<p>The high-level properties of a firewall policy. This, along with the <a>FirewallPolicy</a>, define the policy. You can retrieve all objects for a firewall policy by calling <a>DescribeFirewallPolicy</a>. </p>" 2671 } 2672 } 2673 }, 2674 "UpdateLoggingConfigurationRequest":{ 2675 "type":"structure", 2676 "members":{ 2677 "FirewallArn":{ 2678 "shape":"ResourceArn", 2679 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 2680 }, 2681 "FirewallName":{ 2682 "shape":"ResourceName", 2683 "documentation":"<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 2684 }, 2685 "LoggingConfiguration":{ 2686 "shape":"LoggingConfiguration", 2687 "documentation":"<p>Defines how Network Firewall performs logging for a firewall. If you omit this setting, Network Firewall disables logging for the firewall.</p>" 2688 } 2689 } 2690 }, 2691 "UpdateLoggingConfigurationResponse":{ 2692 "type":"structure", 2693 "members":{ 2694 "FirewallArn":{ 2695 "shape":"ResourceArn", 2696 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall.</p>" 2697 }, 2698 "FirewallName":{ 2699 "shape":"ResourceName", 2700 "documentation":"<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>" 2701 }, 2702 "LoggingConfiguration":{"shape":"LoggingConfiguration"} 2703 } 2704 }, 2705 "UpdateRuleGroupRequest":{ 2706 "type":"structure", 2707 "required":["UpdateToken"], 2708 "members":{ 2709 "UpdateToken":{ 2710 "shape":"UpdateToken", 2711 "documentation":"<p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the rule group. The token marks the state of the rule group resource at the time of the request. </p> <p>To make changes to the rule group, you provide the token in your request. Network Firewall uses the token to ensure that the rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token. </p>" 2712 }, 2713 "RuleGroupArn":{ 2714 "shape":"ResourceArn", 2715 "documentation":"<p>The Amazon Resource Name (ARN) of the rule group.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 2716 }, 2717 "RuleGroupName":{ 2718 "shape":"ResourceName", 2719 "documentation":"<p>The descriptive name of the rule group. You can't change the name of a rule group after you create it.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 2720 }, 2721 "RuleGroup":{ 2722 "shape":"RuleGroup", 2723 "documentation":"<p>An object that defines the rule group rules. </p> <note> <p>You must provide either this rule group setting or a <code>Rules</code> setting, but not both. </p> </note>" 2724 }, 2725 "Rules":{ 2726 "shape":"RulesString", 2727 "documentation":"<p>A string containing stateful rule group rules specifications in Suricata flat format, with one rule per line. Use this to import your existing Suricata compatible rule groups. </p> <note> <p>You must provide either this rules setting or a populated <code>RuleGroup</code> setting, but not both. </p> </note> <p>You can provide your rule group specification in Suricata flat format through this setting when you create or update your rule group. The call response returns a <a>RuleGroup</a> object that Network Firewall has populated from your string. </p>" 2728 }, 2729 "Type":{ 2730 "shape":"RuleGroupType", 2731 "documentation":"<p>Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules. </p> <note> <p>This setting is required for requests that do not include the <code>RuleGroupARN</code>.</p> </note>" 2732 }, 2733 "Description":{ 2734 "shape":"Description", 2735 "documentation":"<p>A description of the rule group. </p>" 2736 }, 2737 "DryRun":{ 2738 "shape":"Boolean", 2739 "documentation":"<p>Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request. </p> <p>If set to <code>TRUE</code>, Network Firewall checks whether the request can run successfully, but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with dry run set to <code>FALSE</code>, but doesn't make additions or changes to your resources. This option allows you to make sure that you have the required permissions to run the request and that your request parameters are valid. </p> <p>If set to <code>FALSE</code>, Network Firewall makes the requested changes to your resources. </p>" 2740 } 2741 } 2742 }, 2743 "UpdateRuleGroupResponse":{ 2744 "type":"structure", 2745 "required":[ 2746 "UpdateToken", 2747 "RuleGroupResponse" 2748 ], 2749 "members":{ 2750 "UpdateToken":{ 2751 "shape":"UpdateToken", 2752 "documentation":"<p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the rule group. The token marks the state of the rule group resource at the time of the request. </p> <p>To make changes to the rule group, you provide the token in your request. Network Firewall uses the token to ensure that the rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token. </p>" 2753 }, 2754 "RuleGroupResponse":{ 2755 "shape":"RuleGroupResponse", 2756 "documentation":"<p>The high-level properties of a rule group. This, along with the <a>RuleGroup</a>, define the rule group. You can retrieve all objects for a rule group by calling <a>DescribeRuleGroup</a>. </p>" 2757 } 2758 } 2759 }, 2760 "UpdateSubnetChangeProtectionRequest":{ 2761 "type":"structure", 2762 "required":["SubnetChangeProtection"], 2763 "members":{ 2764 "UpdateToken":{ 2765 "shape":"UpdateToken", 2766 "documentation":"<p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p> <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p> <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>" 2767 }, 2768 "FirewallArn":{ 2769 "shape":"ResourceArn", 2770 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 2771 }, 2772 "FirewallName":{ 2773 "shape":"ResourceName", 2774 "documentation":"<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p> <p>You must specify the ARN or the name, and you can specify both. </p>" 2775 }, 2776 "SubnetChangeProtection":{ 2777 "shape":"Boolean", 2778 "documentation":"<p>A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to <code>TRUE</code>.</p>" 2779 } 2780 } 2781 }, 2782 "UpdateSubnetChangeProtectionResponse":{ 2783 "type":"structure", 2784 "members":{ 2785 "UpdateToken":{ 2786 "shape":"UpdateToken", 2787 "documentation":"<p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p> <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p> <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>" 2788 }, 2789 "FirewallArn":{ 2790 "shape":"ResourceArn", 2791 "documentation":"<p>The Amazon Resource Name (ARN) of the firewall.</p>" 2792 }, 2793 "FirewallName":{ 2794 "shape":"ResourceName", 2795 "documentation":"<p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>" 2796 }, 2797 "SubnetChangeProtection":{ 2798 "shape":"Boolean", 2799 "documentation":"<p>A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to <code>TRUE</code>.</p>" 2800 } 2801 } 2802 }, 2803 "UpdateToken":{ 2804 "type":"string", 2805 "max":1024, 2806 "min":1, 2807 "pattern":"^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$" 2808 }, 2809 "VariableDefinition":{ 2810 "type":"string", 2811 "min":1, 2812 "pattern":"^.*$" 2813 }, 2814 "VariableDefinitionList":{ 2815 "type":"list", 2816 "member":{"shape":"VariableDefinition"} 2817 }, 2818 "VpcId":{ 2819 "type":"string", 2820 "max":128, 2821 "min":1, 2822 "pattern":"^vpc-[0-9a-f]+$" 2823 }, 2824 "VpcIds":{ 2825 "type":"list", 2826 "member":{"shape":"VpcId"} 2827 } 2828 }, 2829 "documentation":"<p>This is the API Reference for AWS Network Firewall. This guide is for developers who need detailed information about the Network Firewall API actions, data types, and errors. </p> <ul> <li> <p>The REST API requires you to handle connection details, such as calculating signatures, handling request retries, and error handling. For general information about using the AWS REST APIs, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-apis.html\">AWS APIs</a>. </p> <p>To access Network Firewall using the REST API endpoint: <code>https://network-firewall.<region>.amazonaws.com </code> </p> </li> <li> <p>Alternatively, you can use one of the AWS SDKs to access an API that's tailored to the programming language or platform that you're using. For more information, see <a href=\"http://aws.amazon.com/tools/#SDKs\">AWS SDKs</a>.</p> </li> <li> <p>For descriptions of Network Firewall features, including and step-by-step instructions on how to use them through the Network Firewall console, see the <a href=\"https://docs.aws.amazon.com/network-firewall/latest/developerguide/\">Network Firewall Developer Guide</a>.</p> </li> </ul> <p>Network Firewall is a stateful, managed, network firewall and intrusion detection and prevention service for Amazon Virtual Private Cloud (Amazon VPC). With Network Firewall, you can filter traffic at the perimeter of your VPC. This includes filtering traffic going to and coming from an internet gateway, NAT gateway, or over VPN or AWS Direct Connect. Network Firewall uses rules that are compatible with Suricata, a free, open source intrusion detection system (IDS) engine. AWS Network Firewall supports Suricata version 5.0.2. For information about Suricata, see the <a href=\"https://suricata-ids.org/\">Suricata website</a>.</p> <p>You can use Network Firewall to monitor and protect your VPC traffic in a number of ways. The following are just a few examples: </p> <ul> <li> <p>Allow domains or IP addresses for known AWS service endpoints, such as Amazon S3, and block all other forms of traffic.</p> </li> <li> <p>Use custom lists of known bad domains to limit the types of domain names that your applications can access.</p> </li> <li> <p>Perform deep packet inspection on traffic entering or leaving your VPC.</p> </li> <li> <p>Use stateful protocol detection to filter protocols like HTTPS, regardless of the port used.</p> </li> </ul> <p>To enable Network Firewall for your VPCs, you perform steps in both Amazon VPC and in Network Firewall. For information about using Amazon VPC, see <a href=\"https://docs.aws.amazon.com/vpc/latest/userguide/\">Amazon VPC User Guide</a>.</p> <p>To start using Network Firewall, do the following: </p> <ol> <li> <p>(Optional) If you don't already have a VPC that you want to protect, create it in Amazon VPC. </p> </li> <li> <p>In Amazon VPC, in each Availability Zone where you want to have a firewall endpoint, create a subnet for the sole use of Network Firewall. </p> </li> <li> <p>In Network Firewall, create stateless and stateful rule groups, to define the components of the network traffic filtering behavior that you want your firewall to have. </p> </li> <li> <p>In Network Firewall, create a firewall policy that uses your rule groups and specifies additional default traffic filtering behavior. </p> </li> <li> <p>In Network Firewall, create a firewall and specify your new firewall policy and VPC subnets. Network Firewall creates a firewall endpoint in each subnet that you specify, with the behavior that's defined in the firewall policy.</p> </li> <li> <p>In Amazon VPC, use ingress routing enhancements to route traffic through the new firewall endpoints.</p> </li> </ol>" 2830} 2831