@aws-sdk/client-network-firewall 3.1153.0 → 3.1155.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 (42) hide show
  1. package/README.md +2 -2
  2. package/dist-cjs/index.js +117 -24
  3. package/dist-es/NetworkFirewall.js +5 -1
  4. package/dist-es/index.js +1 -0
  5. package/dist-es/models/enums.js +16 -0
  6. package/dist-es/schemas/schemas_0.js +49 -21
  7. package/dist-es/waiters/index.js +1 -0
  8. package/dist-es/waiters/waitForFirewallPolicyActive.js +40 -0
  9. package/dist-types/NetworkFirewall.d.ts +10 -3
  10. package/dist-types/NetworkFirewallClient.d.ts +4 -3
  11. package/dist-types/commands/CreateFirewallPolicyCommand.d.ts +28 -1
  12. package/dist-types/commands/CreateRuleGroupCommand.d.ts +2 -2
  13. package/dist-types/commands/CreateTLSInspectionConfigurationCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteFirewallPolicyCommand.d.ts +9 -1
  15. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteTLSInspectionConfigurationCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeFirewallPolicyCommand.d.ts +24 -1
  18. package/dist-types/commands/DescribeFlowOperationCommand.d.ts +2 -0
  19. package/dist-types/commands/DescribeRuleGroupCommand.d.ts +2 -2
  20. package/dist-types/commands/DescribeTLSInspectionConfigurationCommand.d.ts +1 -1
  21. package/dist-types/commands/ListFlowOperationResultsCommand.d.ts +2 -0
  22. package/dist-types/commands/ListFlowOperationsCommand.d.ts +1 -0
  23. package/dist-types/commands/StartFlowCaptureCommand.d.ts +1 -0
  24. package/dist-types/commands/StartFlowFlushCommand.d.ts +1 -0
  25. package/dist-types/commands/UpdateContainerAssociationCommand.d.ts +3 -0
  26. package/dist-types/commands/UpdateFirewallPolicyCommand.d.ts +28 -1
  27. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +2 -2
  28. package/dist-types/commands/UpdateTLSInspectionConfigurationCommand.d.ts +1 -1
  29. package/dist-types/index.d.ts +3 -2
  30. package/dist-types/models/enums.d.ts +40 -0
  31. package/dist-types/models/models_0.d.ts +293 -16
  32. package/dist-types/schemas/schemas_0.d.ts +2 -0
  33. package/dist-types/ts3.4/NetworkFirewall.d.ts +11 -0
  34. package/dist-types/ts3.4/index.d.ts +1 -0
  35. package/dist-types/ts3.4/models/enums.d.ts +22 -0
  36. package/dist-types/ts3.4/models/models_0.d.ts +25 -0
  37. package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
  38. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  39. package/dist-types/ts3.4/waiters/waitForFirewallPolicyActive.d.ts +15 -0
  40. package/dist-types/waiters/index.d.ts +1 -0
  41. package/dist-types/waiters/waitForFirewallPolicyActive.d.ts +15 -0
  42. package/package.json +5 -5
@@ -1,4 +1,4 @@
1
- import type { AttachmentStatus, ConfigurationSyncState, ContainerAssociationStatus, ContainerMonitoringType, EnabledAnalysisType, EncryptionType, FirewallStatusValue, FlowOperationStatus, FlowOperationType, GeneratedRulesType, IdentifiedType, IPAddressType, ListenerPropertyType, LogDestinationType, LogType, NatGatewayAttachmentStatus, OverrideAction, PerObjectSyncStatus, ProxyModifyState, ProxyRulePhaseAction, ProxyState, ResourceManagedStatus, ResourceManagedType, ResourceStatus, RevocationCheckAction, RuleGroupRequestPhase, RuleGroupType, RuleOrder, StatefulAction, StatefulRuleDirection, StatefulRuleProtocol, StreamExceptionPolicy, SubscriptionStatus, SummaryRuleOption, TargetType, TCPFlag, TlsInterceptMode, TransitGatewayAttachmentStatus } from "./enums";
1
+ import type { AttachmentStatus, ConfigurationSyncState, ContainerAssociationStatus, ContainerMonitoringType, DNSExpiryExceptionPolicy, EnabledAnalysisType, EncryptionType, FirewallPolicyErrorCode, FirewallStatusValue, FlowOperationStatus, FlowOperationType, GeneratedRulesType, IdentifiedType, IPAddressType, ListenerPropertyType, LogDestinationType, LogType, NatGatewayAttachmentStatus, OverrideAction, PerObjectSyncStatus, ProxyModifyState, ProxyRulePhaseAction, ProxyState, ResourceManagedStatus, ResourceManagedType, ResourceStatus, RevocationCheckAction, Route53ResolvedIPValidationAction, RuleGroupRequestPhase, RuleGroupType, RuleOrder, StatefulAction, StatefulRuleDirection, StatefulRuleProtocol, StreamExceptionPolicy, SubscriptionStatus, SummaryRuleOption, TargetType, TCPFlag, TlsInterceptMode, TransitGatewayAttachmentStatus } from "./enums";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -860,17 +860,57 @@ export interface ContainerAssociationSummary {
860
860
  }
