@aws-sdk/client-network-firewall 3.1168.0 → 3.1170.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/README.md +16 -142
  2. package/dist-cjs/index.js +265 -806
  3. package/dist-es/NetworkFirewall.js +8 -46
  4. package/dist-es/commands/ListContextStoresCommand.js +4 -0
  5. package/dist-es/commands/ListResourcesInContextStoreCommand.js +4 -0
  6. package/dist-es/commands/index.js +2 -20
  7. package/dist-es/models/enums.js +49 -27
  8. package/dist-es/pagination/ListContextStoresPaginator.js +4 -0
  9. package/dist-es/pagination/ListResourcesInContextStorePaginator.js +4 -0
  10. package/dist-es/pagination/index.js +2 -3
  11. package/dist-es/schemas/schemas_0.js +185 -590
  12. package/dist-types/NetworkFirewall.d.ts +23 -162
  13. package/dist-types/NetworkFirewallClient.d.ts +4 -22
  14. package/dist-types/commands/AssociateSubnetsCommand.d.ts +12 -0
  15. package/dist-types/commands/CreateFirewallCommand.d.ts +31 -8
  16. package/dist-types/commands/CreateFirewallPolicyV2Command.d.ts +14 -0
  17. package/dist-types/commands/CreateRuleGroupCommand.d.ts +21 -0
  18. package/dist-types/commands/CreateTLSInspectionConfigurationCommand.d.ts +8 -0
  19. package/dist-types/commands/DeleteFirewallCommand.d.ts +20 -4
  20. package/dist-types/commands/DeleteProxyCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeFirewallCommand.d.ts +18 -4
  22. package/dist-types/commands/DescribeFirewallPolicyV2Command.d.ts +14 -0
  23. package/dist-types/commands/DescribeRuleGroupCommand.d.ts +21 -0
  24. package/dist-types/commands/DescribeTLSInspectionConfigurationCommand.d.ts +8 -0
  25. package/dist-types/commands/DisassociateSubnetsCommand.d.ts +1 -0
  26. package/dist-types/commands/ListContextStoresCommand.d.ts +105 -0
  27. package/dist-types/commands/ListResourcesInContextStoreCommand.d.ts +116 -0
  28. package/dist-types/commands/UpdateFirewallPolicyV2Command.d.ts +14 -0
  29. package/dist-types/commands/UpdateProxySettingsCommand.d.ts +6 -1
  30. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +21 -0
  31. package/dist-types/commands/UpdateTLSInspectionConfigurationCommand.d.ts +8 -0
  32. package/dist-types/commands/index.d.ts +2 -20
  33. package/dist-types/models/enums.d.ts +121 -67
  34. package/dist-types/models/models_0.d.ts +504 -1492
  35. package/dist-types/pagination/ListContextStoresPaginator.d.ts +7 -0
  36. package/dist-types/pagination/ListResourcesInContextStorePaginator.d.ts +7 -0
  37. package/dist-types/pagination/index.d.ts +2 -3
  38. package/dist-types/schemas/schemas_0.d.ts +13 -80
  39. package/dist-types/ts3.4/NetworkFirewall.d.ts +40 -350
  40. package/dist-types/ts3.4/NetworkFirewallClient.d.ts +11 -110
  41. package/dist-types/ts3.4/commands/ListContextStoresCommand.d.ts +39 -0
  42. package/dist-types/ts3.4/commands/ListResourcesInContextStoreCommand.d.ts +42 -0
  43. package/dist-types/ts3.4/commands/index.d.ts +2 -20
  44. package/dist-types/ts3.4/models/enums.d.ts +61 -33
  45. package/dist-types/ts3.4/models/models_0.d.ts +72 -322
  46. package/dist-types/ts3.4/pagination/ListContextStoresPaginator.d.ts +11 -0
  47. package/dist-types/ts3.4/pagination/ListResourcesInContextStorePaginator.d.ts +11 -0
  48. package/dist-types/ts3.4/pagination/index.d.ts +2 -3
  49. package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -80
  50. package/package.json +1 -1
  51. package/dist-es/commands/AttachRuleGroupsToProxyConfigurationCommand.js +0 -4
  52. package/dist-es/commands/CreateProxyCommand.js +0 -4
  53. package/dist-es/commands/CreateProxyConfigurationCommand.js +0 -4
  54. package/dist-es/commands/CreateProxyRuleGroupCommand.js +0 -4
  55. package/dist-es/commands/CreateProxyRulesCommand.js +0 -4
  56. package/dist-es/commands/DeleteProxyConfigurationCommand.js +0 -4
  57. package/dist-es/commands/DeleteProxyRuleGroupCommand.js +0 -4
  58. package/dist-es/commands/DeleteProxyRulesCommand.js +0 -4
  59. package/dist-es/commands/DescribeProxyConfigurationCommand.js +0 -4
  60. package/dist-es/commands/DescribeProxyRuleCommand.js +0 -4
  61. package/dist-es/commands/DescribeProxyRuleGroupCommand.js +0 -4
  62. package/dist-es/commands/DetachRuleGroupsFromProxyConfigurationCommand.js +0 -4
  63. package/dist-es/commands/ListProxiesCommand.js +0 -4
  64. package/dist-es/commands/ListProxyConfigurationsCommand.js +0 -4
  65. package/dist-es/commands/ListProxyRuleGroupsCommand.js +0 -4
  66. package/dist-es/commands/UpdateProxyCommand.js +0 -4
  67. package/dist-es/commands/UpdateProxyConfigurationCommand.js +0 -4
  68. package/dist-es/commands/UpdateProxyRuleCommand.js +0 -4
  69. package/dist-es/commands/UpdateProxyRuleGroupPrioritiesCommand.js +0 -4
  70. package/dist-es/commands/UpdateProxyRulePrioritiesCommand.js +0 -4
  71. package/dist-es/pagination/ListProxiesPaginator.js +0 -4
  72. package/dist-es/pagination/ListProxyConfigurationsPaginator.js +0 -4
  73. package/dist-es/pagination/ListProxyRuleGroupsPaginator.js +0 -4
  74. package/dist-types/commands/AttachRuleGroupsToProxyConfigurationCommand.d.ts +0 -133
  75. package/dist-types/commands/CreateProxyCommand.d.ts +0 -156
  76. package/dist-types/commands/CreateProxyConfigurationCommand.d.ts +0 -148
  77. package/dist-types/commands/CreateProxyRuleGroupCommand.d.ts +0 -222
  78. package/dist-types/commands/CreateProxyRulesCommand.d.ts +0 -213
  79. package/dist-types/commands/DeleteProxyConfigurationCommand.d.ts +0 -99
  80. package/dist-types/commands/DeleteProxyRuleGroupCommand.d.ts +0 -99
  81. package/dist-types/commands/DeleteProxyRulesCommand.d.ts +0 -164
  82. package/dist-types/commands/DescribeProxyConfigurationCommand.d.ts +0 -124
  83. package/dist-types/commands/DescribeProxyRuleCommand.d.ts +0 -113
  84. package/dist-types/commands/DescribeProxyRuleGroupCommand.d.ts +0 -161
  85. package/dist-types/commands/DetachRuleGroupsFromProxyConfigurationCommand.d.ts +0 -133
  86. package/dist-types/commands/ListProxiesCommand.d.ts +0 -103
  87. package/dist-types/commands/ListProxyConfigurationsCommand.d.ts +0 -106
  88. package/dist-types/commands/ListProxyRuleGroupsCommand.d.ts +0 -106
  89. package/dist-types/commands/UpdateProxyCommand.d.ts +0 -149
  90. package/dist-types/commands/UpdateProxyConfigurationCommand.d.ts +0 -130
  91. package/dist-types/commands/UpdateProxyRuleCommand.d.ts +0 -143
  92. package/dist-types/commands/UpdateProxyRuleGroupPrioritiesCommand.d.ts +0 -111
  93. package/dist-types/commands/UpdateProxyRulePrioritiesCommand.d.ts +0 -115
  94. package/dist-types/pagination/ListProxiesPaginator.d.ts +0 -7
  95. package/dist-types/pagination/ListProxyConfigurationsPaginator.d.ts +0 -7
  96. package/dist-types/pagination/ListProxyRuleGroupsPaginator.d.ts +0 -7
  97. package/dist-types/ts3.4/commands/AttachRuleGroupsToProxyConfigurationCommand.d.ts +0 -42
  98. package/dist-types/ts3.4/commands/CreateProxyCommand.d.ts +0 -38
  99. package/dist-types/ts3.4/commands/CreateProxyConfigurationCommand.d.ts +0 -42
  100. package/dist-types/ts3.4/commands/CreateProxyRuleGroupCommand.d.ts +0 -39
  101. package/dist-types/ts3.4/commands/CreateProxyRulesCommand.d.ts +0 -38
  102. package/dist-types/ts3.4/commands/DeleteProxyConfigurationCommand.d.ts +0 -42
  103. package/dist-types/ts3.4/commands/DeleteProxyRuleGroupCommand.d.ts +0 -39
  104. package/dist-types/ts3.4/commands/DeleteProxyRulesCommand.d.ts +0 -38
  105. package/dist-types/ts3.4/commands/DescribeProxyConfigurationCommand.d.ts +0 -42
  106. package/dist-types/ts3.4/commands/DescribeProxyRuleCommand.d.ts +0 -39
  107. package/dist-types/ts3.4/commands/DescribeProxyRuleGroupCommand.d.ts +0 -39
  108. package/dist-types/ts3.4/commands/DetachRuleGroupsFromProxyConfigurationCommand.d.ts +0 -42
  109. package/dist-types/ts3.4/commands/ListProxiesCommand.d.ts +0 -38
  110. package/dist-types/ts3.4/commands/ListProxyConfigurationsCommand.d.ts +0 -42
  111. package/dist-types/ts3.4/commands/ListProxyRuleGroupsCommand.d.ts +0 -39
  112. package/dist-types/ts3.4/commands/UpdateProxyCommand.d.ts +0 -38
  113. package/dist-types/ts3.4/commands/UpdateProxyConfigurationCommand.d.ts +0 -42
  114. package/dist-types/ts3.4/commands/UpdateProxyRuleCommand.d.ts +0 -38
  115. package/dist-types/ts3.4/commands/UpdateProxyRuleGroupPrioritiesCommand.d.ts +0 -42
  116. package/dist-types/ts3.4/commands/UpdateProxyRulePrioritiesCommand.d.ts +0 -42
  117. package/dist-types/ts3.4/pagination/ListProxiesPaginator.d.ts +0 -8
  118. package/dist-types/ts3.4/pagination/ListProxyConfigurationsPaginator.d.ts +0 -11
  119. package/dist-types/ts3.4/pagination/ListProxyRuleGroupsPaginator.d.ts +0 -11
@@ -1,4 +1,4 @@
1
- import type { ActionScope, AttachmentStatus, ConfigurationSyncState, ContainerAssociationStatus, ContainerMonitoringType, DNSExpiryExceptionPolicy, EnabledAnalysisType, EncryptionType, FirewallPolicyErrorCode, FirewallRuleAction, FirewallRuleProtocol, FirewallStatusValue, FlowOperationStatus, FlowOperationType, GeneratedRulesType, HookKey, IdentifiedType, IPAddressType, ListenerPropertyType, LogDestinationType, LogType, NatGatewayAttachmentStatus, OverrideAction, PerObjectSyncStatus, PolicyDefaultAction, PolicyMode, ProxyModifyState, ProxyRulePhaseAction, ProxyState, ResourceManagedStatus, ResourceManagedType, ResourceStatus, RevocationCheckAction, Route53ResolvedIPValidationAction, RuleGroupRequestPhase, RuleGroupType, RuleOrder, RuleOutputFormat, StatefulAction, StatefulRuleDirection, StatefulRuleProtocol, StreamExceptionPolicy, StreamExceptionPolicyV2, SubscriptionStatus, SummaryRuleOption, TargetType, TCPFlag, TlsInterceptMode, TransitGatewayAttachmentStatus } from "./enums";
1
+ import type { ActionScope, AttachmentStatus, ConfigurationSyncState, ContainerAssociationStatus, ContainerMonitoringType, ContextStoreSyncStatus, ContextType, DecryptionAction, DNSExpiryExceptionPolicy, EnabledAnalysisType, EncryptionType, FirewallPolicyErrorCode, FirewallRuleAction, FirewallRuleProtocol, FirewallStatusValue, FlowOperationStatus, FlowOperationType, GeneratedRulesType, HookKey, IdentifiedType, IPAddressType, ListenerPropertyType, LogDestinationType, LogType, NatGatewayAttachmentStatus, OverrideAction, PerObjectSyncStatus, PolicyDefaultAction, PolicyMode, ProxyModifyState, ProxyState, ResourceManagedStatus, ResourceManagedType, ResourceStatus, ResourceType, RevocationCheckAction, Route53ResolvedIPValidationAction, RuleGroupType, RuleOrder, RuleOutputFormat, StatefulAction, StatefulRuleDirection, StatefulRuleProtocol, StreamExceptionPolicy, StreamExceptionPolicyV2, SubscriptionStatus, SummaryRuleOption, TargetType, TCPFlag, TLSInspectionScopeDeploymentMode, TlsInterceptMode, TransitGatewayAttachmentStatus, TransparentFilteringNatScope } from "./enums";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -394,6 +394,30 @@ export interface AssociateFirewallPolicyResponse {
394
394
  */
395
395
  UpdateToken?: string | undefined;
396
396
  }
397
+ /**
398
+ * <p>A NAT gateway that Network Firewall creates for a proxy mode firewall in one Availability Zone. You use this in <code>CreateFirewall</code> and <code>AssociateSubnets</code>.</p>
399
+ * <p>To create a public NAT gateway, specify <code>AllocationIds</code>, and one <code>PrivateIps</code> address for each Elastic IP address. To create a private NAT gateway, specify only <code>PrivateIps</code>. You must specify at least one of them. Each Elastic IP address and private IP address can appear only once in a request.</p>
400
+ * <p>The NAT gateway is a resource in your account. To change its IP addresses, use Amazon EC2 NAT gateway actions.</p>
401
+ * @public
402
+ */
403
+ export interface NatGatewayCreateMapping {
404
+ /**
405
+ * <p>The ID of the subnet where Network Firewall creates the NAT gateway. The subnet must be in the firewall's VPC and can't be one of the firewall endpoint subnets. Each mapping must be in a different Availability Zone.</p>
406
+ * @public
407
+ */
408
+ SubnetId: string | undefined;
409
+ /**
410
+ * <p>The allocation IDs of the Elastic IP addresses for a public NAT gateway, from 1 to 8. For each allocation ID, specify one address in <code>PrivateIps</code>. If you don't specify this, Network Firewall creates a private NAT gateway.</p>
411
+ * @public
412
+ */
413
+ AllocationIds?: string[] | undefined;
414
+ /**
415
+ * <p>The private IPv4 addresses of the NAT gateway. The addresses must be in the subnet that you specify and can't be the subnet's reserved addresses.</p>
416
+ * <p>For a public NAT gateway, you must specify exactly one address for each Elastic IP address in <code>AllocationIds</code>, even if you specify only one. For a private NAT gateway, specify from 1 to 8 addresses. The first address is the primary address.</p>
417
+ * @public
418
+ */
419
+ PrivateIps?: string[] | undefined;
420
+ }
397
421
  /**
398
422
  * <p>The ID for a subnet that's used in an association with a firewall. This is used in
399
423
  * <code>CreateFirewall</code>, <code>AssociateSubnets</code>, and <code>CreateVpcEndpointAssociation</code>. Network Firewall
@@ -441,6 +465,12 @@ export interface AssociateSubnetsRequest {
441
465
  * @public
442
466
  */
443
467
  SubnetMappings: SubnetMapping[] | undefined;