861
861
  /**
862
862
  * <p>A key-value filter pair used in container association monitoring configurations to narrow which containers
863
- * are tracked.</p>
863
+ * are tracked. The key must match exactly. The value can be an exact value or a wildcard pattern.</p>
864
864
  * @public
865
865
  */
866
866
  export interface ContainerAttribute {
867
867
  /**
868
- * <p>The attribute key to filter on.</p>
868
+ * <p>The attribute key to filter on. For Amazon EKS, specify <code>namespace</code> to filter by namespace, or
869
+ * specify a Kubernetes label key. For Amazon ECS, specify a container instance attribute name. Keys don't support
870
+ * wildcards.</p>
871
+ * <p>Valid characters are letters, numbers, spaces, hyphens (<code>-</code>), underscores (<code>_</code>),
872
+ * periods (<code>.</code>), forward slashes (<code>/</code>), and colons (<code>:</code>).</p>
869
873
  * @public
870
874
  */
871
875
  Key: string | undefined;
872
876
  /**
873
- * <p>The attribute value to match.</p>
877
+ * <p>The attribute value to match. You can specify an exact value, such as <code>payments-api</code>, or a
878
+ * wildcard pattern, such as <code>payments-*</code>.</p>
879
+ * <p>Valid characters are letters, numbers, spaces, hyphens (<code>-</code>), underscores (<code>_</code>),
880
+ * periods (<code>.</code>), forward slashes (<code>/</code>), colons (<code>:</code>), asterisks
881
+ * (<code>*</code>), and backslashes (<code>\</code>).</p>
882
+ * <p>Network Firewall evaluates the value using the following rules:</p>
883
+ * <ul>
884
+ * <li>
885
+ * <p>An asterisk (<code>*</code>) matches zero or more characters. For example, <code>payments-*</code>
886
+ * matches <code>payments-</code>, <code>payments-api</code>, and <code>payments-api-v2</code>, and
887
+ * <code>*-prod</code> matches <code>web-prod</code>.</p>
888
+ * </li>
889
+ * <li>
890
+ * <p>The pattern must match the entire value. For example, <code>payments-*</code> doesn't match
891
+ * <code>my-payments-api</code>. To match a value that contains <code>payments</code> anywhere, use
892
+ * <code>*payments*</code>.</p>
893
+ * </li>
894
+ * <li>
895
+ * <p>Matching is case sensitive. For example, <code>Payments-*</code> doesn't match
896
+ * <code>payments-api</code>.</p>
897
+ * </li>
898
+ * <li>
899
+ * <p>To match a literal asterisk, escape it with a backslash (<code>\*</code>). To match a literal
900
+ * backslash, use <code>\\</code>. A backslash followed by any other character matches a literal backslash
901
+ * followed by that character.</p>
902
+ * </li>
903
+ * <li>
904
+ * <p>A wildcard pattern matches only containers that have the attribute. For example, a filter with key
905
+ * <code>app</code> and value <code>*</code> matches every container that has an <code>app</code> label, but
906
+ * doesn't match a container without an <code>app</code> label.</p>
907
+ * </li>
908
+ * <li>
909
+ * <p>A value that doesn't contain <code>*</code> or <code>\</code> matches only that exact value.</p>
910
+ * </li>
911
+ * </ul>
912
+ * <p>A value can contain at most 10 unescaped asterisks. Escaped asterisks (<code>\*</code>) don't count toward
913
+ * this limit. A value can't end with a single unescaped backslash.</p>
874
914
  * @public
875
915
  */
876
916
  Value: string | undefined;
@@ -890,6 +930,8 @@ export interface ContainerMonitoringConfiguration {
890
930
  /**
891
931
  * <p>Key-value pairs that filter which containers are tracked. For Amazon EKS, you can filter by namespace and
892
932
  * Kubernetes labels. For Amazon ECS, you can filter by container instance attributes (EC2 launch type only).</p>
933
+ * <p>Attribute values can contain wildcard patterns, for example <code>payments-*</code>. Attribute keys must
934
+ * match exactly.</p>
893
935
  * @public
894
936
  */
895
937
  AttributeFilters?: ContainerAttribute[] | undefined;
@@ -1589,6 +1631,111 @@ export interface PolicyVariables {
1589
1631
  */
1590
1632
  RuleVariables?: Record<string, IPSet> | undefined;
1591
1633
  }
1634
+ /**
1635
+ * <p>The policy-level configuration for resolved IP validation. When you set this on a firewall policy, you require that the destination IP address of a
1636
+ * connection is one that the Amazon Route 53 Resolver returned in a DNS response for a domain. The Route 53 Resolver
1637
+ * must have returned the response in a VPC that's associated with the Route 53 Resolver DNS
1638
+ * Firewall rule group identified by <code>DNSFirewallRuleGroupId</code>. At the policy level,
1639
+ * this verifies that the destination IP address was resolved for some domain. To match specific
1640
+ * domains, also configure stateful rule groups that use the
1641
+ * <code>AWS_ROUTE_53_RESOLVED_DOMAIN</code> target type or the
1642
+ * <code>aws_route_53_resolved_domain</code> rule keyword.</p>
1643
+ * @public
1644
+ */
1645
+ export interface Route53ResolvedIPValidation {
1646
+ /**
1647
+ * <p>The action that Network Firewall takes for a connection whose destination IP address fails
1648
+ * resolved IP validation. A destination IP address fails validation when the Route 53 Resolver
1649
+ * didn't return it in a DNS response in an associated VPC. Valid values are the following:</p>
1650
+ * <ul>
1651
+ * <li>
1652
+ * <p>
1653
+ * <code>ALERT</code> – Tags the matching connection in the firewall's flow logs
1654
+ * without blocking it, when you enable logging. Use this to observe the effect of
1655
+ * resolved IP validation before you enforce it.</p>
1656
+ * </li>
1657
+ * <li>
1658
+ * <p>
1659
+ * <code>DROP</code> – Silently blocks the connection without sending any response to the
1660
+ * client.</p>
1661
+ * </li>
1662
+ * <li>
1663
+ * <p>
1664
+ * <code>REJECT</code> – Blocks the connection and sends a TCP reset (RST) to the
1665
+ * client. Because a TCP reset applies only to TCP connections, Network Firewall drops non-TCP
1666
+ * traffic instead of resetting it.</p>
1667
+ * </li>
1668
+ * </ul>
1669
+ * @public
1670
+ */
1671
+ Action: Route53ResolvedIPValidationAction | undefined;
1672
+ /**
1673
+ * <p>The ID of the Route 53 Resolver DNS Firewall rule group that determines which VPCs'
1674
+ * DNS resolutions count for resolved IP validation. A destination IP address counts as resolved for a domain only when the Route 53 Resolver returned it in a DNS response within a VPC
1675
+ * that's associated with this rule group. Associate the rule group with the VPCs that send
1676
+ * traffic to the firewall. The ID must match the pattern <code>^rslvr-frg-[0-9a-f]+$</code>. It must also exist and
1677
+ * be accessible from your account. Network Firewall validates this when you create or update the
1678
+ * policy.</p>
1679
+ * <p>Changing this value swaps the managed rule group association. Network Firewall processes
1680
+ * the swap asynchronously. Each policy can have only one managed Route 53 Resolver DNS
1681
+ * Firewall association. While a swap is in progress, Network Firewall rejects further changes to this setting. Wait
1682
+ * until the swap completes, then retry.</p>
1683
+ * @public
1684
+ */
1685
+ DNSFirewallRuleGroupId: string | undefined;
1686
+ /**
1687
+ * <p>The action that Network Firewall takes when the DNS resolution recorded for a destination IP
1688
+ * address has expired from the resolved IP cache. This applies when Network Firewall still sees
1689
+ * traffic to that IP address after the expiry. Network Firewall keeps a resolution for longer than
1690
+ * the DNS record's time to live (TTL). Valid values are the following:</p>
1691
+ * <ul>
1692
+ * <li>
1693
+ * <p>
1694
+ * <code>CONTINUE</code> – Treats the expired resolution as still valid and doesn't
1695
+ * block the connection because of expiry.</p>
1696
+ * </li>
1697
+ * <li>
1698
+ * <p>
1699
+ * <code>DROP</code> – Silently blocks traffic to the IP address after its resolution
1700
+ * has expired, without sending any response to the client.</p>
1701
+ * </li>
1702
+ * <li>
1703
+ * <p>
1704
+ * <code>REJECT</code> – Blocks traffic to the IP address after its resolution has
1705
+ * expired and sends a TCP reset (RST) to the client. Network Firewall drops non-TCP traffic
1706
+ * instead of resetting it.</p>
1707
+ * </li>
1708
+ * </ul>
1709
+ * @public
1710
+ */
1711
+ DNSExpiryExceptionPolicy: DNSExpiryExceptionPolicy | undefined;
1712
+ /**
1713
+ * <p>The destination IP address ranges that are exempt from the policy-level resolved IP check.
1714
+ * Network Firewall doesn't apply the <code>Action</code> in this configuration to a connection
1715
+ * whose destination falls in these ranges, even if the Route 53 Resolver didn't return that IP
1716
+ * address in an associated VPC. Specify each entry as an IPv4 or IPv6 address or CIDR range, up
1717
+ * to 100 entries.</p>
1718
+ * <p>This exemption applies only to the policy-level check. Stateful rules that use the
1719
+ * <code>AWS_ROUTE_53_RESOLVED_DOMAIN</code> target type or the
1720
+ * <code>aws_route_53_resolved_domain</code> keyword still evaluate connections to these
1721
+ * destinations and match them independently of this list.</p>
1722
+ * @public
1723
+ */
1724
+ BypassDestinationValidationIPRanges?: Address[] | undefined;
1725
+ /**
1726
+ * <p>The client source IP address ranges whose connections are subject to resolved IP
1727
+ * validation. Specify each entry as an IPv4 or IPv6 address or CIDR range, up to 100 entries. If
1728
+ * you omit this field, resolved IP validation applies to the CIDR ranges of the firewall's VPC and of any additional
1729
+ * VPCs attached to the firewall. Specifying an
1730
+ * empty list is not the same as omitting the field: an empty list means that Network Firewall doesn't validate any source addresses.</p>
1731
+ * <p>This scope applies to the policy-level check only. Stateful rules that use the
1732
+ * <code>AWS_ROUTE_53_RESOLVED_DOMAIN</code> target type or the
1733
+ * <code>aws_route_53_resolved_domain</code> keyword still evaluate their destinations
1734
+ * regardless of <code>SourceIPRanges</code>.</p>
1735
+ * @public
1736
+ */
1737
+ SourceIPRanges?: Address[] | undefined;
1738
+ }
1592
1739
  /**
1593
1740
  * <p>Describes the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle and Network Firewall removes the flow entry from its flow table.
1594
1741
  * When you update this value, existing connections will be treated according to your stream exception policy configuration.
@@ -1874,6 +2021,17 @@ export interface FirewallPolicy {
1874
2021
  * @public
1875
2022
  */
1876
2023
  EnableTLSSessionHolding?: boolean | undefined;
2024
+ /**
2025
+ * <p>The settings that enable resolved IP validation for the policy. Resolved IP validation
2026
+ * verifies that a connection's destination IP address is one that the Amazon Route 53 Resolver
2027
+ * returned in a DNS response for a domain. The response must come from a VPC that's associated
2028
+ * with the Route 53 Resolver DNS Firewall rule group that you specify. This checks how the
2029
+ * destination IP address was obtained, instead of relying only on the domain that the client
2030
+ * asserts in its TLS Server Name Indication (SNI) or HTTP <code>Host</code> header. For more
2031
+ * information, see <a>Route53ResolvedIPValidation</a>.</p>
2032
+ * @public
2033
+ */
2034
+ Route53ResolvedIPValidation?: Route53ResolvedIPValidation | undefined;
1877
2035
  }
1878
2036
  /**
1879
2037
  * @public
@@ -1915,6 +2073,45 @@ export interface CreateFirewallPolicyRequest {
1915
2073
  */
1916
2074
  EncryptionConfiguration?: EncryptionConfiguration | undefined;
1917
2075
  }