468
+ /**
469
+ * <p>The NAT gateways that Network Firewall creates for the Availability Zones that you add to a proxy mode firewall. For a proxy mode firewall, you must specify one mapping for each Availability Zone in <code>SubnetMappings</code>, and no other Availability Zones. Each NAT gateway subnet must be in the firewall's VPC and can't be one of the firewall endpoint subnets.</p>
470
+ * <p>You can't specify this for a firewall that isn't a proxy mode firewall.</p>
471
+ * @public
472
+ */
473
+ NatGatewayCreateMappings?: NatGatewayCreateMapping[] | undefined;
444
474
  }
445
475
  /**
446
476
  * @public
@@ -511,7 +541,9 @@ export interface Attachment {
511
541
  */
512
542
  StatusMessage?: string | undefined;
513
543
  /**
514
- * <p>The DNS name that resolves to the firewall endpoint in the subnet. This is populated for proxy mode firewalls, where clients direct traffic to the firewall's proxy using this name. </p>
544
+ * <p>The proxy DNS name of a proxy mode firewall. Your clients send proxy requests to the firewall at this name. It's your <code>ProxySettings</code>
545
+ * <code>DomainName</code> if you specified one, or a name that Network Firewall generates in the format <code>proxy-<i>id</i>.nfw.<i>region</i>.amazonaws.com</code>.</p>
546
+ * <p>The firewall has one proxy DNS name for every Availability Zone and VPC that it serves. In each Availability Zone, the name resolves to the firewall endpoint in that Availability Zone, so traffic stays in your client's Availability Zone. Your clients must use the VPC's Route 53 Resolver.</p>
515
547
  * @public
516
548
  */
517
549
  DnsName?: string | undefined;
@@ -537,186 +569,6 @@ export interface AZSyncState {
537
569
  */
538
570
  Attachment?: Attachment | undefined;
539
571
  }
540
- /**
541
- * <p>The proxy rule group(s) to attach to the proxy configuration</p>
542
- * @public
543
- */
544
- export interface ProxyRuleGroupAttachment {
545
- /**
546
- * <p>The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.</p>
547
- * @public
548
- */
549
- ProxyRuleGroupName?: string | undefined;
550
- /**
551
- * <p>Where to insert a proxy rule group in a proxy configuration. </p>
552
- * @public
553
- */
554
- InsertPosition?: number | undefined;
555
- }
556
- /**
557
- * @public
558
- */
559
- export interface AttachRuleGroupsToProxyConfigurationRequest {
560
- /**
561
- * <p>The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.</p>
562
- * <p>You must specify the ARN or the name, and you can specify both. </p>
563
- * @public
564
- */
565
- ProxyConfigurationName?: string | undefined;
566
- /**
567
- * <p>The Amazon Resource Name (ARN) of a proxy configuration.</p>
568
- * <p>You must specify the ARN or the name, and you can specify both. </p>
569
- * @public
570
- */
571
- ProxyConfigurationArn?: string | undefined;
572
- /**
573
- * <p>The proxy rule group(s) to attach to the proxy configuration</p>
574
- * @public
575
- */
576
- RuleGroups: ProxyRuleGroupAttachment[] | undefined;
577
- /**
578
- * <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request. </p>
579
- * <p>To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration 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 proxy configuration 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>
580
- * @public
581
- */
582
- UpdateToken: string | undefined;
583
- }
584
- /**
585
- * <p>Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied. </p>
586
- * <p>This data type is used specifically for the <a>CreateProxyConfiguration</a> and
587
- * <a>UpdateProxyConfiguration</a> APIs.</p>
588
- * @public
589
- */
590
- export interface ProxyConfigDefaultRulePhaseActionsRequest {
591
- /**
592
- * <p>Before domain resolution. </p>
593
- * @public
594
- */
595
- PreDNS?: ProxyRulePhaseAction | undefined;
596
- /**
597
- * <p>After DNS, before request.</p>
598
- * @public
599
- */
600
- PreREQUEST?: ProxyRulePhaseAction | undefined;
601
- /**
602
- * <p>After receiving response.</p>
603
- * @public
604
- */
605
- PostRESPONSE?: ProxyRulePhaseAction | undefined;
606
- }
607
- /**
608
- * <p>Proxy rule group contained within a proxy configuration. </p>
609
- * @public
610
- */
611
- export interface ProxyConfigRuleGroup {
612
- /**
613
- * <p>The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.</p>
614
- * @public
615
- */
616
- ProxyRuleGroupName?: string | undefined;
617
- /**
618
- * <p>The Amazon Resource Name (ARN) of a proxy rule group.</p>
619
- * @public
620
- */
621
- ProxyRuleGroupArn?: string | undefined;
622
- /**
623
- * <p>Proxy rule group type. </p>
624
- * @public
625
- */
626
- Type?: string | undefined;
627
- /**
628
- * <p>Priority of the proxy rule group in the proxy configuration. </p>
629
- * @public
630
- */
631
- Priority?: number | undefined;
632
- }
633
- /**
634
- * <p>A key:value pair associated with an Amazon Web Services resource. The key:value pair can be anything you
635
- * define. Typically, the tag key represents a category (such as "environment") and the tag
636
- * value represents a specific value within that category (such as "test," "development," or
637
- * "production"). You can add up to 50 tags to each Amazon Web Services resource. </p>
638
- * @public
639
- */
640
- export interface Tag {
641
- /**
642
- * <p>The part of the key:value pair that defines a tag. You can use a tag key to describe a
643
- * category of information, such as "customer." Tag keys are case-sensitive.</p>
644
- * @public
645
- */
646
- Key: string | undefined;
647
- /**
648
- * <p>The part of the key:value pair that defines a tag. You can use a tag value to describe a
649
- * specific value within a category, such as "companyA" or "companyB." Tag values are
650
- * case-sensitive.</p>
651
- * @public
652
- */
653
- Value: string | undefined;
654
- }
655
- /**
656
- * <p>A Proxy Configuration defines the monitoring and protection behavior for a Proxy. The details of the behavior are defined in the rule groups that you add to your configuration. </p>
657
- * @public
658
- */
659
- export interface ProxyConfiguration {
660
- /**
661
- * <p>The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.</p>
662
- * @public
663
- */
664
- ProxyConfigurationName?: string | undefined;
665
- /**
666
- * <p>The Amazon Resource Name (ARN) of a proxy configuration.</p>
667
- * @public
668
- */
669
- ProxyConfigurationArn?: string | undefined;
670
- /**
671
- * <p>A description of the proxy configuration. </p>
672
- * @public
673
- */
674
- Description?: string | undefined;
675
- /**
676
- * <p>Time the Proxy Configuration was created. </p>
677
- * @public
678
- */
679
- CreateTime?: Date | undefined;
680
- /**
681
- * <p>Time the Proxy Configuration was deleted. </p>
682
- * @public
683
- */
684
- DeleteTime?: Date | undefined;
685
- /**
686
- * <p>Proxy rule groups within the proxy configuration. </p>
687
- * @public
688
- */
689
- RuleGroups?: ProxyConfigRuleGroup[] | undefined;
690
- /**
691
- * <p>Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied. </p>
692
- * <p>Pre-DNS - before domain resolution.</p>
693
- * <p>Pre-Request - after DNS, before request.</p>
694
- * <p>Post-Response - after receiving response.</p>
695
- * @public
696
- */
697
- DefaultRulePhaseActions?: ProxyConfigDefaultRulePhaseActionsRequest | undefined;
698
- /**
699
- * <p>The key:value pairs to associate with the resource.</p>
700
- * @public
701
- */
702
- Tags?: Tag[] | undefined;
703
- }
704
- /**
705
- * @public
706
- */
707
- export interface AttachRuleGroupsToProxyConfigurationResponse {
708
- /**
709
- * <p>The updated proxy configuration resource that reflects the updates from the request.</p>
710
- * @public
711
- */
712
- ProxyConfiguration?: ProxyConfiguration | undefined;
713
- /**
714
- * <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request. </p>
715
- * <p>To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration 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 proxy configuration 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>
716
- * @public
717
- */
718
- UpdateToken?: string | undefined;
719
- }
720
572
  /**
721
573
  * <p>High-level information about an Availability Zone where the firewall has an endpoint defined. </p>
722
574
  * @public
@@ -936,6 +788,128 @@ export interface ContainerMonitoringConfiguration {
936
788
  */
937
789
  AttributeFilters?: ContainerAttribute[] | undefined;
938
790
  }
791
+ /**
792
+ * <p>Filters for <code>ListResourcesInContextStore</code>. Both filters are optional. If you specify both,
793
+ * Network Firewall returns only the resources that match both.</p>
794
+ * @public
795
+ */
796
+ export interface ContextFilters {
797
+ /**
798
+ * <p>The Amazon Web Services Region of the resources to return, for example <code>us-east-1</code>.</p>
799
+ * @public
800
+ */
801
+ Region?: string | undefined;
802
+ /**
803
+ * <p>The type of resource to return. Each resource type corresponds to the <code>ContextType</code> that
804
+ * Network Firewall reports for the resource:</p>
805
+ * <ul>
806
+ * <li>
807
+ * <p>
808
+ * <code>SecurityGroup</code> - Security groups. Reported with the <code>SegmentId</code> context type.</p>
809
+ * </li>
810
+ * <li>
811
+ * <p>
812
+ * <code>VPC</code> - VPCs. Reported with the <code>ResourceId</code> context type.</p>
813
+ * </li>
814
+ * <li>
815
+ * <p>
816
+ * <code>Subnet</code> - Subnets. Reported with the <code>Subnet</code> context type.</p>
817
+ * </li>
818
+ * <li>
819
+ * <p>
820
+ * <code>TGWAttachment</code> - Transit gateway attachments. Reported with the <code>Attachment</code> context type.</p>
821
+ * </li>
822
+ * </ul>
823
+ * @public
824
+ */
825
+ ResourceType?: ResourceType | undefined;
826
+ }
827
+ /**
828
+ * <p>A list of resource identifiers from the context store that is associated with the firewall. Use a context set to write stateful rules against Amazon Web Services resources instead of IP addresses. This is part of a <a>RuleVariables</a>. </p>
829
+ * @public
830
+ */
831
+ export interface ContextSet {
832
+ /**
833
+ * <p>The list of resource identifiers. Each entry is the ID of a resource that the context store records, for example
834
+ * <code>vpc-1234567890abcdef0</code>, <code>subnet-1234567890abcdef0</code>, <code>sg-1234567890abcdef0</code>, or
835
+ * <code>tgw-attach-1234567890abcdef0</code>. You can specify 1-1,000 entries.</p>
836
+ * @public
837
+ */
838
+ Definition: string[] | undefined;
839
+ }
840
+ /**
841
+ * <p>Contains details about a context store, including its unique identifier and the account that owns it.</p>
842
+ * @public
843
+ */
844
+ export interface ContextStore {
845
+ /**
846
+ * <p>The unique identifier of the context store. Use this value in <code>ListResourcesInContextStore</code> to list
847
+ * the resources that the context store records.</p>
848
+ * @public
849
+ */
850
+ ContextStoreId: string | undefined;
851
+ /**
852
+ * <p>The ID of the Amazon Web Services account that owns the context store.</p>
853
+ * @public
854
+ */
855
+ ContextStoreOwnerAccountId: string | undefined;
856
+ }
857
+ /**
858
+ * <p>The synchronization state of a firewall's context sets with its context store. This indicates whether the resource identifiers in the firewall's context sets resolve to resources that the context store records.</p>
859
+ * @public
860
+ */
861
+ export interface ContextStoreSyncState {
862
+ /**
863
+ * <p>The synchronization status of the firewall's context sets. Valid values:</p>
864
+ * <ul>
865
+ * <li>
866
+ * <p>
867
+ * <code>SYNCING</code> - The firewall is applying the latest context store data.</p>
868
+ * </li>
869
+ * <li>
870
+ * <p>
871
+ * <code>FULLY_RESOLVED</code> - All resource identifiers in the firewall's context sets resolve to resources in the context store.</p>
872
+ * </li>
873
+ * <li>
874
+ * <p>
875
+ * <code>PARTIALLY_RESOLVED</code> - Some resource identifiers in the firewall's context sets don't resolve to resources in the context store.</p>
876
+ * </li>
877
+ * <li>
878
+ * <p>
879
+ * <code>SYNC_FAILED</code> - The firewall couldn't sync with the context store. For details, see <code>StatusMessage</code>.</p>
880
+ * </li>
881
+ * </ul>
882
+ * @public
883
+ */
884
+ SyncStatus?: ContextStoreSyncStatus | undefined;
885
+ /**
886
+ * <p>A message that provides additional information about the synchronization status, particularly when the status is not <code>FULLY_RESOLVED</code>.</p>
887
+ * @public
888
+ */
889
+ StatusMessage?: string | undefined;
890
+ }
891
+ /**
892
+ * <p>A key:value pair associated with an Amazon Web Services resource. The key:value pair can be anything you
893
+ * define. Typically, the tag key represents a category (such as "environment") and the tag
894
+ * value represents a specific value within that category (such as "test," "development," or
895
+ * "production"). You can add up to 50 tags to each Amazon Web Services resource. </p>
896
+ * @public
897
+ */
898
+ export interface Tag {
899
+ /**
900
+ * <p>The part of the key:value pair that defines a tag. You can use a tag key to describe a
901
+ * category of information, such as "customer." Tag keys are case-sensitive.</p>
902
+ * @public
903
+ */
904
+ Key: string | undefined;
905
+ /**
906
+ * <p>The part of the key:value pair that defines a tag. You can use a tag value to describe a
907
+ * specific value within a category, such as "companyA" or "companyB." Tag values are
908
+ * case-sensitive.</p>
909
+ * @public
910
+ */
911
+ Value: string | undefined;
912
+ }
939
913
  /**
940
914
  * @public
941
915
  */
@@ -1053,17 +1027,6 @@ export interface EncryptionConfiguration {
1053
1027
  */
1054
1028
  Type: EncryptionType | undefined;
1055
1029
  }
1056
- /**
1057
- * <p>A NAT gateway that a proxy mode firewall uses to proxy traffic. This is used in <code>CreateFirewall</code> when <code>NoSourcePreservation</code> is <code>TRUE</code>. </p>
1058
- * @public
1059
- */
1060
- export interface NatGatewayMapping {
1061
- /**
1062
- * <p>A unique identifier for the NAT gateway to use with proxy resources.</p>
1063
- * @public
1064
- */
1065
- NatGatewayId: string | undefined;
1066
- }
1067
1030
  /**
1068
1031
  * <p>Open port for taking HTTP or HTTPS traffic. </p>
1069
1032
  * @public
@@ -1081,29 +1044,44 @@ export interface ListenerProperty {
1081
1044
  Type?: ListenerPropertyType | undefined;
1082
1045
  }
1083
1046
  /**
1084
- * <p>The listener configuration for a proxy mode firewall. This specifies the ports and protocols on which the firewall's proxy listens for traffic. </p>
1047
+ * <p>The proxy settings of a proxy mode firewall: the ports and protocols on which the firewall's proxy listens for traffic, and optionally your own domain name and certificate.</p>
1085
1048
  * @public
1086
1049
  */
1087
1050
  export interface ProxySettings {
1088
1051
  /**
1089
- * <p>Listener properties for HTTP and HTTPS traffic. </p>
1052
+ * <p>The listeners of the firewall's proxy. Specify at least one listener, and at most one HTTP listener and one HTTPS listener. Each listener needs a port from 1 to 65535, and the two listeners must use different ports.</p>
1053
+ * <p>If you don't specify listeners when you create the firewall, the firewall listens for HTTP on port 3128 and HTTPS on port 8443.</p>
1090
1054
  * @public
1091
1055
  */
1092
1056
  ListenerProperties: ListenerProperty[] | undefined;
1057
+ /**
1058
+ * <p>The Amazon Resource Name (ARN) of the certificate that the firewall's HTTPS proxy listener presents to clients. The certificate must be an Certificate Manager (ACM) certificate in the same account and Region as the firewall. Its subject alternative names must cover <code>DomainName</code>, either exactly or with a wildcard that matches exactly one label. For example, <code>*.example.com</code> covers <code>proxy.example.com</code>. If you don't specify this, Network Firewall uses a certificate that it manages for a domain name that it generates.</p>
1059
+ * <p>You manage and renew the certificate in ACM, and Network Firewall uses renewed certificates automatically. While the firewall uses the certificate, you can't delete it from ACM. Your clients must trust the certificate's certificate authority.</p>
1060
+ * <p>If you specify <code>CertificateArn</code>, you must also specify <code>DomainName</code>. You can set them only when you create the firewall. When you call <code>UpdateProxySettings</code>, specify the same values.</p>
1061
+ * @public
1062
+ */
1063
+ CertificateArn?: string | undefined;
1064
+ /**
1065
+ * <p>The domain name that your clients use to reach the firewall's proxy. The name must have at least two labels and at most 253 characters. It can't contain a wildcard or use the <code>proxy-<i>id</i>.nfw.<i>region</i>.amazonaws.com</code> format, and the certificate in <code>CertificateArn</code> must cover it. If you don't specify this, Network Firewall generates a domain name.</p>
1066
+ * <p>Network Firewall creates the Route 53 private hosted zones that resolve this name to the firewall endpoints, so you don't need to configure DNS. A VPC can have only one private hosted zone with a given name. If a VPC that the firewall serves already has one with this name, Network Firewall can't set up the Availability Zones in that VPC.</p>
1067
+ * <p>If you specify <code>DomainName</code>, you must also specify <code>CertificateArn</code>. You can set them only when you create the firewall. When you call <code>UpdateProxySettings</code>, specify the same values.</p>
1068
+ * @public
1069
+ */
1070
+ DomainName?: string | undefined;
1093
1071
  }
1094
1072
  /**
1095
- * <p>Contains the VPC and subnets for a proxy mode firewall endpoint. You use it in <code>CreateFirewall</code> when <code>NoSourcePreservation</code> is <code>TRUE</code>, to specify where Network Firewall creates the firewall endpoint. </p>
1096
- * <p>This differs from <code>VpcEndpointAssociation</code>, which defines additional secondary endpoints for a firewall in other VPCs. </p>
1073
+ * <p>The VPC and subnets for the endpoints of a proxy mode firewall. You use this in <code>CreateFirewall</code>. Network Firewall creates the firewall endpoints and the firewall's NAT gateways in this VPC.</p>
1074
+ * <p>This differs from <code>VpcEndpointAssociation</code>, which defines additional endpoints for a firewall in other VPCs.</p>
1097
1075
  * @public
1098
1076
  */
1099
1077
  export interface VpcEndpoint {
1100
1078
  /**
1101
- * <p>The unique identifier of the VPC where Network Firewall creates the proxy mode firewall endpoint. </p>
1079
+ * <p>The ID of the VPC where Network Firewall creates the endpoints and NAT gateways of a proxy mode firewall.</p>
1102
1080
  * @public
1103
1081
  */
1104
1082
  VpcId: string | undefined;
1105
1083
  /**
1106
- * <p>The subnets in which Network Firewall creates the firewall endpoint for a proxy mode firewall. Each subnet must belong to a different Availability Zone in the VPC. </p>
1084
+ * <p>The subnets where Network Firewall creates the firewall endpoints of a proxy mode firewall. Specify one subnet for each Availability Zone, and a NAT gateway mapping in each of those Availability Zones.</p>
1107
1085
  * @public
1108
1086
  */
1109
1087
  SubnetMappings: SubnetMapping[] | undefined;
@@ -1200,30 +1178,41 @@ export interface CreateFirewallRequest {
1200
1178
  */
1201
1179
  AvailabilityZoneChangeProtection?: boolean | undefined;
1202
1180
  /**
1203
- * <p>The NAT gateways that the firewall uses to proxy traffic when <code>NoSourcePreservation</code> is <code>TRUE</code>. Network Firewall attaches the firewall to each NAT gateway that you specify, so that egress traffic is proxied through the NAT gateway. </p>
1181
+ * <p>The NAT gateways that Network Firewall creates for a proxy mode firewall, one for each Availability Zone. When you specify this, you create a proxy mode firewall. Destinations see the IP address of the NAT gateway in the client's Availability Zone as the source of the traffic.</p>
1182
+ * <p>Specify one mapping for each Availability Zone in <code>VpcEndpoint</code>, and no other Availability Zones. Each NAT gateway subnet must be in the <code>VpcEndpoint</code> VPC and can't be one of the firewall endpoint subnets.</p>
1183
+ * <p>You need permission to call the Amazon EC2 <code>CreateNatGateway</code> action.</p>
1184
+ * <p>If Network Firewall can't set up an Availability Zone, for example because Amazon EC2 rejects the NAT gateway, it removes the Availability Zone from the firewall. It also deletes the NAT gateway that it created there. The Availability Zone's <code>Attachment</code> status is <code>FAILED</code>, and its status message explains why. You can add the Availability Zone again with <code>AssociateSubnets</code>. If no Availability Zone can be set up, the firewall status is <code>FAILED</code>.</p>
1204
1185
  * @public
1205
1186
  */
1206
- NatGatewayMappings?: NatGatewayMapping[] | undefined;
1187
+ NatGatewayCreateMappings?: NatGatewayCreateMapping[] | undefined;
1207
1188
  /**
1208
- * <p>The listener configuration for a proxy mode firewall, used when <code>NoSourcePreservation</code> is <code>TRUE</code>. This specifies the ports and protocols on which the firewall's proxy listens for traffic. </p>
1189
+ * <p>The proxy settings for a proxy mode firewall: the ports and protocols on which the firewall's proxy listens for traffic, and optionally your own domain name and certificate. If you don't specify listeners, the firewall listens for HTTP on port 3128 and HTTPS on port 8443.</p>
1190
+ * <p>To change the listeners later, use <code>UpdateProxySettings</code>.</p>
1209
1191
  * @public
1210
1192
  */
1211
1193
  ProxySettings?: ProxySettings | undefined;
1212
1194
  /**
1213
- * <p>Optional. Indicates whether the firewall operates in proxy mode, in which the source IP address of the traffic is not preserved. When set to <code>TRUE</code>, the firewall proxies traffic through a NAT gateway and the traffic reaching the destination uses the NAT gateway's IP address as the source. </p>
1214
- * <p>When you set this to <code>TRUE</code>, you must specify <code>NatGatewayMappings</code> and <code>VpcEndpoint</code> instead of a top-level <code>VpcId</code> and <code>SubnetMappings</code>. </p>
1215
- * <p>You can't change this setting after you create the firewall. </p>
1216
- * <p>Default value: <code>FALSE</code>
1217
- * </p>
1195
+ * <p>The VPC and subnets for the endpoints of a proxy mode firewall. Network Firewall creates a firewall endpoint in each subnet that you specify. It also creates the firewall's NAT gateways in this VPC, in the subnets that you specify in <code>NatGatewayCreateMappings</code>.</p>
1196
+ * <p>To create a proxy mode firewall, you must specify <code>VpcEndpoint</code> and <code>NatGatewayCreateMappings</code>, and you must not specify the top-level <code>VpcId</code> and <code>SubnetMappings</code>. Specify one subnet for each Availability Zone where you want to use the firewall.</p>
1218
1197
  * @public
1219
1198
  */
1220
- NoSourcePreservation?: boolean | undefined;
1199
+ VpcEndpoint?: VpcEndpoint | undefined;
1221
1200
  /**
1222
- * <p>The VPC and subnets for the firewall endpoint, used when <code>NoSourcePreservation</code> is <code>TRUE</code>. Network Firewall creates the firewall endpoint in the subnets that you specify here. </p>
1223
- * <p>For proxy mode firewalls, provide the firewall's VPC and endpoint subnets through this parameter instead of the top-level <code>VpcId</code> and <code>SubnetMappings</code>. </p>
1201
+ * <p>How a proxy mode firewall handles traffic that isn't sent to its proxy listener. If you don't specify a value, the firewall uses <code>NAT_ALL</code>. You can choose from the following values:</p>
1202
+ * <ul>
1203
+ * <li>
1204
+ * <p>
1205
+ * <code>NAT_ALL</code> - After inspection, the firewall sends this traffic out through its NAT gateway, which translates the source address.</p>
1206
+ * </li>
1207
+ * <li>
1208
+ * <p>
1209
+ * <code>NAT_NONE</code> - After inspection, the firewall returns this traffic to the firewall endpoint without address translation.</p>
1210
+ * </li>
1211
+ * </ul>
1212
+ * <p>You can specify this only for a proxy mode firewall, and you can't change it after you create the firewall.</p>
1224
1213
  * @public
1225
1214
  */
1226
- VpcEndpoint?: VpcEndpoint | undefined;
1215
+ TransparentFilteringNatScope?: TransparentFilteringNatScope | undefined;
1227
1216
  }
1228
1217
  /**
1229
1218
  * <p>A firewall defines the behavior of a firewall, the main VPC where the firewall is used, the Availability Zones where the firewall can be used, and one subnet to use for a firewall endpoint within each of the Availability Zones. The Availability Zones are defined implicitly in the subnet specifications.</p>
@@ -1336,25 +1325,35 @@ export interface Firewall {
1336
1325
  */
1337
1326
  AvailabilityZoneChangeProtection?: boolean | undefined;
1338
1327
  /**
1339
- * <p>The NAT gateways that the firewall uses to proxy traffic. This is set for proxy mode firewalls, where <code>NoSourcePreservation</code> is <code>TRUE</code>. </p>
1328
+ * <p>The NAT gateways that you specified for Network Firewall to create for a proxy mode firewall. To get the IDs and status of the NAT gateways that are attached to the firewall, see <code>NatGatewayAttachments</code> in the firewall's <code>SyncStates</code>.</p>
1340
1329
  * @public
1341
1330
  */
1342
- NatGatewayMappings?: NatGatewayMapping[] | undefined;
1331
+ NatGatewayCreateMappings?: NatGatewayCreateMapping[] | undefined;
1343
1332
  /**
1344
- * <p>The listener configuration for the firewall's proxy. This is set for proxy mode firewalls, where <code>NoSourcePreservation</code> is <code>TRUE</code>. </p>
1333
+ * <p>The proxy settings of a proxy mode firewall: its listeners and, if you specified them, your own <code>CertificateArn</code> and <code>DomainName</code>.</p>
1345
1334
  * @public
1346
1335
  */
1347
1336
  ProxySettings?: ProxySettings | undefined;
1348
1337
  /**
1349
- * <p>Indicates whether the firewall operates in proxy mode, in which the source IP address of the traffic is not preserved. When this value is <code>TRUE</code>, the firewall proxies traffic through a NAT gateway and uses the NAT gateway's IP address as the source for traffic reaching the destination. </p>
1338
+ * <p>The VPC and subnets for the endpoints of a proxy mode firewall.</p>
1350
1339
  * @public
1351
1340
  */
1352
- NoSourcePreservation?: boolean | undefined;
1341
+ VpcEndpoint?: VpcEndpoint | undefined;
1353
1342
  /**
1354
- * <p>The VPC and subnets for the firewall endpoint. This is set for proxy mode firewalls, where <code>NoSourcePreservation</code> is <code>TRUE</code>. </p>
1343
+ * <p>The unique identifier of the context store that the firewall uses to resolve context sets in its rule groups. Network Firewall discovers the context store from the transit gateway association in Network Manager. This field is only present for transit gateway-attached firewalls whose transit gateway is associated with a context store.</p>
1355
1344
  * @public
1356
1345
  */
1357
- VpcEndpoint?: VpcEndpoint | undefined;
1346
+ ContextStoreId?: string | undefined;
1347
+ /**
1348
+ * <p>The Amazon Web Services account ID that owns the context store. This may be different from the firewall owner's account ID.</p>
1349
+ * @public
1350
+ */
1351
+ ContextStoreOwnerAccountId?: string | undefined;
1352
+ /**
1353
+ * <p>How a proxy mode firewall handles traffic that isn't sent to its proxy listener. <code>NAT_ALL</code> sends this traffic out through the firewall's NAT gateway after inspection. <code>NAT_NONE</code> returns it to the firewall endpoint without address translation.</p>
1354
+ * @public
1355
+ */
1356
+ TransparentFilteringNatScope?: TransparentFilteringNatScope | undefined;
1358
1357
  }
1359
1358
  /**
1360
1359
  * <p>Provides configuration status for a single policy or rule group that is used for a firewall endpoint. Network Firewall
@@ -1376,28 +1375,27 @@ export interface PerObjectStatus {
1376
1375
  UpdateToken?: string | undefined;
1377
1376
  }
1378
1377
  /**
1379
- * <p>The definition and status of the attachment between a proxy mode firewall and a NAT gateway that proxies its traffic. </p>
1378
+ * <p>The NAT gateway that's attached to a proxy mode firewall in an Availability Zone, and the status of the attachment. Traffic that the firewall allows in the Availability Zone leaves through this NAT gateway.</p>
1380
1379
  * @public
1381
1380
  */