2076
+ /**
2077
+ * <p>A configuration error that Network Firewall detected for a firewall policy.</p>
2078
+ * @public
2079
+ */
2080
+ export interface FirewallPolicyError {
2081
+ /**
2082
+ * <p>The error code identifies the type of error. Valid values are the following:</p>
2083
+ * <ul>
2084
+ * <li>
2085
+ * <p>
2086
+ * <code>DNS_FIREWALL_RULE_GROUP_UNAVAILABLE</code> – The Amazon Route 53 Resolver DNS
2087
+ * Firewall rule group that resolved IP validation references is unavailable, for example,
2088
+ * because it was deleted or is no longer accessible from your account. Update the rule
2089
+ * group ID or remove the resolved IP validation configuration.</p>
2090
+ * </li>
2091
+ * <li>
2092
+ * <p>
2093
+ * <code>ROUTE53_RESOLVED_IP_VALIDATION_MISSING</code> – An associated stateful rule
2094
+ * group uses the <code>aws_route_53_resolved_domain</code> keyword, but the policy doesn't
2095
+ * have resolved IP validation configured. The affected rules are inactive until you add
2096
+ * resolved IP validation to the policy or remove the keyword rules.</p>
2097
+ * </li>
2098
+ * </ul>
2099
+ * @public
2100
+ */
2101
+ Code: FirewallPolicyErrorCode | undefined;
2102
+ /**
2103
+ * <p>A description of the error and how to resolve it.</p>
2104
+ * @public
2105
+ */
2106
+ Message: string | undefined;
2107
+ /**
2108
+ * <p>The ID of the resource that the error relates to, when applicable. For example, for
2109
+ * <code>DNS_FIREWALL_RULE_GROUP_UNAVAILABLE</code> this is the Amazon Route 53 Resolver DNS
2110
+ * Firewall rule group ID.</p>
2111
+ * @public
2112
+ */
2113
+ ResourceId?: string | undefined;
2114
+ }
1918
2115
  /**
1919
2116
  * <p>The high-level properties of a firewall policy. This, along with the <a>FirewallPolicy</a>, define the policy. You can retrieve all objects for a firewall policy by calling <a>DescribeFirewallPolicy</a>. </p>
1920
2117
  * @public
@@ -1952,6 +2149,14 @@ export interface FirewallPolicyResponse {
1952
2149
  * @public
1953
2150
  */