1382
1381
  export interface NatGatewayAttachment {
1383
1382
  /**
1384
- * <p>A unique identifier for the NAT gateway to use with proxy resources.</p>
1383
+ * <p>The ID of the NAT gateway.</p>
1385
1384
  * @public
1386
1385
  */
1387
1386
  NatGatewayId: string | undefined;
1388
1387
  /**
1389
- * <p>The current status of the NAT gateway attachment. </p>
1390
- * <p>When this value is <code>READY</code>, the attachment is available to proxy traffic. Otherwise, this value reflects its state, for example <code>CREATING</code> or <code>DELETING</code>.</p>
1388
+ * <p>The status of the NAT gateway attachment. <code>READY</code> means that the NAT gateway is attached and the firewall can send traffic through it. Other values are <code>CREATING</code>, <code>UPDATING</code>, <code>DELETING</code>, and <code>FAILED</code>.</p>
1391
1389
  * @public
1392
1390
  */
1393
1391
  Status: NatGatewayAttachmentStatus | undefined;
1394
1392
  /**
1395
- * <p>If Network Firewall encounters an issue with the NAT gateway attachment, it populates this with an explanation of the problem. </p>
1393
+ * <p>The reason that Network Firewall couldn't create or attach the NAT gateway, if it couldn't.</p>
1396
1394
  * @public
1397
1395
  */
1398
1396
  StatusMessage?: string | undefined;
1399
1397
  /**
1400
- * <p>The DNS name that resolves to the firewall's proxy for traffic sent through this NAT gateway attachment. </p>
1398
+ * <p>The proxy DNS name of the firewall in this Availability Zone. This is the same as the <code>DnsName</code> of the firewall's <code>Attachment</code>.</p>
1401
1399
  * @public
1402
1400
  */
1403
1401
  DnsName?: string | undefined;
@@ -1438,7 +1436,8 @@ export interface SyncState {
1438
1436
  */
1439
1437
  Config?: Record<string, PerObjectStatus> | undefined;
1440
1438
  /**
1441
- * <p>The status of the NAT gateway attachments for a proxy mode firewall in the Availability Zone. This reflects the attachment of the firewall to each NAT gateway that proxies its traffic. </p>
1439
+ * <p>The NAT gateway that's attached to a proxy mode firewall in the Availability Zone, and the status of the attachment. To get NAT gateway details, such as IP addresses, use the Amazon EC2 <code>DescribeNatGateways</code> action.</p>
1440
+ * <p>A proxy mode firewall is <code>READY</code> when at least one Availability Zone's firewall endpoint and NAT gateway attachment are <code>READY</code>.</p>
1442
1441
  * @public
1443
1442
  */
1444
1443
  NatGatewayAttachments?: NatGatewayAttachment[] | undefined;
@@ -1590,6 +1589,11 @@ export interface FirewallStatus {
1590
1589
  * @public
1591
1590
  */
1592
1591
  TransitGatewayAttachmentSyncState?: TransitGatewayAttachmentSyncState | undefined;
1592
+ /**
1593
+ * <p>The synchronization state of the context sets in the firewall's rule groups with the firewall's context store. This field is only present when the firewall has a context store and its rule groups reference context sets.</p>
1594
+ * @public
1595
+ */
1596
+ ContextStoreSyncState?: ContextStoreSyncState | undefined;
1593
1597
  }
1594
1598
  /**
1595
1599
  * @public
@@ -2430,11 +2434,11 @@ export interface RulesSourceList {
2430
2434
  * </li>
2431
2435
  * </ul>
2432
2436
  * <p>
2433
- * <code>AWS_ROUTE_53_RESOLVED_DOMAIN</code> matches on how the destination IP address was resolved, rather than on the domain that the client asserts in its TLS SNI or HTTP <code>Host</code> header. This target type takes effect when you configure resolved IP validation on the firewall policy. For more information, see <a>Route53ResolvedIPValidation</a>.</p>
2437
+ * <code>AWS_ROUTE_53_RESOLVED_DOMAIN</code> matches on how the destination IP address was resolved, rather than on the domain that the client asserts in its TLS SNI or HTTP <code>Host</code> header. This target type takes effect when you configure resolved IP validation on the firewall policy. For more information, see the <code>Route53ResolvedIPValidation</code> firewall policy setting.</p>
2434
2438
  * <p>Whether you include <code>AWS_ROUTE_53_RESOLVED_DOMAIN</code> changes what the generated rules match, together with <code>GeneratedRulesType</code>:</p>
2435
2439
  * <ul>
2436
2440
  * <li>
2437
- * <p>Combining <code>AWS_ROUTE_53_RESOLVED_DOMAIN</code> with <code>TLS_SNI</code> or <code>HTTP_HOST</code> in an <code>ALLOWLIST</code> requires both conditions to match. The SNI or <code>Host</code> header must match the domain, <b>and</b> the Route 53 Resolver must have resolved the destination IP address for that domain. Network Firewall allows traffic only in that case. Traffic that matches one condition, such as a spoofed <code>Host</code> header sent to an unresolved IP address, is not allowed.</p>
2441
+ * <p>In an <code>ALLOWLIST</code>, combining <code>AWS_ROUTE_53_RESOLVED_DOMAIN</code> with <code>TLS_SNI</code> or <code>HTTP_HOST</code> requires both conditions to match: the SNI or <code>Host</code> header matches the domain, <b>and</b> the Route 53 Resolver resolved the destination IP address for that domain. Network Firewall allows the traffic only when both conditions match, so it blocks traffic that matches just one—for example, a spoofed <code>Host</code> header sent to an unresolved IP address.</p>
2438
2442
  * </li>
2439
2443
  * <li>
2440
2444
  * <p>In a <code>DENYLIST</code>, or when <code>AWS_ROUTE_53_RESOLVED_DOMAIN</code> is the only target type, Network Firewall evaluates each condition independently: a match on either the domain (SNI or <code>Host</code>) or the resolved destination IP address triggers the rule.</p>
@@ -2506,6 +2510,11 @@ export interface RuleVariables {
2506
2510
  * @public
2507
2511
  */
2508
2512
  PortSets?: Record<string, PortSet> | undefined;
2513
+ /**
2514
+ * <p>A list of context sets. Each context set lists resources from the context store that is associated with the firewall. </p>
2515
+ * @public
2516
+ */
2517
+ ContextSets?: Record<string, ContextSet> | undefined;
2509
2518
  }
2510
2519
  /**
2511
2520
  * <p>The object that defines a firewall engine rule group, for use in a Next Generation policy. A firewall engine rule group provides access-control rules that the firewall engine evaluates at connection-state hooks. You provide the rules as a Suricata-compatible rule string, as structured firewall rules, or generated from a list of domain names. For more information, see <a href="https://docs.aws.amazon.com/network-firewall/latest/developerguide/rule-groups-v2.html">Rule groups for a firewall using a Next Generation policy</a> in the <i>Network Firewall Developer Guide</i>.</p>
@@ -2667,660 +2676,172 @@ export interface FirewallPolicyV2 {
2667
2676
  * </li>
2668
2677
  * <li>
2669
2678
  * <p>
2670
- * <code>ALERT</code> - Allow the traffic and generate an alert log for the traffic that reaches the default action at every hook. This is distinct from setting the policy mode to <code>MONITOR</code>.</p>
2671
- * </li>
2672
- * </ul>
2673
- * <p>For more information, see <a href="https://docs.aws.amazon.com/network-firewall/latest/developerguide/firewall-policies-v2.html">Next Generation policies</a> in the <i>Network Firewall Developer Guide</i>.</p>
2674
- * @public
2675
- */
2676
- FirewallDefaultAction?: PolicyDefaultAction | undefined;
2677
- /**
2678
- * <p>Additional options governing how the engines handle stateful traffic, such as the stream exception policy and flow timeouts.</p>
2679
- * @public
2680
- */
2681
- StatefulEngineOptions?: StatefulEngineOptionsV2 | undefined;
2682
- /**
2683
- * <p>The Amazon Resource Name (ARN) of the TLS inspection configuration to use to decrypt traffic for inspection. Next Generation policies support session holding only. For more information, see <a href="https://docs.aws.amazon.com/network-firewall/latest/developerguide/tls-inspection.html">Inspecting SSL/TLS traffic with TLS inspection configurations</a> in the <i>Network Firewall Developer Guide</i>.</p>
2684
- * @public
2685
- */
2686
- TLSInspectionConfigurationArn?: string | undefined;
2687
- /**
2688
- * <p>Contains variables that you can use to override default Suricata settings in your Next Generation policy.</p>
2689
- * @public
2690
- */
2691
- PolicyVariables?: PolicyVariables | undefined;
2692
- /**
2693
- * <p>The settings that enable resolved IP validation for the Next Generation policy.
2694
- * Resolved IP validation verifies that a connection's destination IP address is one that the
2695
- * Amazon Route 53 Resolver returned in a DNS response for a domain. A VPC that's associated with
2696
- * the Route 53 Resolver DNS Firewall rule group that you specify must send the response.
2697
- * This checks how the destination IP address was obtained, instead of relying only on the
2698
- * domain that the client asserts in its TLS Server Name Indication (SNI) or HTTP
2699
- * <code>Host</code> header. For more information, see
2700
- * <a>Route53ResolvedIPValidation</a>.</p>
2701
- * @public
2702
- */
2703
- Route53ResolvedIPValidation?: Route53ResolvedIPValidation | undefined;
2704
- }
2705
- /**
2706
- * @public
2707
- */
2708
- export interface CreateFirewallPolicyV2Request {
2709
- /**
2710
- * <p>The descriptive name of the Next Generation policy. You can't change the name of a firewall policy after you create it.</p>
2711
- * @public
2712
- */
2713
- FirewallPolicyV2Name: string | undefined;
2714
- /**
2715
- * <p>The rule groups and other settings that define the Next Generation policy.</p>
2716
- * @public
2717
- */
2718
- FirewallPolicyV2: FirewallPolicyV2 | undefined;
2719
- /**
2720
- * <p>A description of the firewall policy.</p>
2721
- * @public
2722
- */
2723
- Description?: string | undefined;
2724
- /**
2725
- * <p>The key:value pairs to associate with the resource.</p>
2726
- * @public
2727
- */
2728
- Tags?: Tag[] | undefined;
2729
- /**
2730
- * <p>Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request. </p>
2731
- * <p>If set to <code>TRUE</code>, Network Firewall checks whether the request can run successfully,
2732
- * but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with
2733
- * 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
2734
- * the required permissions to run the request and that your request parameters are valid. </p>
2735
- * <p>If set to <code>FALSE</code>, Network Firewall makes the requested changes to your resources. </p>
2736
- * @public
2737
- */
2738
- DryRun?: boolean | undefined;
2739
- /**
2740
- * <p>A complex type that contains settings for encryption of your firewall policy resources.</p>
2741
- * @public
2742
- */
2743
- EncryptionConfiguration?: EncryptionConfiguration | undefined;
2744
- }
2745
- /**
2746
- * <p>The high-level properties of a Next Generation policy. This includes the policy's identity, status, consumed capacity, and association count. Network Firewall returns this object in response to the Next Generation policy operations. To retrieve the policy's rule groups and settings, use the <code>FirewallPolicyV2</code> object.</p>
2747
- * @public
2748
- */
2749
- export interface FirewallPolicyV2Response {
2750
- /**
2751
- * <p>The descriptive name of the Next Generation policy. You can't change the name of a firewall policy after you create it.</p>
2752
- * @public
2753
- */
2754
- FirewallPolicyV2Name: string | undefined;
2755
- /**
2756
- * <p>The Amazon Resource Name (ARN) of the Next Generation policy.</p>
2757
- * @public
2758
- */
2759
- FirewallPolicyV2Arn: string | undefined;
2760
- /**
2761
- * <p>The unique identifier of the Next Generation policy. Network Firewall assigns this identifier when you create the policy.</p>
2762
- * @public
2763
- */
2764
- FirewallPolicyV2Id: string | undefined;
2765
- /**
2766
- * <p>A description of the Next Generation policy.</p>
2767
- * @public
2768
- */
2769
- Description?: string | undefined;
2770
- /**
2771
- * <p>The current status of the Next Generation policy. A policy must be in the <code>ACTIVE</code> state before you can use it in a firewall.</p>
2772
- * @public
2773
- */
2774
- FirewallPolicyV2Status?: ResourceStatus | undefined;
2775
- /**
2776
- * <p>Additional information about the current status of the Next Generation policy.</p>
2777
- * @public
2778
- */
2779
- StatusMessage?: string | undefined;
2780
- /**
2781
- * <p>The key-value tag pairs that are associated with the Next Generation policy.</p>
2782
- * @public
2783
- */
2784
- Tags?: Tag[] | undefined;
2785
- /**
2786
- * <p>The number of firewall engine rule capacity units that the policy's firewall section currently consumes.</p>
2787
- * @public
2788
- */
2789
- ConsumedFirewallRuleCapacity?: number | undefined;
2790
- /**
2791
- * <p>The number of IPS engine rule capacity units that the policy's IPS section currently consumes.</p>
2792
- * @public
2793
- */
2794
- ConsumedIpsRuleCapacity?: number | undefined;
2795
- /**
2796
- * <p>The number of IPS domain list capacity units that the policy's IPS section currently consumes.</p>
2797
- * @public
2798
- */
2799
- ConsumedIpsDomainCapacity?: number | undefined;
2800
- /**
2801
- * <p>The number of firewalls that are associated with the Next Generation policy.</p>
2802
- * @public
2803
- */
2804
- NumberOfAssociations?: number | undefined;
2805
- /**
2806
- * <p>A complex type that contains the Amazon Web Services KMS encryption configuration settings for your Next Generation policy.</p>
2807
- * @public
2808
- */
2809
- EncryptionConfiguration?: EncryptionConfiguration | undefined;
2810
- /**
2811
- * <p>Any configuration errors that apply to the Next Generation policy. Network Firewall detects these errors asynchronously, after you create or update the policy, so an error can appear after the request that caused it has already succeeded. Each entry describes the problem and how to resolve it, and Network Firewall clears it automatically after you resolve the problem.</p>
2812
- * @public
2813
- */
2814
- Errors?: FirewallPolicyError[] | undefined;
2815
- /**
2816
- * <p>The last time that the Next Generation policy was changed.</p>
2817
- * @public
2818
- */
2819
- LastModifiedTime?: Date | undefined;
2820
- }
2821
- /**
2822
- * @public
2823
- */
2824
- export interface CreateFirewallPolicyV2Response {
2825
- /**
2826
- * <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>
2827
- * <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>
2828
- * @public
2829
- */
2830
- UpdateToken: string | undefined;
2831
- /**
2832
- * <p>The high-level properties of the Next Generation policy. This, along with the <a>FirewallPolicyV2</a>, define the policy. You can retrieve all objects for a Next Generation policy by calling <a>DescribeFirewallPolicyV2</a>.</p>
2833
- * @public
2834
- */
2835
- FirewallPolicyV2Response: FirewallPolicyV2Response | undefined;
2836
- }
2837
- /**
2838
- * <p>This data type is used specifically for the <a>CreateProxy</a> and
2839
- * <a>UpdateProxy</a> APIs.</p>
2840
- * <p>Open port for taking HTTP or HTTPS traffic.</p>
2841
- * @public
2842
- */
2843
- export interface ListenerPropertyRequest {
2844
- /**
2845
- * <p>Port for processing traffic.</p>
2846
- * @public
2847
- */
2848
- Port: number | undefined;
2849
- /**
2850
- * <p>Selection of HTTP or HTTPS traffic.</p>
2851
- * @public
2852
- */
2853
- Type: ListenerPropertyType | undefined;
2854
- }
2855
- /**
2856
- * <p>This data type is used specifically for the <a>CreateProxy</a> and
2857
- * <a>UpdateProxy</a> APIs.</p>
2858
- * <p>TLS decryption on traffic to filter on attributes in the HTTP header. </p>
2859
- * @public
2860
- */
2861
- export interface TlsInterceptPropertiesRequest {
2862
- /**
2863
- * <p>Private Certificate Authority (PCA) used to issue private TLS certificates so that the proxy can present PCA-signed certificates which applications trust through the same root, establishing a secure and consistent trust model for encrypted communication.</p>
2864
- * @public
2865
- */
2866
- PcaArn?: string | undefined;
2867
- /**
2868
- * <p>Specifies whether to enable or disable TLS Intercept Mode. </p>
2869
- * @public
2870
- */
2871
- TlsInterceptMode?: TlsInterceptMode | undefined;
2872
- }
2873
- /**
2874
- * @public
2875
- */
2876
- export interface CreateProxyRequest {
2877
- /**
2878
- * <p>The descriptive name of the proxy. You can't change the name of a proxy after you create it.</p>
2879
- * @public
2880
- */
2881
- ProxyName: string | undefined;
2882
- /**
2883
- * <p>A unique identifier for the NAT gateway to use with proxy resources.</p>
2884
- * @public
2885
- */
2886
- NatGatewayId: string | undefined;
2887
- /**
2888
- * <p>The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.</p>
2889
- * <p>You must specify the ARN or the name, and you can specify both. </p>
2890
- * @public
2891
- */
2892
- ProxyConfigurationName?: string | undefined;
2893
- /**
2894
- * <p>The Amazon Resource Name (ARN) of a proxy configuration.</p>
2895
- * <p>You must specify the ARN or the name, and you can specify both. </p>
2896
- * @public
2897
- */
2898
- ProxyConfigurationArn?: string | undefined;
2899
- /**
2900
- * <p>Listener properties for HTTP and HTTPS traffic.</p>
2901
- * @public
2902
- */
2903
- ListenerProperties?: ListenerPropertyRequest[] | undefined;
2904
- /**
2905
- * <p>TLS decryption on traffic to filter on attributes in the HTTP header. </p>
2906
- * @public
2907
- */
2908
- TlsInterceptProperties: TlsInterceptPropertiesRequest | undefined;
2909
- /**
2910
- * <p>The key:value pairs to associate with the resource.</p>
2911
- * @public
2912
- */
2913
- Tags?: Tag[] | undefined;
2914
- }
2915
- /**
2916
- * <p>TLS decryption on traffic to filter on attributes in the HTTP header. </p>
2917
- * @public
2918
- */
2919
- export interface TlsInterceptProperties {
2920
- /**
2921
- * <p>Private Certificate Authority (PCA) used to issue private TLS certificates so that the proxy can present PCA-signed certificates which applications trust through the same root, establishing a secure and consistent trust model for encrypted communication.</p>
2922
- * @public
2923
- */
2924
- PcaArn?: string | undefined;
2925
- /**
2926
- * <p>Specifies whether to enable or disable TLS Intercept Mode. </p>
2927
- * @public
2928
- */
2929
- TlsInterceptMode?: TlsInterceptMode | undefined;
2930
- }
2931
- /**
2932
- * <p>Proxy attached to a NAT gateway. </p>
2933
- * @public
2934
- */
2935
- export interface Proxy {
2936
- /**
2937
- * <p>Time the Proxy was created. </p>
2938
- * @public
2939
- */
2940
- CreateTime?: Date | undefined;
2941
- /**
2942
- * <p>Time the Proxy was deleted. </p>
2943
- * @public
2944
- */
2945
- DeleteTime?: Date | undefined;
2946
- /**
2947
- * <p>Time the Proxy was updated. </p>
2948
- * @public
2949
- */
2950
- UpdateTime?: Date | undefined;
2951
- /**
2952
- * <p>Failure code for cases when the Proxy fails to attach or update. </p>
2953
- * @public
2954
- */
2955
- FailureCode?: string | undefined;
2956
- /**
2957
- * <p>Failure message for cases when the Proxy fails to attach or update. </p>
2958
- * @public
2959
- */
2960
- FailureMessage?: string | undefined;
2961
- /**
2962
- * <p>Current attachment/detachment status of the Proxy. </p>
2963
- * @public
2964
- */
2965
- ProxyState?: ProxyState | undefined;
2966
- /**
2967
- * <p>Current modification status of the Proxy. </p>
2968
- * @public
2969
- */
2970
- ProxyModifyState?: ProxyModifyState | undefined;
2971
- /**
2972
- * <p>The NAT Gateway for the proxy. </p>
2973
- * @public
2974
- */
2975
- NatGatewayId?: string | undefined;
2976
- /**
2977
- * <p>The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.</p>
2978
- * @public
2979
- */
2980
- ProxyConfigurationName?: string | undefined;
2981
- /**
2982
- * <p>The Amazon Resource Name (ARN) of a proxy configuration.</p>
2983
- * @public
2984
- */
2985
- ProxyConfigurationArn?: string | undefined;
2986
- /**
2987
- * <p>The descriptive name of the proxy. You can't change the name of a proxy after you create it.</p>
2988
- * @public
2989
- */
2990
- ProxyName?: string | undefined;
2991
- /**
2992
- * <p>The Amazon Resource Name (ARN) of a proxy.</p>
2993
- * @public
2994
- */
2995
- ProxyArn?: string | undefined;
2996
- /**
2997
- * <p>Listener properties for HTTP and HTTPS traffic. </p>
2998
- * @public
2999
- */
3000
- ListenerProperties?: ListenerProperty[] | undefined;
3001
- /**
3002
- * <p>TLS decryption on traffic to filter on attributes in the HTTP header. </p>
3003
- * @public
3004
- */
3005
- TlsInterceptProperties?: TlsInterceptProperties | undefined;
3006
- /**
3007
- * <p>The key:value pairs to associate with the resource.</p>
3008
- * @public
3009
- */
3010
- Tags?: Tag[] | undefined;
3011
- }
3012
- /**
3013
- * @public
3014
- */
3015
- export interface CreateProxyResponse {
3016
- /**
3017
- * <p>Proxy attached to a NAT gateway. </p>
3018
- * @public
3019
- */
3020
- Proxy?: Proxy | undefined;
3021
- /**
3022
- * <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy. The token marks the state of the proxy resource at the time of the request. </p>
3023
- * <p>To make changes to the proxy, you provide the token in your request. Network Firewall uses the token to ensure that the proxy 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 proxy 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>
3024
- * @public
3025
- */
3026
- UpdateToken?: string | undefined;
3027
- }
3028
- /**
3029
- * @public
3030
- */
3031
- export interface CreateProxyConfigurationRequest {
3032
- /**
3033
- * <p>The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.</p>
3034
- * @public
3035
- */
3036
- ProxyConfigurationName: string | undefined;
3037
- /**
3038
- * <p>A description of the proxy configuration. </p>
3039
- * @public
3040
- */
3041
- Description?: string | undefined;
3042
- /**
3043
- * <p>The proxy rule group name(s) to attach to the proxy configuration.</p>
3044
- * <p>You must specify the ARNs or the names, and you can specify both. </p>
3045
- * @public
3046
- */
3047
- RuleGroupNames?: string[] | undefined;
3048
- /**
3049
- * <p>The proxy rule group arn(s) to attach to the proxy configuration.</p>
3050
- * <p>You must specify the ARNs or the names, and you can specify both. </p>
3051
- * @public
3052
- */
3053
- RuleGroupArns?: string[] | undefined;
3054
- /**
3055
- * <p>Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied. </p>
3056
- * @public
3057
- */
3058
- DefaultRulePhaseActions: ProxyConfigDefaultRulePhaseActionsRequest | undefined;
3059
- /**
3060
- * <p>The key:value pairs to associate with the resource.</p>
3061
- * @public
3062
- */
3063
- Tags?: Tag[] | undefined;
3064
- }
3065
- /**
3066
- * @public
3067
- */
3068
- export interface CreateProxyConfigurationResponse {
3069
- /**
3070
- * <p>The properties that define the proxy configuration. </p>
3071
- * @public
3072
- */
3073
- ProxyConfiguration?: ProxyConfiguration | undefined;
3074
- /**
3075
- * <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request. </p>
3076
- * <p>To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration 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 proxy configuration 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>
3077
- * @public
3078
- */
3079
- UpdateToken?: string | undefined;
3080
- }
3081
- /**
3082
- * <p>Match criteria that specify what traffic attributes to examine.</p>
3083
- * @public
3084
- */
3085
- export interface ProxyRuleCondition {
3086
- /**
3087
- * <p>Defines how to perform a match.</p>
3088
- * @public
3089
- */
3090
- ConditionOperator?: string | undefined;
3091
- /**
3092
- * <p>Defines what is to be matched.</p>
3093
- * @public
3094
- */
3095
- ConditionKey?: string | undefined;
3096
- /**
3097
- * <p>Specifes the exact value that needs to be matched against.</p>
3098
- * @public
3099
- */
3100
- ConditionValues?: string[] | undefined;
3101
- }
3102
- /**
3103
- * <p>Individual rules that define match conditions and actions for application-layer traffic. Rules specify what to inspect (domains, headers, methods) and what action to take (allow, deny, alert). </p>
3104
- * @public
3105
- */
3106
- export interface CreateProxyRule {
3107
- /**
3108
- * <p>The descriptive name of the proxy rule. You can't change the name of a proxy rule after you create it.</p>
3109
- * @public
3110
- */
3111
- ProxyRuleName?: string | undefined;
3112
- /**
3113
- * <p>A description of the proxy rule. </p>
3114
- * @public
3115
- */
3116
- Description?: string | undefined;
3117
- /**
3118
- * <p>Action to take. </p>
3119
- * @public
3120
- */
3121
- Action?: ProxyRulePhaseAction | undefined;
3122
- /**
3123
- * <p>Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against. </p>
3124
- * @public
3125
- */
3126
- Conditions?: ProxyRuleCondition[] | undefined;
3127
- /**
3128
- * <p>Where to insert a proxy rule in a proxy rule group. </p>
2679
+ * <code>ALERT</code> - Allow the traffic and generate an alert log for the traffic that reaches the default action at every hook. This is distinct from setting the policy mode to <code>MONITOR</code>.</p>
2680
+ * </li>
2681
+ * </ul>
2682
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/network-firewall/latest/developerguide/firewall-policies-v2.html">Next Generation policies</a> in the <i>Network Firewall Developer Guide</i>.</p>
3129
2683
  * @public
3130
2684
  */
3131
- InsertPosition?: number | undefined;
3132
- }
3133
- /**
3134
- * <p>Individual rules that define match conditions and actions for application-layer traffic. Rules specify what to inspect (domains, headers, methods) and what action to take (allow, deny, alert). </p>
3135
- * @public
3136
- */
3137
- export interface ProxyRule {
2685
+ FirewallDefaultAction?: PolicyDefaultAction | undefined;
3138
2686
  /**
3139
- * <p>The descriptive name of the proxy rule. You can't change the name of a proxy rule after you create it.</p>
2687
+ * <p>Additional options governing how the engines handle stateful traffic, such as the stream exception policy and flow timeouts.</p>
3140
2688
  * @public
3141
2689
  */
3142
- ProxyRuleName?: string | undefined;
2690
+ StatefulEngineOptions?: StatefulEngineOptionsV2 | undefined;
3143
2691
  /**
3144
- * <p>A description of the proxy rule. </p>
2692
+ * <p>The Amazon Resource Name (ARN) of the TLS inspection configuration to use to decrypt traffic for inspection. Next Generation policies support session holding only. For more information, see <a href="https://docs.aws.amazon.com/network-firewall/latest/developerguide/tls-inspection.html">Inspecting SSL/TLS traffic with TLS inspection configurations</a> in the <i>Network Firewall Developer Guide</i>.</p>
3145
2693
  * @public
3146
2694
  */
3147
- Description?: string | undefined;
2695
+ TLSInspectionConfigurationArn?: string | undefined;
3148
2696
  /**
3149
- * <p>Action to take. </p>
2697
+ * <p>Contains variables that you can use to override default Suricata settings in your Next Generation policy.</p>
3150
2698
  * @public
3151
2699
  */
3152
- Action?: ProxyRulePhaseAction | undefined;
2700
+ PolicyVariables?: PolicyVariables | undefined;
3153
2701
  /**
3154
- * <p>Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against. </p>
2702
+ * <p>The settings that enable resolved IP validation for the Next Generation policy.
2703
+ * Resolved IP validation verifies that a connection's destination IP address is one that the
2704
+ * Amazon Route 53 Resolver returned in a DNS response for a domain. A VPC that's associated with
2705
+ * the Route 53 Resolver DNS Firewall rule group that you specify must send the response.
2706
+ * This checks how the destination IP address was obtained, instead of relying only on the
2707
+ * domain that the client asserts in its TLS Server Name Indication (SNI) or HTTP
2708
+ * <code>Host</code> header. For more information, see
2709
+ * <a>Route53ResolvedIPValidation</a>.</p>
3155
2710
  * @public
3156
2711
  */
3157
- Conditions?: ProxyRuleCondition[] | undefined;
2712
+ Route53ResolvedIPValidation?: Route53ResolvedIPValidation | undefined;
3158
2713
  }