1954
2151
  FirewallPolicyStatus?: ResourceStatus | undefined;
2152
+ /**
2153
+ * <p>Additional detail about the firewall policy's current status, when applicable. For
2154
+ * example, while an Amazon Route 53 Resolver DNS Firewall rule group change is in progress, the
2155
+ * status is <code>UPDATING</code> and this message is "A DNS Firewall rule group change is in
2156
+ * progress."</p>
2157
+ * @public
2158
+ */
2159
+ StatusMessage?: string | undefined;
1955
2160
  /**
1956
2161
  * <p>The key:value pairs to associate with the resource.</p>
1957
2162
  * @public
@@ -1982,6 +2187,14 @@ export interface FirewallPolicyResponse {
1982
2187
  * @public
1983
2188
  */
1984
2189
  EncryptionConfiguration?: EncryptionConfiguration | undefined;
2190
+ /**
2191
+ * <p>Any configuration errors that apply to the firewall policy. Network Firewall detects these
2192
+ * errors asynchronously, after you create or update the policy, so an error can appear after
2193
+ * the request that caused it has already succeeded. Each entry describes the problem and how to
2194
+ * resolve it, and Network Firewall clears it automatically after you resolve the problem.</p>
2195
+ * @public
2196
+ */
2197
+ Errors?: FirewallPolicyError[] | undefined;
1985
2198
  /**
1986
2199
  * <p>The last time that the firewall policy was changed.</p>
1987
2200
  * @public
@@ -2539,7 +2752,36 @@ export interface RulesSourceList {
2539
2752
  */
2540
2753
  Targets: string[] | undefined;
2541
2754
  /**
2542
- * <p>The protocols you want to inspect. Specify <code>TLS_SNI</code> for <code>HTTPS</code>. Specify <code>HTTP_HOST</code> for <code>HTTP</code>. You can specify either or both. </p>
2755
+ * <p>The types of matching to perform against the domains in <code>Targets</code>. You can specify any combination of the following:</p>
2756
+ * <ul>
2757
+ * <li>
2758
+ * <p>
2759
+ * <code>AWS_ROUTE_53_RESOLVED_DOMAIN</code> – Match the domain against the domain that the Amazon Route 53 Resolver resolved the connection's destination IP address for.</p>
2760
+ * </li>
2761
+ * <li>
2762
+ * <p>
2763
+ * <code>HTTP_HOST</code> – Match the domain against the <code>Host</code> header of HTTP traffic.</p>
2764
+ * </li>
2765
+ * <li>
2766
+ * <p>
2767
+ * <code>TLS_SNI</code> – Match the domain against the Server Name Indication (SNI) of HTTPS traffic.</p>
2768
+ * </li>
2769
+ * </ul>
2770
+ * <p>
2771
+ * <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>
2772
+ * <p>Whether you include <code>AWS_ROUTE_53_RESOLVED_DOMAIN</code> changes what the generated rules match, together with <code>GeneratedRulesType</code>:</p>
2773
+ * <ul>
2774
+ * <li>
2775
+ * <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>
2776
+ * </li>
2777
+ * <li>
2778
+ * <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>
2779
+ * </li>
2780
+ * <li>
2781
+ * <p>When you don't include <code>AWS_ROUTE_53_RESOLVED_DOMAIN</code>, the generated rules match only on the SNI or <code>Host</code> header, without checking how the destination IP address was resolved.</p>
2782
+ * </li>
2783
+ * </ul>
2784
+ * <p>An <code>ALLOWLIST</code> whose only target type is <code>AWS_ROUTE_53_RESOLVED_DOMAIN</code> is additive: it allows matching traffic but doesn't generate a default rule that drops non-matching traffic. Only the <code>TLS_SNI</code> and <code>HTTP_HOST</code> target types generate that default drop. To allow only the resolved domains and drop all other traffic, include a protocol target type as well.</p>
2543
2785
  * @public
2544
2786
  */
2545
2787
  TargetTypes: TargetType[] | undefined;