3159
2714
  /**
3160
- * <p>Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied. </p>
3161
2715
  * @public
3162
2716
  */
3163
- export interface ProxyRulesByRequestPhase {
3164
- /**
3165
- * <p>Before domain resolution. </p>
3166
- * @public
3167
- */
3168
- PreDNS?: ProxyRule[] | undefined;
2717
+ export interface CreateFirewallPolicyV2Request {
3169
2718
  /**
3170
- * <p>After DNS, before request.</p>
2719
+ * <p>The descriptive name of the Next Generation policy. You can't change the name of a firewall policy after you create it.</p>
3171
2720
  * @public
3172
2721
  */
3173
- PreREQUEST?: ProxyRule[] | undefined;
2722
+ FirewallPolicyV2Name: string | undefined;
3174
2723
  /**
3175
- * <p>After receiving response.</p>
2724
+ * <p>The rule groups and other settings that define the Next Generation policy.</p>
3176
2725
  * @public
3177
2726
  */
3178
- PostRESPONSE?: ProxyRule[] | undefined;
3179
- }
3180
- /**
3181
- * @public
3182
- */
3183
- export interface CreateProxyRuleGroupRequest {
2727
+ FirewallPolicyV2: FirewallPolicyV2 | undefined;
3184
2728
  /**
3185
- * <p>The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.</p>
2729
+ * <p>A description of the firewall policy.</p>
3186
2730
  * @public
3187
2731
  */
3188
- ProxyRuleGroupName: string | undefined;
2732
+ Description?: string | undefined;
3189
2733
  /**
3190
- * <p>A description of the proxy rule group. </p>
2734
+ * <p>The key:value pairs to associate with the resource.</p>
3191
2735
  * @public
3192
2736
  */
3193
- Description?: string | undefined;
2737
+ Tags?: Tag[] | undefined;
3194
2738
  /**
3195
- * <p>Individual rules that define match conditions and actions for application-layer traffic. Rules specify what to inspect (domains, headers, methods) and what action to take (allow, deny, alert). </p>
2739
+ * <p>Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request. </p>
2740
+ * <p>If set to <code>TRUE</code>, Network Firewall checks whether the request can run successfully,
2741
+ * but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with
2742
+ * 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
2743
+ * the required permissions to run the request and that your request parameters are valid. </p>
2744
+ * <p>If set to <code>FALSE</code>, Network Firewall makes the requested changes to your resources. </p>
3196
2745
  * @public
3197
2746
  */
3198
- Rules?: ProxyRulesByRequestPhase | undefined;
2747
+ DryRun?: boolean | undefined;
3199
2748
  /**
3200
- * <p>The key:value pairs to associate with the resource.</p>
2749
+ * <p>A complex type that contains settings for encryption of your firewall policy resources.</p>
3201
2750
  * @public
3202
2751
  */
3203
- Tags?: Tag[] | undefined;
2752
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
3204
2753
  }
3205
2754
  /**
3206
- * <p>Collections of related proxy filtering rules. Rule groups help you manage and reuse sets of rules across multiple proxy configurations. </p>
2755
+ * <p>The high-level properties of a Next Generation policy. This includes the policy's identity, status, consumed capacity, and association count. Network Firewall returns this object in response to the Next Generation policy operations. To retrieve the policy's rule groups and settings, use the <code>FirewallPolicyV2</code> object.</p>
3207
2756
  * @public
3208
2757
  */
3209
- export interface ProxyRuleGroup {
2758
+ export interface FirewallPolicyV2Response {
3210
2759
  /**
3211
- * <p>The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.</p>
2760
+ * <p>The descriptive name of the Next Generation policy. You can't change the name of a firewall policy after you create it.</p>
3212
2761
  * @public
3213
2762
  */
3214
- ProxyRuleGroupName?: string | undefined;
2763
+ FirewallPolicyV2Name: string | undefined;
3215
2764
  /**
3216
- * <p>The Amazon Resource Name (ARN) of a proxy rule group.</p>
2765
+ * <p>The Amazon Resource Name (ARN) of the Next Generation policy.</p>
3217
2766
  * @public
3218
2767
  */
3219
- ProxyRuleGroupArn?: string | undefined;
2768
+ FirewallPolicyV2Arn: string | undefined;
3220
2769
  /**
3221
- * <p>Time the Proxy Rule Group was created. </p>
2770
+ * <p>The unique identifier of the Next Generation policy. Network Firewall assigns this identifier when you create the policy.</p>
3222
2771
  * @public
3223
2772
  */
3224
- CreateTime?: Date | undefined;
2773
+ FirewallPolicyV2Id: string | undefined;
3225
2774
  /**
3226
- * <p>Time the Proxy Rule Group was deleted. </p>
2775
+ * <p>A description of the Next Generation policy.</p>
3227
2776
  * @public
3228
2777
  */
3229
- DeleteTime?: Date | undefined;
2778
+ Description?: string | undefined;
3230
2779
  /**
3231
- * <p>Individual rules that define match conditions and actions for application-layer traffic. Rules specify what to inspect (domains, headers, methods) and what action to take (allow, deny, alert). </p>
2780
+ * <p>The current status of the Next Generation policy. A policy must be in the <code>ACTIVE</code> state before you can use it in a firewall.</p>
3232
2781
  * @public
3233
2782
  */
3234
- Rules?: ProxyRulesByRequestPhase | undefined;
2783
+ FirewallPolicyV2Status?: ResourceStatus | undefined;
3235
2784
  /**
3236
- * <p>A description of the proxy rule group. </p>
2785
+ * <p>Additional information about the current status of the Next Generation policy.</p>
3237
2786
  * @public
3238
2787
  */
3239
- Description?: string | undefined;
2788
+ StatusMessage?: string | undefined;
3240
2789
  /**
3241
- * <p>The key:value pairs to associate with the resource.</p>
2790
+ * <p>The key-value tag pairs that are associated with the Next Generation policy.</p>
3242
2791
  * @public
3243
2792
  */
3244
2793
  Tags?: Tag[] | undefined;
3245
- }
3246
- /**
3247
- * @public
3248
- */
3249
- export interface CreateProxyRuleGroupResponse {
3250
2794
  /**
3251
- * <p>The properties that define the proxy rule group. </p>
3252
- * @public
3253
- */
3254
- ProxyRuleGroup?: ProxyRuleGroup | undefined;
3255
- /**
3256
- * <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule group. The token marks the state of the proxy rule group resource at the time of the request. </p>
3257
- * <p>To make changes to the proxy rule group, you provide the token in your request. Network Firewall uses the token to ensure that the proxy 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 proxy 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>
2795
+ * <p>The number of firewall engine rule capacity units that the policy's firewall section currently consumes.</p>
3258
2796
  * @public
3259
2797
  */
3260
- UpdateToken?: string | undefined;
3261
- }
3262
- /**
3263
- * <p>Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied. </p>
3264
- * <p>This data type is used specifically for the <a>CreateProxyRules</a> API.</p>
3265
- * <p>Pre-DNS - before domain resolution.</p>
3266
- * <p>Pre-Request - after DNS, before request.</p>
3267
- * <p>Post-Response - after receiving response.</p>
3268
- * @public
3269
- */
3270
- export interface CreateProxyRulesByRequestPhase {
2798
+ ConsumedFirewallRuleCapacity?: number | undefined;
3271
2799
  /**
3272
- * <p>Before domain resolution. </p>
2800
+ * <p>The number of IPS engine rule capacity units that the policy's IPS section currently consumes.</p>
3273
2801
  * @public
3274
2802
  */
3275
- PreDNS?: CreateProxyRule[] | undefined;
2803
+ ConsumedIpsRuleCapacity?: number | undefined;
3276
2804
  /**
3277
- * <p>After DNS, before request.</p>
2805
+ * <p>The number of IPS domain list capacity units that the policy's IPS section currently consumes.</p>
3278
2806
  * @public
3279
2807
  */
3280
- PreREQUEST?: CreateProxyRule[] | undefined;
2808
+ ConsumedIpsDomainCapacity?: number | undefined;
3281
2809
  /**
3282
- * <p>After receiving response.</p>
2810
+ * <p>The number of firewalls that are associated with the Next Generation policy.</p>
3283
2811
  * @public
3284
2812
  */
3285
- PostRESPONSE?: CreateProxyRule[] | undefined;
3286
- }
3287
- /**
3288
- * @public
3289
- */
3290
- export interface CreateProxyRulesRequest {
2813
+ NumberOfAssociations?: number | undefined;
3291
2814
  /**
3292
- * <p>The Amazon Resource Name (ARN) of a proxy rule group.</p>
3293
- * <p>You must specify the ARN or the name, and you can specify both. </p>
2815
+ * <p>A complex type that contains the Amazon Web Services KMS encryption configuration settings for your Next Generation policy.</p>
3294
2816
  * @public
3295
2817
  */
3296
- ProxyRuleGroupArn?: string | undefined;
2818
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
3297
2819
  /**
3298
- * <p>The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.</p>
3299
- * <p>You must specify the ARN or the name, and you can specify both. </p>
2820
+ * <p>Any configuration errors that apply to the Next Generation policy. Network Firewall detects these errors asynchronously, after you create or update the policy, so an error can appear after the request that caused it has already succeeded. Each entry describes the problem and how to resolve it, and Network Firewall clears it automatically after you resolve the problem.</p>
3300
2821
  * @public
3301
2822
  */
3302
- ProxyRuleGroupName?: string | undefined;
2823
+ Errors?: FirewallPolicyError[] | undefined;
3303
2824
  /**
3304
- * <p>Individual rules that define match conditions and actions for application-layer traffic. Rules specify what to inspect (domains, headers, methods) and what action to take (allow, deny, alert). </p>
2825
+ * <p>The last time that the Next Generation policy was changed.</p>
3305
2826
  * @public
3306
2827
  */
3307
- Rules: CreateProxyRulesByRequestPhase | undefined;
2828
+ LastModifiedTime?: Date | undefined;
3308
2829
  }
3309
2830
  /**
3310
2831
  * @public
3311
2832
  */
3312
- export interface CreateProxyRulesResponse {
2833
+ export interface CreateFirewallPolicyV2Response {
3313
2834
  /**
3314
- * <p>The properties that define the proxy rule group with the newly created proxy rule(s). </p>
2835
+ * <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>
2836
+ * <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>
3315
2837
  * @public
3316
2838
  */
3317
- ProxyRuleGroup?: ProxyRuleGroup | undefined;
2839
+ UpdateToken: string | undefined;
3318
2840
  /**
3319
- * <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule. The token marks the state of the proxy rule resource at the time of the request. </p>
3320
- * <p>To make changes to the proxy rule, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule 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 proxy rule 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>
2841
+ * <p>The high-level properties of the Next Generation policy. This, along with the <a>FirewallPolicyV2</a>, define the policy. You can retrieve all objects for a Next Generation policy by calling <a>DescribeFirewallPolicyV2</a>.</p>
3321
2842
  * @public
3322
2843
  */
3323
- UpdateToken?: string | undefined;
2844
+ FirewallPolicyV2Response: FirewallPolicyV2Response | undefined;
3324
2845
  }
3325
2846
  /**
3326
2847
  * <p>The basic rule criteria for Network Firewall to use to inspect packet headers in stateful
@@ -4077,6 +3598,17 @@ export interface CreateRuleGroupResponse {
4077
3598
  */
4078
3599
  RuleGroupResponse: RuleGroupResponse | undefined;
4079
3600
  }
3601
+ /**
3602
+ * <p>The domains that a <a>ServerCertificateScope</a> matches for SSL/TLS inspection on a proxy mode firewall.</p>
3603
+ * @public
3604
+ */
3605
+ export interface DomainMatch {
3606
+ /**
3607
+ * <p>The domains to match. You can specify an exact domain, such as <code>example.com</code>, or a domain with a single leading wildcard label, such as <code>*.example.com</code>. You can specify from 1 to 50 domains, and each domain can be up to 255 characters long.</p>
3608
+ * @public
3609
+ */
3610
+ Domains: string[] | undefined;
3611
+ }
4080
3612
  /**
4081
3613
  * <p>Settings that define the Secure Sockets Layer/Transport Layer Security (SSL/TLS) traffic that Network Firewall should decrypt for inspection by the stateful rule engine.</p>
4082
3614
  * @public
@@ -4113,6 +3645,45 @@ export interface ServerCertificateScope {
4113
3645
  * @public
4114
3646
  */
4115
3647
  Protocols?: number[] | undefined;
3648
+ /**
3649
+ * <p>The domains that this scope matches, based on the host name in the client's HTTP CONNECT request. Domain matching applies only to proxy mode firewalls. If you specify <code>DomainMatch</code>, you must set <code>DeploymentMode</code> to <code>EXPLICIT_PROXY_ONLY</code>. If you don't specify <code>DomainMatch</code>, the scope matches traffic by its source, destination, ports, and protocols only.</p>
3650
+ * @public
3651
+ */
3652
+ DomainMatch?: DomainMatch | undefined;
3653
+ /**
3654
+ * <p>Whether the firewall decrypts traffic that matches this scope. You can choose from the following values:</p>
3655
+ * <ul>
3656
+ * <li>
3657
+ * <p>
3658
+ * <code>DECRYPT</code> - The firewall decrypts the traffic for inspection.</p>
3659
+ * </li>
3660
+ * <li>
3661
+ * <p>
3662
+ * <code>BYPASS</code> - The firewall doesn't decrypt the traffic.</p>
3663
+ * </li>
3664
+ * </ul>
3665
+ * @public
3666
+ */
3667
+ DecryptionAction?: DecryptionAction | undefined;
3668
+ /**
3669
+ * <p>The type of firewall that this scope applies to. If you don't specify a value, the scope applies to both types, the same as <code>ALL</code>. You can choose from the following values:</p>
3670
+ * <ul>
3671
+ * <li>
3672
+ * <p>
3673
+ * <code>ALL</code> - The scope applies to both transparent firewalls and proxy mode firewalls.</p>
3674
+ * </li>
3675
+ * <li>
3676
+ * <p>
3677
+ * <code>TRANSPARENT_FIREWALL_ONLY</code> - The scope applies only to transparent firewalls.</p>
3678
+ * </li>
3679
+ * <li>
3680
+ * <p>
3681
+ * <code>EXPLICIT_PROXY_ONLY</code> - The scope applies only to proxy mode firewalls. A scope that specifies <code>DomainMatch</code> must use this value.</p>
3682
+ * </li>
3683
+ * </ul>
3684
+ * @public
3685
+ */
3686
+ DeploymentMode?: TLSInspectionScopeDeploymentMode | undefined;
4116
3687
  }
4117
3688
  /**
4118
3689
  * <p>Any Certificate Manager (ACM) Secure Sockets Layer/Transport Layer Security (SSL/TLS) server certificate that's associated with a <a>ServerCertificateConfiguration</a>. Used in a <a>TLSInspectionConfiguration</a> for inspection of inbound traffic to your firewall. You must request or import a SSL/TLS certificate into ACM for each domain Network Firewall needs to decrypt and inspect. Network Firewall uses the SSL/TLS certificates to decrypt specified inbound SSL/TLS traffic going to your firewall. For information about working with certificates in Certificate Manager, see <a href="https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-public.html">Request a public certificate </a> or <a href="https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html">Importing certificates</a> in the <i>Certificate Manager User Guide</i>.</p>
@@ -4164,6 +3735,21 @@ export interface ServerCertificateConfiguration {
4164
3735
  * @public
4165
3736
  */
4166
3737
  CheckCertificateRevocationStatus?: CheckCertificateRevocationStatusActions | undefined;
3738
+ /**
3739
+ * <p>What the firewall does with SSL/TLS traffic that doesn't match any scope in this server certificate configuration. This setting applies only to proxy mode firewalls. If you don't specify a value, the firewall uses <code>BYPASS</code>. You can choose from the following values:</p>
3740
+ * <ul>
3741
+ * <li>
3742
+ * <p>
3743
+ * <code>BYPASS</code> - The firewall doesn't decrypt the traffic.</p>
3744
+ * </li>
3745
+ * <li>
3746
+ * <p>
3747
+ * <code>DECRYPT</code> - The firewall decrypts the traffic for inspection. You can use <code>DECRYPT</code> only if every scope in the configuration sets <code>DeploymentMode</code> to <code>EXPLICIT_PROXY_ONLY</code>.</p>
3748
+ * </li>
3749
+ * </ul>
3750
+ * @public
3751
+ */
3752
+ DefaultDecryptionBehavior?: DecryptionAction | undefined;
4167
3753
  }