@@ -2642,12 +2884,12 @@ export interface Header {
2642
2884
  */
2643
2885
  export interface RuleOption {
2644
2886
  /**
2645
- * <p>The keyword for the Suricata compatible rule option. You must include a <code>sid</code> (signature ID), and can optionally include other keywords. For information about Suricata compatible keywords, see <a href="https://suricata.readthedocs.io/en/suricata-7.0.8/rules/intro.html#rule-options">Rule options</a> in the Suricata documentation.</p>
2887
+ * <p>The keyword for the Suricata compatible rule option. You must include a <code>sid</code> (signature ID), and can optionally include other keywords. For information about Suricata compatible keywords, see <a href="https://suricata.readthedocs.io/en/suricata-8.0.3/rules/intro.html#rule-options">Rule options</a> in the Suricata documentation.</p>
2646
2888
  * @public
2647
2889
  */
2648
2890
  Keyword: string | undefined;
2649
2891
  /**
2650
- * <p>The settings of the Suricata compatible rule option. Rule options have zero or more setting values, and the number of possible and required settings depends on the <code>Keyword</code>. For more information about the settings for specific options, see <a href="https://suricata.readthedocs.io/en/suricata-7.0.8/rules/intro.html#rule-options">Rule options</a>.</p>
2892
+ * <p>The settings of the Suricata compatible rule option. Rule options have zero or more setting values, and the number of possible and required settings depends on the <code>Keyword</code>. For more information about the settings for specific options, see <a href="https://suricata.readthedocs.io/en/suricata-8.0.3/rules/intro.html#rule-options">Rule options</a>.</p>
2651
2893
  * @public
2652
2894
  */
2653
2895
  Settings?: string[] | undefined;
@@ -2656,7 +2898,7 @@ export interface RuleOption {
2656
2898
  * <p>A single Suricata rules specification, for use in a stateful rule group.
2657
2899
  * Use this option to specify a simple Suricata rule with protocol, source and destination, ports, direction, and rule options.
2658
2900
  * For information about the Suricata <code>Rules</code> format, see
2659
- * <a href="https://suricata.readthedocs.io/en/suricata-7.0.8/rules/intro.html">Rules Format</a>. </p>
2901
+ * <a href="https://suricata.readthedocs.io/en/suricata-8.0.3/rules/intro.html">Rules Format</a>. </p>
2660
2902
  * @public
2661
2903
  */
2662
2904
  export interface StatefulRule {
@@ -2928,7 +3170,7 @@ export interface RulesSource {
2928
3170
  * <p>An array of individual stateful rules inspection criteria to be used together in a stateful rule group.
2929
3171
  * Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options.
2930
3172
  * For information about the Suricata <code>Rules</code> format, see
2931
- * <a href="https://suricata.readthedocs.io/en/suricata-7.0.8/rules/intro.html">Rules Format</a>. </p>
3173
+ * <a href="https://suricata.readthedocs.io/en/suricata-8.0.3/rules/intro.html">Rules Format</a>. </p>
2932
3174
  * @public
2933
3175
  */
2934
3176
  StatefulRules?: StatefulRule[] | undefined;
@@ -4293,11 +4535,16 @@ export interface DescribeFlowOperationRequest {
4293
4535
  */
4294
4536
  FirewallArn: string | undefined;
4295
4537
  /**
4296
- * <p>The ID of the Availability Zone where the firewall is located. For example, <code>us-east-2a</code>.</p>
4538
+ * <p>The name of the Availability Zone where the firewall is located. For example, <code>us-east-2a</code>.</p>
4297
4539
  * <p>Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.</p>
4298
4540
  * @public
4299
4541
  */
4300
4542
  AvailabilityZone?: string | undefined;
4543
+ /**
4544
+ * <p>The ID of the Availability Zone where the firewall is located. For example, <code>use2-az1</code>. Availability Zone IDs are the same in every Amazon Web Services account, so use this parameter when you coordinate resources across accounts. Specify either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code>, not both. If you specify both, the request fails.</p>
4545
+ * @public
4546
+ */
4547
+ AvailabilityZoneId?: string | undefined;
4301
4548
  /**
4302
4549
  * <p>The Amazon Resource Name (ARN) of a VPC endpoint association.</p>
4303
4550
  * @public
@@ -4380,11 +4627,16 @@ export interface DescribeFlowOperationResponse {
4380
4627
  */
4381
4628
  FirewallArn?: string | undefined;
4382
4629
  /**
4383
- * <p>The ID of the Availability Zone where the firewall is located. For example, <code>us-east-2a</code>.</p>
4630
+ * <p>The name of the Availability Zone where the firewall is located. For example, <code>us-east-2a</code>.</p>
4384
4631
  * <p>Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.</p>
4385
4632
  * @public
4386
4633
  */
4387
4634
  AvailabilityZone?: string | undefined;
4635
+ /**
4636
+ * <p>The ID of the Availability Zone where the firewall is located. For example, <code>use2-az1</code>.</p>
4637
+ * @public
4638
+ */
4639
+ AvailabilityZoneId?: string | undefined;
4388
4640
  /**
4389
4641
  * <p>The Amazon Resource Name (ARN) of a VPC endpoint association.</p>
4390
4642
  * @public
@@ -5679,11 +5931,16 @@ export interface ListFlowOperationResultsRequest {
5679
5931
  */
5680
5932
  MaxResults?: number | undefined;
5681
5933
  /**
5682
- * <p>The ID of the Availability Zone where the firewall is located. For example, <code>us-east-2a</code>.</p>
5934
+ * <p>The name of the Availability Zone where the firewall is located. For example, <code>us-east-2a</code>.</p>
5683
5935
  * <p>Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.</p>
5684
5936
  * @public
5685
5937
  */
5686
5938
  AvailabilityZone?: string | undefined;
5939
+ /**
5940
+ * <p>The ID of the Availability Zone where the firewall is located. For example, <code>use2-az1</code>. Availability Zone IDs are the same in every Amazon Web Services account, so use this parameter when you coordinate resources across accounts. Specify either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code>, not both. If you specify both, the request fails.</p>
5941
+ * @public
5942
+ */
5943
+ AvailabilityZoneId?: string | undefined;
5687
5944
  /**
5688
5945
  * <p>A unique identifier for the primary endpoint associated with a firewall.</p>
5689
5946
  * @public
@@ -5705,11 +5962,16 @@ export interface ListFlowOperationResultsResponse {
5705
5962
  */
5706
5963
  FirewallArn?: string | undefined;
5707
5964
  /**
5708
- * <p>The ID of the Availability Zone where the firewall is located. For example, <code>us-east-2a</code>.</p>
5965
+ * <p>The name of the Availability Zone where the firewall is located. For example, <code>us-east-2a</code>.</p>
5709
5966
  * <p>Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.</p>
5710
5967
  * @public
5711
5968
  */
5712
5969
  AvailabilityZone?: string | undefined;
5970
+ /**
5971
+ * <p>The ID of the Availability Zone where the firewall is located. For example, <code>use2-az1</code>.</p>
5972
+ * @public
5973
+ */
5974
+ AvailabilityZoneId?: string | undefined;
5713
5975
  /**
5714
5976
  * <p></p>
5715
5977
  * @public
@@ -5767,11 +6029,16 @@ export interface ListFlowOperationsRequest {
5767
6029
  */
5768
6030
  FirewallArn: string | undefined;
5769
6031
  /**
5770
- * <p>The ID of the Availability Zone where the firewall is located. For example, <code>us-east-2a</code>.</p>
6032
+ * <p>The name of the Availability Zone where the firewall is located. For example, <code>us-east-2a</code>.</p>
5771
6033
  * <p>Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.</p>
5772
6034
  * @public
5773
6035
  */
5774
6036
  AvailabilityZone?: string | undefined;
6037
+ /**
6038
+ * <p>The ID of the Availability Zone where the firewall is located. For example, <code>use2-az1</code>. Availability Zone IDs are the same in every Amazon Web Services account, so use this parameter when you coordinate resources across accounts. Specify either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code>, not both. If you specify both, the request fails.</p>
6039
+ * @public
6040
+ */
6041
+ AvailabilityZoneId?: string | undefined;
5775
6042
  /**
5776
6043
  * <p>The Amazon Resource Name (ARN) of a VPC endpoint association.</p>
5777
6044
  * @public
@@ -6379,11 +6646,16 @@ export interface StartFlowCaptureRequest {
6379
6646
  */
6380
6647
  FirewallArn: string | undefined;
6381
6648
  /**
6382
- * <p>The ID of the Availability Zone where the firewall is located. For example, <code>us-east-2a</code>.</p>
6649
+ * <p>The name of the Availability Zone where the firewall is located. For example, <code>us-east-2a</code>.</p>
6383
6650
  * <p>Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.</p>
6384
6651
  * @public
6385
6652
  */
6386
6653
  AvailabilityZone?: string | undefined;
6654
+ /**
6655
+ * <p>The ID of the Availability Zone where the firewall is located. For example, <code>use2-az1</code>. Availability Zone IDs are the same in every Amazon Web Services account, so use this parameter when you coordinate resources across accounts. Specify either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code>, not both. If you specify both, the request fails.</p>
6656
+ * @public
6657
+ */
6658
+ AvailabilityZoneId?: string | undefined;
6387
6659
  /**
6388
6660
  * <p>The Amazon Resource Name (ARN) of a VPC endpoint association.</p>
6389
6661
  * @public
@@ -6441,11 +6713,16 @@ export interface StartFlowFlushRequest {
6441
6713
  */
6442
6714
  FirewallArn: string | undefined;
6443
6715
  /**
6444
- * <p>The ID of the Availability Zone where the firewall is located. For example, <code>us-east-2a</code>.</p>
6716
+ * <p>The name of the Availability Zone where the firewall is located. For example, <code>us-east-2a</code>.</p>
6445
6717
  * <p>Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.</p>
6446
6718
  * @public
6447
6719
  */
6448
6720
  AvailabilityZone?: string | undefined;
6721
+ /**
6722
+ * <p>The ID of the Availability Zone where the firewall is located. For example, <code>use2-az1</code>. Availability Zone IDs are the same in every Amazon Web Services account, so use this parameter when you coordinate resources across accounts. Specify either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code>, not both. If you specify both, the request fails.</p>
6723
+ * @public
6724
+ */
6725
+ AvailabilityZoneId?: string | undefined;
6449
6726
  /**
6450
6727
  * <p>The Amazon Resource Name (ARN) of a VPC endpoint association.</p>
6451
6728
  * @public
@@ -135,6 +135,7 @@ export declare var EncryptionConfiguration$: StaticStructureSchema;
135
135
  export declare var Firewall$: StaticStructureSchema;
136
136
  export declare var FirewallMetadata$: StaticStructureSchema;
137
137
  export declare var FirewallPolicy$: StaticStructureSchema;
138
+ export declare var FirewallPolicyError$: StaticStructureSchema;
138
139
  export declare var FirewallPolicyMetadata$: StaticStructureSchema;
139
140
  export declare var FirewallPolicyResponse$: StaticStructureSchema;
140
141
  export declare var FirewallStatus$: StaticStructureSchema;
@@ -209,6 +210,7 @@ export declare var PutResourcePolicyResponse$: StaticStructureSchema;
209
210
  export declare var ReferenceSets$: StaticStructureSchema;
210
211
  export declare var RejectNetworkFirewallTransitGatewayAttachmentRequest$: StaticStructureSchema;
211
212
  export declare var RejectNetworkFirewallTransitGatewayAttachmentResponse$: StaticStructureSchema;
213
+ export declare var Route53ResolvedIPValidation$: StaticStructureSchema;
212
214
  export declare var RuleDefinition$: StaticStructureSchema;
213
215
  export declare var RuleGroup$: StaticStructureSchema;
214
216
  export declare var RuleGroupMetadata$: StaticStructureSchema;
@@ -1,8 +1,10 @@
1
+ import { WaiterResult } from "@smithy/core/client";
1
2
  import {
2
3
  HttpHandlerOptions as __HttpHandlerOptions,
3
4
  MetricsRecorder as __MetricsRecorder,
4
5
  PaginationConfiguration,
5
6
  Paginator,
7
+ WaiterConfiguration,
6
8
  } from "@smithy/types";
7
9
  import {
8
10
  AcceptNetworkFirewallTransitGatewayAttachmentCommandInput,
@@ -1571,5 +1573,14 @@ export interface NetworkFirewall {
1571
1573
  Exclude<keyof PaginationConfiguration, "client">
1572
1574
  >,
1573
1575
  ): Paginator<ListVpcEndpointAssociationsCommandOutput>;
1576
+ waitUntilFirewallPolicyActive(
1577
+ args: DescribeFirewallPolicyCommandInput,
1578
+ waiterConfig:
1579
+ | number
1580
+ | Pick<
1581
+ WaiterConfiguration<NetworkFirewall>,
1582
+ Exclude<keyof WaiterConfiguration<NetworkFirewall>, "client">
1583
+ >,
1584
+ ): Promise<WaiterResult<DescribeFirewallPolicyCommandOutput>>;
1574
1585
  }
1575
1586
  export declare class NetworkFirewall extends NetworkFirewallClient implements NetworkFirewall {}
@@ -6,6 +6,7 @@ export { NetworkFirewallExtensionConfiguration } from "./extensionConfiguration"
6
6
  export * from "./commands";
7
7
  export { Command as $Command } from "@smithy/core/client";
8
8
  export * from "./pagination";
9
+ export * from "./waiters";
9
10
  export * from "./schemas/schemas_0";
10
11
  export * from "./models/enums";
11
12
  export * from "./models/errors";
@@ -104,6 +104,20 @@ export declare const NatGatewayAttachmentStatus: {
104
104
  };
105
105
  export type NatGatewayAttachmentStatus =
106
106
  (typeof NatGatewayAttachmentStatus)[keyof typeof NatGatewayAttachmentStatus];
107
+ export declare const Route53ResolvedIPValidationAction: {
108
+ readonly ALERT: "ALERT";
109
+ readonly DROP: "DROP";
110
+ readonly REJECT: "REJECT";
111
+ };
112
+ export type Route53ResolvedIPValidationAction =
113
+ (typeof Route53ResolvedIPValidationAction)[keyof typeof Route53ResolvedIPValidationAction];
114
+ export declare const DNSExpiryExceptionPolicy: {
115
+ readonly CONTINUE: "CONTINUE";
116
+ readonly DROP: "DROP";
117
+ readonly REJECT: "REJECT";
118
+ };
119
+ export type DNSExpiryExceptionPolicy =
120
+ (typeof DNSExpiryExceptionPolicy)[keyof typeof DNSExpiryExceptionPolicy];
107
121
  export declare const RuleOrder: {
108
122
  readonly DEFAULT_ACTION_ORDER: "DEFAULT_ACTION_ORDER";
109
123
  readonly STRICT_ORDER: "STRICT_ORDER";
@@ -120,10 +134,17 @@ export declare const OverrideAction: {
120
134
  readonly DROP_TO_ALERT: "DROP_TO_ALERT";
121
135
  };
122
136
  export type OverrideAction = (typeof OverrideAction)[keyof typeof OverrideAction];
137
+ export declare const FirewallPolicyErrorCode: {
138
+ readonly DNS_FIREWALL_RULE_GROUP_UNAVAILABLE: "DNS_FIREWALL_RULE_GROUP_UNAVAILABLE";
139
+ readonly ROUTE53_RESOLVED_IP_VALIDATION_MISSING: "ROUTE53_RESOLVED_IP_VALIDATION_MISSING";
140
+ };
141
+ export type FirewallPolicyErrorCode =
142
+ (typeof FirewallPolicyErrorCode)[keyof typeof FirewallPolicyErrorCode];
123
143
  export declare const ResourceStatus: {
124
144
  readonly ACTIVE: "ACTIVE";
125
145
  readonly DELETING: "DELETING";
126
146
  readonly ERROR: "ERROR";
147
+ readonly UPDATING: "UPDATING";
127
148
  };
128
149
  export type ResourceStatus = (typeof ResourceStatus)[keyof typeof ResourceStatus];
129
150
  export declare const TlsInterceptMode: {
@@ -154,6 +175,7 @@ export declare const GeneratedRulesType: {
154
175
  };
155
176
  export type GeneratedRulesType = (typeof GeneratedRulesType)[keyof typeof GeneratedRulesType];
156
177
  export declare const TargetType: {
178
+ readonly AWS_ROUTE_53_RESOLVED_DOMAIN: "AWS_ROUTE_53_RESOLVED_DOMAIN";
157
179
  readonly HTTP_HOST: "HTTP_HOST";
158
180
  readonly TLS_SNI: "TLS_SNI";
159
181
  };