4168
3754
  /**
4169
3755
  * <p>The object that defines a TLS inspection configuration. This, along with <a>TLSInspectionConfigurationResponse</a>, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling <a>DescribeTLSInspectionConfiguration</a>. </p>
@@ -4480,6 +4066,22 @@ export interface DeleteFirewallRequest {
4480
4066
  * @public
4481
4067
  */
4482
4068
  FirewallArn?: string | undefined;
4069
+ /**
4070
+ * <p>Specifies whether to delete the NAT gateways that Network Firewall created for a proxy mode firewall when you delete the firewall. You can choose from the following values:</p>
4071
+ * <ul>
4072
+ * <li>
4073
+ * <p>
4074
+ * <code>FALSE</code> - Network Firewall detaches the NAT gateways from the firewall and keeps them. This is the default.</p>
4075
+ * </li>
4076
+ * <li>
4077
+ * <p>
4078
+ * <code>TRUE</code> - Network Firewall also deletes the NAT gateways. The firewall status stays <code>DELETING</code> until they're deleted. You need permission to call the Amazon EC2 <code>DeleteNatGateway</code> action.</p>
4079
+ * </li>
4080
+ * </ul>
4081
+ * <p>You can't specify <code>TRUE</code> for a firewall that isn't a proxy mode firewall.</p>
4082
+ * @public
4083
+ */
4084
+ DeleteAssociatedNatGateways?: boolean | undefined;
4483
4085
  }
4484
4086
  /**
4485
4087
  * @public
@@ -4640,123 +4242,27 @@ export interface DeleteProxyRequest {
4640
4242
  * <p>You must specify the ARN or the name, and you can specify both. </p>
4641
4243
  * @public
4642
4244
  */
4643
- ProxyArn?: string | undefined;
4644
- }
4645
- /**
4646
- * @public
4647
- */
4648
- export interface DeleteProxyResponse {
4649
- /**
4650
- * <p>The NAT Gateway the Proxy was attached to. </p>
4651
- * @public
4652
- */
4653
- NatGatewayId?: string | undefined;
4654
- /**
4655
- * <p>The descriptive name of the proxy. You can't change the name of a proxy after you create it.</p>
4656
- * @public
4657
- */
4658
- ProxyName?: string | undefined;
4659
- /**
4660
- * <p>The Amazon Resource Name (ARN) of a proxy.</p>
4661
- * @public
4662
- */
4663
- ProxyArn?: string | undefined;
4664
- }
4665
- /**
4666
- * @public
4667
- */
4668
- export interface DeleteProxyConfigurationRequest {
4669
- /**
4670
- * <p>The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.</p>
4671
- * <p>You must specify the ARN or the name, and you can specify both. </p>
4672
- * @public
4673
- */
4674
- ProxyConfigurationName?: string | undefined;
4675
- /**
4676
- * <p>The Amazon Resource Name (ARN) of a proxy configuration.</p>
4677
- * <p>You must specify the ARN or the name, and you can specify both. </p>
4678
- * @public
4679
- */
4680
- ProxyConfigurationArn?: string | undefined;
4681
- }
4682
- /**
4683
- * @public
4684
- */
4685
- export interface DeleteProxyConfigurationResponse {
4686
- /**
4687
- * <p>The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.</p>
4688
- * @public
4689
- */
4690
- ProxyConfigurationName?: string | undefined;
4691
- /**
4692
- * <p>The Amazon Resource Name (ARN) of a proxy configuration.</p>
4693
- * @public
4694
- */
4695
- ProxyConfigurationArn?: string | undefined;
4696
- }
4697
- /**
4698
- * @public
4699
- */
4700
- export interface DeleteProxyRuleGroupRequest {
4701
- /**
4702
- * <p>The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.</p>
4703
- * <p>You must specify the ARN or the name, and you can specify both. </p>
4704
- * @public
4705
- */
4706
- ProxyRuleGroupName?: string | undefined;
4707
- /**
4708
- * <p>The Amazon Resource Name (ARN) of a proxy rule group.</p>
4709
- * <p>You must specify the ARN or the name, and you can specify both. </p>
4710
- * @public
4711
- */
4712
- ProxyRuleGroupArn?: string | undefined;
4713
- }
4714
- /**
4715
- * @public
4716
- */
4717
- export interface DeleteProxyRuleGroupResponse {
4718
- /**
4719
- * <p>The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.</p>
4720
- * @public
4721
- */
4722
- ProxyRuleGroupName?: string | undefined;
4723
- /**
4724
- * <p>The Amazon Resource Name (ARN) of a proxy rule group.</p>
4725
- * @public
4726
- */
4727
- ProxyRuleGroupArn?: string | undefined;
4728
- }
4729
- /**
4730
- * @public
4731
- */
4732
- export interface DeleteProxyRulesRequest {
4733
- /**
4734
- * <p>The Amazon Resource Name (ARN) of a proxy rule group.</p>
4735
- * <p>You must specify the ARN or the name, and you can specify both. </p>
4736
- * @public
4737
- */
4738
- ProxyRuleGroupArn?: string | undefined;
4739
- /**
4740
- * <p>The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.</p>
4741
- * <p>You must specify the ARN or the name, and you can specify both. </p>
4742
- * @public
4743
- */
4744
- ProxyRuleGroupName?: string | undefined;
4745
- /**
4746
- * <p>The proxy rule(s) to remove from the existing proxy rule group. </p>
4747
- * @public
4748
- */
4749
- Rules: string[] | undefined;
4245
+ ProxyArn?: string | undefined;
4750
4246
  }
4751
4247
  /**
4752
4248
  * @public
4753
4249
  */
4754
- export interface DeleteProxyRulesResponse {
4250
+ export interface DeleteProxyResponse {
4251
+ /**
4252
+ * <p>The NAT Gateway the Proxy was attached to. </p>
4253
+ * @public
4254
+ */
4255
+ NatGatewayId?: string | undefined;
4256
+ /**
4257
+ * <p>The descriptive name of the proxy. You can't change the name of a proxy after you create it.</p>
4258
+ * @public
4259
+ */
4260
+ ProxyName?: string | undefined;
4755
4261
  /**
4756
- * <p>The properties that define the proxy rule group with the newly created proxy rule(s). </p>
4262
+ * <p>The Amazon Resource Name (ARN) of a proxy.</p>
4757
4263
  * @public
4758
4264
  */
4759
- ProxyRuleGroup?: ProxyRuleGroup | undefined;
4265
+ ProxyArn?: string | undefined;
4760
4266
  }
4761
4267
  /**
4762
4268
  * @public
@@ -5433,6 +4939,22 @@ export interface DescribeProxyRequest {
5433
4939
  */
5434
4940
  ProxyArn?: string | undefined;
5435
4941
  }
4942
+ /**
4943
+ * <p>TLS decryption on traffic to filter on attributes in the HTTP header. </p>
4944
+ * @public
4945
+ */
4946
+ export interface TlsInterceptProperties {
4947
+ /**
4948
+ * <p>Private Certificate Authority (PCA) used to issue private TLS certificates so that the proxy can present PCA-signed certificates which applications trust through the same root, establishing a secure and consistent trust model for encrypted communication.</p>
4949
+ * @public
4950
+ */
4951
+ PcaArn?: string | undefined;
4952
+ /**
4953
+ * <p>Specifies whether to enable or disable TLS Intercept Mode. </p>
4954
+ * @public
4955
+ */
4956
+ TlsInterceptMode?: TlsInterceptMode | undefined;
4957
+ }
5436
4958
  /**
5437
4959
  * <p>Proxy attached to a NAT gateway. </p>
5438
4960
  * @public
@@ -5540,110 +5062,6 @@ export interface DescribeProxyResponse {
5540
5062
  */
5541
5063
  UpdateToken?: string | undefined;
5542
5064
  }
5543
- /**
5544
- * @public
5545
- */
5546
- export interface DescribeProxyConfigurationRequest {
5547
- /**
5548
- * <p>The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.</p>
5549
- * <p>You must specify the ARN or the name, and you can specify both. </p>
5550
- * @public
5551
- */
5552
- ProxyConfigurationName?: string | undefined;
5553
- /**
5554
- * <p>The Amazon Resource Name (ARN) of a proxy configuration.</p>
5555
- * <p>You must specify the ARN or the name, and you can specify both. </p>
5556
- * @public
5557
- */
5558
- ProxyConfigurationArn?: string | undefined;
5559
- }
5560
- /**
5561
- * @public
5562
- */
5563
- export interface DescribeProxyConfigurationResponse {
5564
- /**
5565
- * <p>The configuration for the specified proxy configuration. </p>
5566
- * @public
5567
- */
5568
- ProxyConfiguration?: ProxyConfiguration | undefined;
5569
- /**
5570
- * <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request. </p>
5571
- * <p>To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration 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 proxy configuration 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>
5572
- * @public
5573
- */
5574
- UpdateToken?: string | undefined;
5575
- }
5576
- /**
5577
- * @public
5578
- */
5579
- export interface DescribeProxyRuleRequest {
5580
- /**
5581
- * <p>The descriptive name of the proxy rule. You can't change the name of a proxy rule after you create it.</p>
5582
- * @public
5583
- */
5584
- ProxyRuleName: string | undefined;
5585
- /**
5586
- * <p>The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.</p>
5587
- * <p>You must specify the ARN or the name, and you can specify both. </p>
5588
- * @public
5589
- */
5590
- ProxyRuleGroupName?: string | undefined;
5591
- /**
5592
- * <p>The Amazon Resource Name (ARN) of a proxy rule group.</p>
5593
- * <p>You must specify the ARN or the name, and you can specify both. </p>
5594
- * @public
5595
- */
5596
- ProxyRuleGroupArn?: string | undefined;
5597
- }
5598
- /**
5599
- * @public
5600
- */
5601
- export interface DescribeProxyRuleResponse {
5602
- /**
5603
- * <p>The configuration for the specified proxy rule. </p>
5604
- * @public
5605
- */
5606
- ProxyRule?: ProxyRule | undefined;
5607
- /**
5608
- * <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule. The token marks the state of the proxy rule resource at the time of the request. </p>
5609
- * <p>To make changes to the proxy rule, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule 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 proxy rule 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>
5610
- * @public
5611
- */
5612
- UpdateToken?: string | undefined;
5613
- }
5614
- /**
5615
- * @public
5616
- */
5617
- export interface DescribeProxyRuleGroupRequest {
5618
- /**
5619
- * <p>The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.</p>
5620
- * <p>You must specify the ARN or the name, and you can specify both. </p>
5621
- * @public
5622
- */
5623
- ProxyRuleGroupName?: string | undefined;
5624
- /**
5625
- * <p>The Amazon Resource Name (ARN) of a proxy rule group.</p>
5626
- * <p>You must specify the ARN or the name, and you can specify both. </p>
5627
- * @public
5628
- */
5629
- ProxyRuleGroupArn?: string | undefined;
5630
- }
5631
- /**
5632
- * @public
5633
- */
5634
- export interface DescribeProxyRuleGroupResponse {
5635
- /**
5636
- * <p>The configuration for the specified proxy rule group. </p>
5637
- * @public
5638
- */
5639
- ProxyRuleGroup?: ProxyRuleGroup | undefined;
5640
- /**
5641
- * <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule group. The token marks the state of the proxy rule group resource at the time of the request. </p>
5642
- * <p>To make changes to the proxy rule group, you provide the token in your request. Network Firewall uses the token to ensure that the proxy 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 proxy 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>
5643
- * @public
5644
- */
5645
- UpdateToken?: string | undefined;
5646
- }
5647
5065
  /**
5648
5066
  * @public
5649
5067
  */
@@ -6065,55 +5483,6 @@ export interface DescribeVpcEndpointAssociationResponse {
6065
5483
  */
6066
5484
  VpcEndpointAssociationStatus?: VpcEndpointAssociationStatus | undefined;
6067
5485
  }
6068
- /**
6069
- * @public
6070
- */
6071
- export interface DetachRuleGroupsFromProxyConfigurationRequest {
6072
- /**
6073
- * <p>The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.</p>
6074
- * <p>You must specify the ARN or the name, and you can specify both. </p>
6075
- * @public
6076
- */
6077
- ProxyConfigurationName?: string | undefined;
6078
- /**
6079
- * <p>The Amazon Resource Name (ARN) of a proxy configuration.</p>
6080
- * <p>You must specify the ARN or the name, and you can specify both. </p>
6081
- * @public
6082
- */
6083
- ProxyConfigurationArn?: string | undefined;
6084
- /**
6085
- * <p>The proxy rule group names to detach from the proxy configuration</p>
6086
- * @public
6087
- */
6088
- RuleGroupNames?: string[] | undefined;
6089
- /**
6090
- * <p>The proxy rule group arns to detach from the proxy configuration</p>
6091
- * @public
6092
- */
6093
- RuleGroupArns?: string[] | undefined;
6094
- /**
6095
- * <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request. </p>
6096
- * <p>To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration 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 proxy configuration 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>
6097
- * @public
6098
- */
6099
- UpdateToken: string | undefined;
6100
- }
6101
- /**
6102
- * @public
6103
- */
6104
- export interface DetachRuleGroupsFromProxyConfigurationResponse {
6105
- /**
6106
- * <p>The updated proxy configuration resource that reflects the updates from the request.</p>
6107
- * @public
6108
- */
6109
- ProxyConfiguration?: ProxyConfiguration | undefined;
6110
- /**
6111
- * <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request. </p>
6112
- * <p>To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration 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 proxy configuration 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>
6113
- * @public
6114
- */
6115
- UpdateToken?: string | undefined;
6116
- }
6117
5486
  /**
6118
5487
  * @public
6119
5488
  */
@@ -6527,6 +5896,42 @@ export interface ListContainerAssociationsResponse {
6527
5896
  */
6528
5897
  NextToken?: string | undefined;
6529
5898
  }
5899
+ /**
5900
+ * @public
5901
+ */
5902
+ export interface ListContextStoresRequest {
5903
+ /**
5904
+ * <p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available
5905
+ * for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code>
5906
+ * value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>
5907
+ * @public
5908
+ */
5909
+ NextToken?: string | undefined;
5910
+ /**
5911
+ * <p>The maximum number of objects that you want Network Firewall to return for this request. If more
5912
+ * objects are available, in the response, Network Firewall provides a
5913
+ * <code>NextToken</code> value that you can use in a subsequent call to get the next batch of objects.</p>
5914
+ * @public
5915
+ */
5916
+ MaxResults?: number | undefined;
5917
+ }
5918
+ /**
5919
+ * @public
5920
+ */
5921
+ export interface ListContextStoresResponse {
5922
+ /**
5923
+ * <p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available
5924
+ * for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code>
5925
+ * value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>
5926
+ * @public
5927
+ */
5928
+ NextToken?: string | undefined;
5929
+ /**
5930
+ * <p>The context stores that are associated with your firewalls.</p>
5931
+ * @public
5932
+ */
5933
+ ContextStores: ContextStore[] | undefined;
5934
+ }
6530
5935
  /**
6531
5936
  * @public
6532
5937
  */
@@ -6833,69 +6238,19 @@ export interface ListFlowOperationsResponse {
6833
6238
  /**
6834
6239
  * @public
6835
6240
  */
6836
- export interface ListProxiesRequest {
6837
- /**
6838
- * <p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available
6839
- * for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code>
6840
- * value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>
6841
- * @public
6842
- */
6843
- NextToken?: string | undefined;
6844
- /**
6845
- * <p>The maximum number of objects that you want Network Firewall to return for this request. If more
6846
- * objects are available, in the response, Network Firewall provides a
6847
- * <code>NextToken</code> value that you can use in a subsequent call to get the next batch of objects.</p>
6848
- * @public
6849
- */
6850
- MaxResults?: number | undefined;
6851
- }
6852
- /**
6853
- * <p>High-level information about a proxy, returned by operations like create and
6854
- * describe. You can use the information provided in the metadata to retrieve and manage a
6855
- * proxy. You can retrieve all objects for a proxy by calling <a>DescribeProxy</a>. </p>
6856
- * @public
6857
- */
6858
- export interface ProxyMetadata {
6859
- /**
6860
- * <p>The descriptive name of the proxy. You can't change the name of a proxy after you create it.</p>
6861
- * @public
6862
- */
6863
- Name?: string | undefined;
6864
- /**
6865
- * <p>The Amazon Resource Name (ARN) of a proxy.</p>
6866
- * @public
6867
- */
6868
- Arn?: string | undefined;
6869
- }
6870
- /**
6871
- * @public
6872
- */
6873
- export interface ListProxiesResponse {
6874
- /**
6875
- * <p>The metadata for the proxies. Depending on your setting for max results and
6876
- * the number of proxies that you have, this might not be the full list. </p>
6877
- * @public
6878
- */
6879
- Proxies?: ProxyMetadata[] | undefined;
6241
+ export interface ListResourcesInContextStoreRequest {
6880
6242
  /**
6881
- * <p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available
6882
- * for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code>
6883
- * value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>
6243
+ * <p>The unique identifier of the context store. To get the identifiers of the context stores that are associated
6244
+ * with your firewalls, call <code>ListContextStores</code>.</p>
6884
6245
  * @public
6885
6246
  */
6886
- NextToken?: string | undefined;
6887
- }
6888
- /**
6889
- * @public
6890
- */
6891
- export interface ListProxyConfigurationsRequest {
6247
+ ContextStoreId: string | undefined;
6892
6248
  /**
6893
- * <p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available
6894
- * for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code>
6895
- * value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>
6249
+ * <p>Optional filters that limit the results to resources in a specific Region, of a specific resource type, or
6250
+ * both. If you specify both filters, Network Firewall returns only the resources that match both.</p>
6896
6251
  * @public
6897
6252
  */
6898
- NextToken?: string | undefined;
6253
+ Filters?: ContextFilters | undefined;
6899
6254
  /**
6900
6255
  * <p>The maximum number of objects that you want Network Firewall to return for this request. If more
6901
6256
  * objects are available, in the response, Network Firewall provides a
@@ -6903,90 +6258,75 @@ export interface ListProxyConfigurationsRequest {
6903
6258
  * @public
6904
6259
  */
6905
6260
  MaxResults?: number | undefined;
6906
- }
6907
- /**
6908
- * <p>High-level information about a proxy configuration, returned by operations like create and
6909
- * describe. You can use the information provided in the metadata to retrieve and manage a
6910
- * proxy configuration. You can retrieve all objects for a proxy configuration by calling <a>DescribeProxyConfiguration</a>. </p>
6911
- * @public
6912
- */
6913
- export interface ProxyConfigurationMetadata {
6914
- /**
6915
- * <p>The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.</p>
6916
- * @public
6917
- */
6918
- Name?: string | undefined;
6919
- /**
6920
- * <p>The Amazon Resource Name (ARN) of a proxy configuration.</p>
6921
- * @public
6922
- */
6923
- Arn?: string | undefined;
6924
- }
6925
- /**
6926
- * @public
6927
- */
6928
- export interface ListProxyConfigurationsResponse {
6929
- /**
6930
- * <p>The metadata for the proxy configurations. Depending on your setting for max results and
6931
- * the number of proxy configurations that you have, this might not be the full list. </p>
6932
- * @public
6933
- */
6934
- ProxyConfigurations?: ProxyConfigurationMetadata[] | undefined;
6935
6261
  /**
6936
6262
  * <p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available
6937
6263
  * for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code>
6938
6264
  * value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>
6265
+ * <p>A token is valid only for the same <code>ContextStoreId</code> and filters as the request that returned it.</p>
6939
6266
  * @public
6940
6267
  */
6941
6268
  NextToken?: string | undefined;
6942
6269
  }
6943
6270
  /**
6271
+ * <p>A resource that a context store records, which <code>ListResourcesInContextStore</code> returns.</p>
6944
6272
  * @public
6945
6273
  */
6946
- export interface ListProxyRuleGroupsRequest {
6274
+ export interface ResourceContext {
6275
+ /**
6276
+ * <p>The kind of context that the context store records for the resource. Valid values:</p>
6277
+ * <ul>
6278
+ * <li>
6279
+ * <p>
6280
+ * <code>ResourceId</code> - A VPC.</p>
6281
+ * </li>
6282
+ * <li>
6283
+ * <p>
6284
+ * <code>SegmentId</code> - A security group.</p>
6285
+ * </li>
6286
+ * <li>
6287
+ * <p>
6288
+ * <code>Subnet</code> - A subnet.</p>
6289
+ * </li>
6290
+ * <li>
6291
+ * <p>
6292
+ * <code>Attachment</code> - A transit gateway attachment.</p>
6293
+ * </li>
6294
+ * </ul>
6295
+ * @public
6296
+ */
6297
+ ContextType?: ContextType | undefined;
6947
6298
  /**
6948
- * <p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available
6949
- * for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code>
6950
- * value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>
6299
+ * <p>The Amazon Web Services Region of the resource.</p>
6951
6300
  * @public
6952
6301
  */
6953
- NextToken?: string | undefined;
6302
+ Region?: string | undefined;
6954
6303
  /**
6955
- * <p>The maximum number of objects that you want Network Firewall to return for this request. If more
6956
- * objects are available, in the response, Network Firewall provides a
6957
- * <code>NextToken</code> value that you can use in a subsequent call to get the next batch of objects.</p>
6304
+ * <p>The Availability Zone of the resource. Present for subnets.</p>
6958
6305
  * @public
6959
6306
  */
6960
- MaxResults?: number | undefined;
6961
- }
6962
- /**
6963
- * <p>High-level information about a proxy rule group, returned by operations like create and
6964
- * describe. You can use the information provided in the metadata to retrieve and manage a
6965
- * proxy rule group. You can retrieve all objects for a proxy rule group by calling <a>DescribeProxyRuleGroup</a>. </p>
6966
- * @public
6967
- */
6968
- export interface ProxyRuleGroupMetadata {
6307
+ AvailabilityZone?: string | undefined;
6969
6308
  /**
6970
- * <p>The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.</p>
6309
+ * <p>The type of the transit gateway attachment. Present for attachments.</p>
6971
6310
  * @public
6972
6311
  */
6973
- Name?: string | undefined;
6312
+ AttachmentType?: string | undefined;
6974
6313
  /**
6975
- * <p>The Amazon Resource Name (ARN) of a proxy rule group.</p>
6314
+ * <p>The identifier of the resource, for example <code>vpc-1234567890abcdef0</code>,
6315
+ * <code>subnet-1234567890abcdef0</code>, <code>sg-1234567890abcdef0</code>, or
6316
+ * <code>tgw-attach-1234567890abcdef0</code>.</p>
6976
6317
  * @public
6977
6318
  */
6978
- Arn?: string | undefined;
6319
+ PublicId: string | undefined;
6979
6320
  }
6980
6321
  /**
6981
6322
  * @public
6982
6323
  */
6983
- export interface ListProxyRuleGroupsResponse {
6324
+ export interface ListResourcesInContextStoreResponse {
6984
6325
  /**
6985
- * <p>The metadata for the proxy rule groups. Depending on your setting for max results and
6986
- * the number of proxy rule groups that you have, this might not be the full list. </p>
6326
+ * <p>The resources that the context store records and that match your filters.</p>
6987
6327
  * @public
6988
6328
  */
6989
- ProxyRuleGroups?: ProxyRuleGroupMetadata[] | undefined;
6329
+ ResourceContexts: ResourceContext[] | undefined;
6990
6330
  /**
6991
6331
  * <p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available
6992
6332
  * for retrieval exceeds the maximum you requested, Network Firewall returns a <code>NextToken</code>
@@ -8208,334 +7548,6 @@ export interface UpdateLoggingConfigurationResponse {
8208
7548
  */
8209
7549
  EnableMonitoringDashboard?: boolean | undefined;
8210
7550
  }
8211
- /**
8212
- * @public
8213
- */
8214
- export interface UpdateProxyRequest {
8215
- /**
8216
- * <p>The NAT Gateway the proxy is attached to. </p>
8217
- * @public
8218
- */
8219
- NatGatewayId: string | undefined;
8220
- /**
8221
- * <p>The descriptive name of the proxy. You can't change the name of a proxy after you create it.</p>
8222
- * <p>You must specify the ARN or the name, and you can specify both. </p>
8223
- * @public
8224
- */
8225
- ProxyName?: string | undefined;
8226
- /**
8227
- * <p>The Amazon Resource Name (ARN) of a proxy.</p>
8228
- * <p>You must specify the ARN or the name, and you can specify both. </p>
8229
- * @public
8230
- */
8231
- ProxyArn?: string | undefined;
8232
- /**
8233
- * <p>Listener properties for HTTP and HTTPS traffic to add. </p>
8234
- * @public
8235
- */
8236
- ListenerPropertiesToAdd?: ListenerPropertyRequest[] | undefined;
8237
- /**
8238
- * <p>Listener properties for HTTP and HTTPS traffic to remove. </p>
8239
- * @public
8240
- */
8241
- ListenerPropertiesToRemove?: ListenerPropertyRequest[] | undefined;
8242
- /**
8243
- * <p>TLS decryption on traffic to filter on attributes in the HTTP header. </p>
8244
- * @public
8245
- */
8246
- TlsInterceptProperties?: TlsInterceptPropertiesRequest | undefined;
8247
- /**
8248
- * <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy. The token marks the state of the proxy resource at the time of the request. </p>
8249
- * <p>To make changes to the proxy, you provide the token in your request. Network Firewall uses the token to ensure that the proxy 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 proxy 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>
8250
- * @public
8251
- */
8252
- UpdateToken: string | undefined;
8253
- }
8254
- /**
8255
- * @public
8256
- */
8257
- export interface UpdateProxyResponse {
8258
- /**
8259
- * <p>The updated proxy resource that reflects the updates from the request.</p>
8260
- * @public
8261
- */
8262
- Proxy?: Proxy | undefined;
8263
- /**
8264
- * <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy. The token marks the state of the proxy resource at the time of the request. </p>
8265
- * <p>To make changes to the proxy, you provide the token in your request. Network Firewall uses the token to ensure that the proxy 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 proxy 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>
8266
- * @public
8267
- */
8268
- UpdateToken?: string | undefined;
8269
- }
8270
- /**
8271
- * @public
8272
- */
8273
- export interface UpdateProxyConfigurationRequest {
8274
- /**
8275
- * <p>The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.</p>
8276
- * <p>You must specify the ARN or the name, and you can specify both. </p>
8277
- * @public
8278
- */
8279
- ProxyConfigurationName?: string | undefined;
8280
- /**
8281
- * <p>The Amazon Resource Name (ARN) of a proxy configuration.</p>
8282
- * <p>You must specify the ARN or the name, and you can specify both. </p>
8283
- * @public
8284
- */
8285
- ProxyConfigurationArn?: string | undefined;
8286
- /**
8287
- * <p>Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied. </p>
8288
- * @public
8289
- */
8290
- DefaultRulePhaseActions: ProxyConfigDefaultRulePhaseActionsRequest | undefined;
8291
- /**
8292
- * <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request. </p>
8293
- * <p>To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration 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 proxy configuration 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>
8294
- * @public
8295
- */
8296
- UpdateToken: string | undefined;
8297
- }
8298
- /**
8299
- * @public
8300
- */
8301
- export interface UpdateProxyConfigurationResponse {
8302
- /**
8303
- * <p>The updated proxy configuration resource that reflects the updates from the request.</p>
8304
- * @public
8305
- */
8306
- ProxyConfiguration?: ProxyConfiguration | undefined;
8307
- /**
8308
- * <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request. </p>
8309
- * <p>To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration 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 proxy configuration 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>
8310
- * @public
8311
- */
8312
- UpdateToken?: string | undefined;
8313
- }
8314
- /**
8315
- * @public
8316
- */
8317
- export interface UpdateProxyRuleRequest {
8318
- /**
8319
- * <p>The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.</p>
8320
- * <p>You must specify the ARN or the name, and you can specify both. </p>
8321
- * @public
8322
- */
8323
- ProxyRuleGroupName?: string | undefined;
8324
- /**
8325
- * <p>The Amazon Resource Name (ARN) of a proxy rule group.</p>
8326
- * <p>You must specify the ARN or the name, and you can specify both. </p>
8327
- * @public
8328
- */
8329
- ProxyRuleGroupArn?: string | undefined;
8330
- /**
8331
- * <p>The descriptive name of the proxy rule. You can't change the name of a proxy rule after you create it.</p>
8332
- * @public
8333
- */
8334
- ProxyRuleName: string | undefined;
8335
- /**
8336
- * <p>A description of the proxy rule. </p>
8337
- * @public
8338
- */
8339
- Description?: string | undefined;
8340
- /**
8341
- * <p>Depending on the match action, the proxy either stops the evaluation (if the action is terminal - allow or deny), or continues it (if the action is alert) until it matches a rule with a terminal action. </p>
8342
- * @public
8343
- */
8344
- Action?: ProxyRulePhaseAction | undefined;
8345
- /**
8346
- * <p>Proxy rule conditions to add. Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against. </p>
8347
- * @public
8348
- */
8349
- AddConditions?: ProxyRuleCondition[] | undefined;
8350
- /**
8351
- * <p>Proxy rule conditions to remove. Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against. </p>
8352
- * @public
8353
- */
8354
- RemoveConditions?: ProxyRuleCondition[] | undefined;
8355
- /**
8356
- * <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule. The token marks the state of the proxy rule resource at the time of the request. </p>
8357
- * <p>To make changes to the proxy rule, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule 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 proxy rule 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>
8358
- * @public
8359
- */
8360
- UpdateToken: string | undefined;
8361
- }
8362
- /**
8363
- * @public
8364
- */
8365
- export interface UpdateProxyRuleResponse {
8366
- /**
8367
- * <p>The updated proxy rule resource that reflects the updates from the request.</p>
8368
- * @public
8369
- */
8370
- ProxyRule?: ProxyRule | undefined;
8371
- /**
8372
- * <p>Proxy rule conditions removed from the rule. </p>
8373
- * @public
8374
- */
8375
- RemovedConditions?: ProxyRuleCondition[] | undefined;
8376
- /**
8377
- * <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule. The token marks the state of the proxy rule resource at the time of the request. </p>
8378
- * <p>To make changes to the proxy rule, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule 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 proxy rule 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>
8379
- * @public
8380
- */
8381
- UpdateToken?: string | undefined;
8382
- }
8383
- /**
8384
- * <p>Proxy rule group name and new desired position. </p>
8385
- * @public
8386
- */
8387
- export interface ProxyRuleGroupPriority {
8388
- /**
8389
- * <p>The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.</p>
8390
- * @public
8391
- */
8392
- ProxyRuleGroupName?: string | undefined;
8393
- /**
8394
- * <p>Where to move a proxy rule group in a proxy configuration. </p>
8395
- * @public
8396
- */
8397
- NewPosition?: number | undefined;
8398
- }
8399
- /**
8400
- * @public
8401
- */
8402
- export interface UpdateProxyRuleGroupPrioritiesRequest {
8403
- /**
8404
- * <p>The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.</p>
8405
- * <p>You must specify the ARN or the name, and you can specify both. </p>
8406
- * @public
8407
- */
8408
- ProxyConfigurationName?: string | undefined;
8409
- /**
8410
- * <p>The Amazon Resource Name (ARN) of a proxy configuration.</p>
8411
- * <p>You must specify the ARN or the name, and you can specify both. </p>
8412
- * @public
8413
- */
8414
- ProxyConfigurationArn?: string | undefined;
8415
- /**
8416
- * <p>proxy rule group resources to update to new positions. </p>
8417
- * @public
8418
- */
8419
- RuleGroups: ProxyRuleGroupPriority[] | undefined;
8420
- /**
8421
- * <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request. </p>
8422
- * <p>To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration 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 proxy configuration 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>
8423
- * @public
8424
- */
8425
- UpdateToken: string | undefined;
8426
- }
8427
- /**
8428
- * <p>Proxy rule group along with its priority. </p>
8429
- * @public
8430
- */
8431
- export interface ProxyRuleGroupPriorityResult {
8432
- /**
8433
- * <p>The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.</p>
8434
- * @public
8435
- */
8436
- ProxyRuleGroupName?: string | undefined;
8437
- /**
8438
- * <p>Priority of the proxy rule group in the proxy configuration. </p>
8439
- * @public
8440
- */
8441
- Priority?: number | undefined;
8442
- }
8443
- /**
8444
- * @public
8445
- */
8446
- export interface UpdateProxyRuleGroupPrioritiesResponse {
8447
- /**
8448
- * <p>The updated proxy rule group hierarchy that reflects the updates from the request.</p>
8449
- * @public
8450
- */
8451
- ProxyRuleGroups?: ProxyRuleGroupPriorityResult[] | undefined;
8452
- /**
8453
- * <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request. </p>
8454
- * <p>To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration 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 proxy configuration 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>
8455
- * @public
8456
- */
8457
- UpdateToken?: string | undefined;
8458
- }
8459
- /**
8460
- * <p>Proxy rule name and new desired position. </p>
8461
- * @public
8462
- */
8463
- export interface ProxyRulePriority {
8464
- /**
8465
- * <p>The descriptive name of the proxy rule. You can't change the name of a proxy rule after you create it.</p>
8466
- * @public
8467
- */
8468
- ProxyRuleName?: string | undefined;
8469
- /**
8470
- * <p>Where to move a proxy rule in a proxy rule group. </p>
8471
- * @public
8472
- */
8473
- NewPosition?: number | undefined;
8474
- }
8475
- /**
8476
- * @public
8477
- */
8478
- export interface UpdateProxyRulePrioritiesRequest {
8479
- /**
8480
- * <p>The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.</p>
8481
- * <p>You must specify the ARN or the name, and you can specify both. </p>
8482
- * @public
8483
- */
8484
- ProxyRuleGroupName?: string | undefined;
8485
- /**
8486
- * <p>The Amazon Resource Name (ARN) of a proxy rule group.</p>
8487
- * <p>You must specify the ARN or the name, and you can specify both. </p>
8488
- * @public
8489
- */
8490
- ProxyRuleGroupArn?: string | undefined;
8491
- /**
8492
- * <p>Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied. </p>
8493
- * @public
8494
- */
8495
- RuleGroupRequestPhase: RuleGroupRequestPhase | undefined;
8496
- /**
8497
- * <p>proxy rule resources to update to new positions. </p>
8498
- * @public
8499
- */
8500
- Rules: ProxyRulePriority[] | undefined;
8501
- /**
8502
- * <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule group. The token marks the state of the proxy rule group resource at the time of the request. </p>
8503
- * <p>To make changes to the proxy rule group, you provide the token in your request. Network Firewall uses the token to ensure that the proxy 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 proxy 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>
8504
- * @public
8505
- */
8506
- UpdateToken: string | undefined;
8507
- }
8508
- /**
8509
- * @public
8510
- */
8511
- export interface UpdateProxyRulePrioritiesResponse {
8512
- /**
8513
- * <p>The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.</p>
8514
- * @public
8515
- */
8516
- ProxyRuleGroupName?: string | undefined;
8517
- /**
8518
- * <p>The Amazon Resource Name (ARN) of a proxy rule group.</p>
8519
- * @public
8520
- */
8521
- ProxyRuleGroupArn?: string | undefined;
8522
- /**
8523
- * <p>Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied. </p>
8524
- * @public
8525
- */
8526
- RuleGroupRequestPhase?: RuleGroupRequestPhase | undefined;
8527
- /**
8528
- * <p>The updated proxy rule hierarchy that reflects the updates from the request.</p>
8529
- * @public
8530
- */
8531
- Rules?: ProxyRulePriority[] | undefined;
8532
- /**
8533
- * <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule group. The token marks the state of the proxy rule group resource at the time of the request. </p>
8534
- * <p>To make changes to the proxy rule group, you provide the token in your request. Network Firewall uses the token to ensure that the proxy 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 proxy 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>
8535
- * @public
8536
- */
8537
- UpdateToken?: string | undefined;
8538
- }
8539
7551
  /**
8540
7552
  * @public
8541
7553
  */
@@ -8560,7 +7572,7 @@ export interface UpdateProxySettingsRequest {
8560
7572
  */
8561
7573
  UpdateToken?: string | undefined;
8562
7574
  /**
8563
- * <p>The proxy listener configuration to set on the firewall. This specifies the ports and protocols on which the firewall's proxy listens for traffic. </p>
7575
+ * <p>The proxy settings to set on the firewall. These replace the current proxy settings. Specify at least one listener, and at most one HTTP listener and one HTTPS listener, on different ports. If the firewall uses your own <code>CertificateArn</code> and <code>DomainName</code>, specify the same values that you used to create the firewall.</p>
8564
7576
  * @public
8565
7577
  */
8566
7578
  ProxySettings?: ProxySettings | undefined;
@@ -8587,7 +7599,7 @@ export interface UpdateProxySettingsResponse {
8587
7599
  */
8588
7600
  UpdateToken?: string | undefined;
8589
7601
  /**
8590
- * <p>The updated proxy listener configuration on the firewall. </p>
7602
+ * <p>The updated proxy settings for the firewall. </p>
8591
7603
  * @public
8592
7604
  */
8593
7605
  ProxySettings?: ProxySettings | undefined;