aws-sdk-networkfirewall 1.17.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 60568c36adf25b6241c56a258da43d9508a482b29824db13da6fc88ea6c19954
4
- data.tar.gz: a558af3d1058a75f0cadb7059cff44998938105e925af9cc7406e16736cd5666
3
+ metadata.gz: be09ee175389ae3449ee0b6b244e4a6cb85248f68ae8bde115ae537d287c18f8
4
+ data.tar.gz: 7b4ec448cbb2f8e0d3d27ea2df20722412cedd32b9842a29038395da48788ae3
5
5
  SHA512:
6
- metadata.gz: d6fb0da54ec27b4367ce6b01bae549d0345b4b308e6d62fa6eb604eabc3d8150894445a456abcf2463cfb614ea7c609eaedf96e1fe379d72d96e06cd7a2b9c17
7
- data.tar.gz: 213ce4bcb8657bad5bc2e6b4c44197f13f10deafc02a9eb8ff5f6b4a25203b71ca0c748c79686f159b60cf8df70d7619321ba97c3f9b6a872e23977eaf804f02
6
+ metadata.gz: 8664e5c493bae474d7fa36b98376961f25899deabb5c88192fd346c01af62c79a5697df7de4ce7afb06c3846f9484e7cd02435713fdd5c2c7e459fb61b61f8cf
7
+ data.tar.gz: '0690ea32a49da14aaf14afa86002f580f6157466b56153b14f10207110acb8cf0776744b136a19658eb2b297af6a7e023866e71e97eff74f31ff1b6bb0d4e5db'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.19.0 (2022-10-05)
5
+ ------------------
6
+
7
+ * Feature - StreamExceptionPolicy configures how AWS Network Firewall processes traffic when a network connection breaks midstream
8
+
9
+ 1.18.0 (2022-07-21)
10
+ ------------------
11
+
12
+ * Feature - Network Firewall now supports referencing dynamic IP sets from stateful rule groups, for IP sets stored in Amazon VPC prefix lists.
13
+
4
14
  1.17.0 (2022-04-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.17.0
1
+ 1.19.0
@@ -638,14 +638,18 @@ module Aws::NetworkFirewall
638
638
  # resp.firewall.encryption_configuration.key_id #=> String
639
639
  # resp.firewall.encryption_configuration.type #=> String, one of "CUSTOMER_KMS", "AWS_OWNED_KMS_KEY"
640
640
  # resp.firewall_status.status #=> String, one of "PROVISIONING", "DELETING", "READY"
641
- # resp.firewall_status.configuration_sync_state_summary #=> String, one of "PENDING", "IN_SYNC"
641
+ # resp.firewall_status.configuration_sync_state_summary #=> String, one of "PENDING", "IN_SYNC", "CAPACITY_CONSTRAINED"
642
642
  # resp.firewall_status.sync_states #=> Hash
643
643
  # resp.firewall_status.sync_states["AvailabilityZone"].attachment.subnet_id #=> String
644
644
  # resp.firewall_status.sync_states["AvailabilityZone"].attachment.endpoint_id #=> String
645
645
  # resp.firewall_status.sync_states["AvailabilityZone"].attachment.status #=> String, one of "CREATING", "DELETING", "SCALING", "READY"
646
646
  # resp.firewall_status.sync_states["AvailabilityZone"].config #=> Hash
647
- # resp.firewall_status.sync_states["AvailabilityZone"].config["ResourceName"].sync_status #=> String, one of "PENDING", "IN_SYNC"
647
+ # resp.firewall_status.sync_states["AvailabilityZone"].config["ResourceName"].sync_status #=> String, one of "PENDING", "IN_SYNC", "CAPACITY_CONSTRAINED"
648
648
  # resp.firewall_status.sync_states["AvailabilityZone"].config["ResourceName"].update_token #=> String
649
+ # resp.firewall_status.capacity_usage_summary.cid_rs.available_cidr_count #=> Integer
650
+ # resp.firewall_status.capacity_usage_summary.cid_rs.utilized_cidr_count #=> Integer
651
+ # resp.firewall_status.capacity_usage_summary.cid_rs.ip_set_references #=> Hash
652
+ # resp.firewall_status.capacity_usage_summary.cid_rs.ip_set_references["IPSetArn"].resolved_cidr_count #=> Integer
649
653
  #
650
654
  # @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/CreateFirewall AWS API Documentation
651
655
  #
@@ -740,6 +744,7 @@ module Aws::NetworkFirewall
740
744
  # stateful_default_actions: ["CollectionMember_String"],
741
745
  # stateful_engine_options: {
742
746
  # rule_order: "DEFAULT_ACTION_ORDER", # accepts DEFAULT_ACTION_ORDER, STRICT_ORDER
747
+ # stream_exception_policy: "DROP", # accepts DROP, CONTINUE
743
748
  # },
744
749
  # },
745
750
  # description: "Description",
@@ -922,6 +927,13 @@ module Aws::NetworkFirewall
922
927
  # },
923
928
  # },
924
929
  # },
930
+ # reference_sets: {
931
+ # ip_set_references: {
932
+ # "IPSetReferenceName" => {
933
+ # reference_arn: "ResourceArn",
934
+ # },
935
+ # },
936
+ # },
925
937
  # rules_source: { # required
926
938
  # rules_string: "RulesString",
927
939
  # rules_source_list: {
@@ -1118,14 +1130,18 @@ module Aws::NetworkFirewall
1118
1130
  # resp.firewall.encryption_configuration.key_id #=> String
1119
1131
  # resp.firewall.encryption_configuration.type #=> String, one of "CUSTOMER_KMS", "AWS_OWNED_KMS_KEY"
1120
1132
  # resp.firewall_status.status #=> String, one of "PROVISIONING", "DELETING", "READY"
1121
- # resp.firewall_status.configuration_sync_state_summary #=> String, one of "PENDING", "IN_SYNC"
1133
+ # resp.firewall_status.configuration_sync_state_summary #=> String, one of "PENDING", "IN_SYNC", "CAPACITY_CONSTRAINED"
1122
1134
  # resp.firewall_status.sync_states #=> Hash
1123
1135
  # resp.firewall_status.sync_states["AvailabilityZone"].attachment.subnet_id #=> String
1124
1136
  # resp.firewall_status.sync_states["AvailabilityZone"].attachment.endpoint_id #=> String
1125
1137
  # resp.firewall_status.sync_states["AvailabilityZone"].attachment.status #=> String, one of "CREATING", "DELETING", "SCALING", "READY"
1126
1138
  # resp.firewall_status.sync_states["AvailabilityZone"].config #=> Hash
1127
- # resp.firewall_status.sync_states["AvailabilityZone"].config["ResourceName"].sync_status #=> String, one of "PENDING", "IN_SYNC"
1139
+ # resp.firewall_status.sync_states["AvailabilityZone"].config["ResourceName"].sync_status #=> String, one of "PENDING", "IN_SYNC", "CAPACITY_CONSTRAINED"
1128
1140
  # resp.firewall_status.sync_states["AvailabilityZone"].config["ResourceName"].update_token #=> String
1141
+ # resp.firewall_status.capacity_usage_summary.cid_rs.available_cidr_count #=> Integer
1142
+ # resp.firewall_status.capacity_usage_summary.cid_rs.utilized_cidr_count #=> Integer
1143
+ # resp.firewall_status.capacity_usage_summary.cid_rs.ip_set_references #=> Hash
1144
+ # resp.firewall_status.capacity_usage_summary.cid_rs.ip_set_references["IPSetArn"].resolved_cidr_count #=> Integer
1129
1145
  #
1130
1146
  # @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DeleteFirewall AWS API Documentation
1131
1147
  #
@@ -1321,14 +1337,18 @@ module Aws::NetworkFirewall
1321
1337
  # resp.firewall.encryption_configuration.key_id #=> String
1322
1338
  # resp.firewall.encryption_configuration.type #=> String, one of "CUSTOMER_KMS", "AWS_OWNED_KMS_KEY"
1323
1339
  # resp.firewall_status.status #=> String, one of "PROVISIONING", "DELETING", "READY"
1324
- # resp.firewall_status.configuration_sync_state_summary #=> String, one of "PENDING", "IN_SYNC"
1340
+ # resp.firewall_status.configuration_sync_state_summary #=> String, one of "PENDING", "IN_SYNC", "CAPACITY_CONSTRAINED"
1325
1341
  # resp.firewall_status.sync_states #=> Hash
1326
1342
  # resp.firewall_status.sync_states["AvailabilityZone"].attachment.subnet_id #=> String
1327
1343
  # resp.firewall_status.sync_states["AvailabilityZone"].attachment.endpoint_id #=> String
1328
1344
  # resp.firewall_status.sync_states["AvailabilityZone"].attachment.status #=> String, one of "CREATING", "DELETING", "SCALING", "READY"
1329
1345
  # resp.firewall_status.sync_states["AvailabilityZone"].config #=> Hash
1330
- # resp.firewall_status.sync_states["AvailabilityZone"].config["ResourceName"].sync_status #=> String, one of "PENDING", "IN_SYNC"
1346
+ # resp.firewall_status.sync_states["AvailabilityZone"].config["ResourceName"].sync_status #=> String, one of "PENDING", "IN_SYNC", "CAPACITY_CONSTRAINED"
1331
1347
  # resp.firewall_status.sync_states["AvailabilityZone"].config["ResourceName"].update_token #=> String
1348
+ # resp.firewall_status.capacity_usage_summary.cid_rs.available_cidr_count #=> Integer
1349
+ # resp.firewall_status.capacity_usage_summary.cid_rs.utilized_cidr_count #=> Integer
1350
+ # resp.firewall_status.capacity_usage_summary.cid_rs.ip_set_references #=> Hash
1351
+ # resp.firewall_status.capacity_usage_summary.cid_rs.ip_set_references["IPSetArn"].resolved_cidr_count #=> Integer
1332
1352
  #
1333
1353
  # @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeFirewall AWS API Documentation
1334
1354
  #
@@ -1400,6 +1420,7 @@ module Aws::NetworkFirewall
1400
1420
  # resp.firewall_policy.stateful_default_actions #=> Array
1401
1421
  # resp.firewall_policy.stateful_default_actions[0] #=> String
1402
1422
  # resp.firewall_policy.stateful_engine_options.rule_order #=> String, one of "DEFAULT_ACTION_ORDER", "STRICT_ORDER"
1423
+ # resp.firewall_policy.stateful_engine_options.stream_exception_policy #=> String, one of "DROP", "CONTINUE"
1403
1424
  #
1404
1425
  # @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeFirewallPolicy AWS API Documentation
1405
1426
  #
@@ -1529,6 +1550,8 @@ module Aws::NetworkFirewall
1529
1550
  # resp.rule_group.rule_variables.port_sets #=> Hash
1530
1551
  # resp.rule_group.rule_variables.port_sets["RuleVariableName"].definition #=> Array
1531
1552
  # resp.rule_group.rule_variables.port_sets["RuleVariableName"].definition[0] #=> String
1553
+ # resp.rule_group.reference_sets.ip_set_references #=> Hash
1554
+ # resp.rule_group.reference_sets.ip_set_references["IPSetReferenceName"].reference_arn #=> String
1532
1555
  # resp.rule_group.rules_source.rules_string #=> String
1533
1556
  # resp.rule_group.rules_source.rules_source_list.targets #=> Array
1534
1557
  # resp.rule_group.rules_source.rules_source_list.targets[0] #=> String
@@ -2433,6 +2456,7 @@ module Aws::NetworkFirewall
2433
2456
  # stateful_default_actions: ["CollectionMember_String"],
2434
2457
  # stateful_engine_options: {
2435
2458
  # rule_order: "DEFAULT_ACTION_ORDER", # accepts DEFAULT_ACTION_ORDER, STRICT_ORDER
2459
+ # stream_exception_policy: "DROP", # accepts DROP, CONTINUE
2436
2460
  # },
2437
2461
  # },
2438
2462
  # description: "Description",
@@ -2743,6 +2767,13 @@ module Aws::NetworkFirewall
2743
2767
  # },
2744
2768
  # },
2745
2769
  # },
2770
+ # reference_sets: {
2771
+ # ip_set_references: {
2772
+ # "IPSetReferenceName" => {
2773
+ # reference_arn: "ResourceArn",
2774
+ # },
2775
+ # },
2776
+ # },
2746
2777
  # rules_source: { # required
2747
2778
  # rules_string: "RulesString",
2748
2779
  # rules_source_list: {
@@ -2956,7 +2987,7 @@ module Aws::NetworkFirewall
2956
2987
  params: params,
2957
2988
  config: config)
2958
2989
  context[:gem_name] = 'aws-sdk-networkfirewall'
2959
- context[:gem_version] = '1.17.0'
2990
+ context[:gem_version] = '1.19.0'
2960
2991
  Seahorse::Client::Request.new(handlers, context)
2961
2992
  end
2962
2993
 
@@ -28,6 +28,9 @@ module Aws::NetworkFirewall
28
28
  AzSubnet = Shapes::StringShape.new(name: 'AzSubnet')
29
29
  AzSubnets = Shapes::ListShape.new(name: 'AzSubnets')
30
30
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
31
+ CIDRCount = Shapes::IntegerShape.new(name: 'CIDRCount')
32
+ CIDRSummary = Shapes::StructureShape.new(name: 'CIDRSummary')
33
+ CapacityUsageSummary = Shapes::StructureShape.new(name: 'CapacityUsageSummary')
31
34
  CollectionMember_String = Shapes::StringShape.new(name: 'CollectionMember_String')
32
35
  ConfigurationSyncState = Shapes::StringShape.new(name: 'ConfigurationSyncState')
33
36
  CreateFirewallPolicyRequest = Shapes::StructureShape.new(name: 'CreateFirewallPolicyRequest')
@@ -84,6 +87,12 @@ module Aws::NetworkFirewall
84
87
  HashMapValue = Shapes::StringShape.new(name: 'HashMapValue')
85
88
  Header = Shapes::StructureShape.new(name: 'Header')
86
89
  IPSet = Shapes::StructureShape.new(name: 'IPSet')
90
+ IPSetArn = Shapes::StringShape.new(name: 'IPSetArn')
91
+ IPSetMetadata = Shapes::StructureShape.new(name: 'IPSetMetadata')
92
+ IPSetMetadataMap = Shapes::MapShape.new(name: 'IPSetMetadataMap')
93
+ IPSetReference = Shapes::StructureShape.new(name: 'IPSetReference')
94
+ IPSetReferenceMap = Shapes::MapShape.new(name: 'IPSetReferenceMap')
95
+ IPSetReferenceName = Shapes::StringShape.new(name: 'IPSetReferenceName')
87
96
  IPSets = Shapes::MapShape.new(name: 'IPSets')
88
97
  InsufficientCapacityException = Shapes::StructureShape.new(name: 'InsufficientCapacityException')
89
98
  InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
@@ -130,6 +139,7 @@ module Aws::NetworkFirewall
130
139
  PublishMetricAction = Shapes::StructureShape.new(name: 'PublishMetricAction')
131
140
  PutResourcePolicyRequest = Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
132
141
  PutResourcePolicyResponse = Shapes::StructureShape.new(name: 'PutResourcePolicyResponse')
142
+ ReferenceSets = Shapes::StructureShape.new(name: 'ReferenceSets')
133
143
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
134
144
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
135
145
  ResourceManagedStatus = Shapes::StringShape.new(name: 'ResourceManagedStatus')
@@ -175,6 +185,7 @@ module Aws::NetworkFirewall
175
185
  StatelessRuleGroupReferences = Shapes::ListShape.new(name: 'StatelessRuleGroupReferences')
176
186
  StatelessRules = Shapes::ListShape.new(name: 'StatelessRules')
177
187
  StatelessRulesAndCustomActions = Shapes::StructureShape.new(name: 'StatelessRulesAndCustomActions')
188
+ StreamExceptionPolicy = Shapes::StringShape.new(name: 'StreamExceptionPolicy')
178
189
  SubnetMapping = Shapes::StructureShape.new(name: 'SubnetMapping')
179
190
  SubnetMappings = Shapes::ListShape.new(name: 'SubnetMappings')
180
191
  SyncState = Shapes::StructureShape.new(name: 'SyncState')
@@ -258,6 +269,14 @@ module Aws::NetworkFirewall
258
269
 
259
270
  AzSubnets.member = Shapes::ShapeRef.new(shape: AzSubnet)
260
271
 
272
+ CIDRSummary.add_member(:available_cidr_count, Shapes::ShapeRef.new(shape: CIDRCount, location_name: "AvailableCIDRCount"))
273
+ CIDRSummary.add_member(:utilized_cidr_count, Shapes::ShapeRef.new(shape: CIDRCount, location_name: "UtilizedCIDRCount"))
274
+ CIDRSummary.add_member(:ip_set_references, Shapes::ShapeRef.new(shape: IPSetMetadataMap, location_name: "IPSetReferences"))
275
+ CIDRSummary.struct_class = Types::CIDRSummary
276
+
277
+ CapacityUsageSummary.add_member(:cid_rs, Shapes::ShapeRef.new(shape: CIDRSummary, location_name: "CIDRs"))
278
+ CapacityUsageSummary.struct_class = Types::CapacityUsageSummary
279
+
261
280
  CreateFirewallPolicyRequest.add_member(:firewall_policy_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "FirewallPolicyName"))
262
281
  CreateFirewallPolicyRequest.add_member(:firewall_policy, Shapes::ShapeRef.new(shape: FirewallPolicy, required: true, location_name: "FirewallPolicy"))
263
282
  CreateFirewallPolicyRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
@@ -462,6 +481,7 @@ module Aws::NetworkFirewall
462
481
  FirewallStatus.add_member(:status, Shapes::ShapeRef.new(shape: FirewallStatusValue, required: true, location_name: "Status"))
463
482
  FirewallStatus.add_member(:configuration_sync_state_summary, Shapes::ShapeRef.new(shape: ConfigurationSyncState, required: true, location_name: "ConfigurationSyncStateSummary"))
464
483
  FirewallStatus.add_member(:sync_states, Shapes::ShapeRef.new(shape: SyncStates, location_name: "SyncStates"))
484
+ FirewallStatus.add_member(:capacity_usage_summary, Shapes::ShapeRef.new(shape: CapacityUsageSummary, location_name: "CapacityUsageSummary"))
465
485
  FirewallStatus.struct_class = Types::FirewallStatus
466
486
 
467
487
  Firewalls.member = Shapes::ShapeRef.new(shape: FirewallMetadata)
@@ -479,6 +499,18 @@ module Aws::NetworkFirewall
479
499
  IPSet.add_member(:definition, Shapes::ShapeRef.new(shape: VariableDefinitionList, required: true, location_name: "Definition"))
480
500
  IPSet.struct_class = Types::IPSet
481
501
 
502
+ IPSetMetadata.add_member(:resolved_cidr_count, Shapes::ShapeRef.new(shape: CIDRCount, location_name: "ResolvedCIDRCount"))
503
+ IPSetMetadata.struct_class = Types::IPSetMetadata
504
+
505
+ IPSetMetadataMap.key = Shapes::ShapeRef.new(shape: IPSetArn)
506
+ IPSetMetadataMap.value = Shapes::ShapeRef.new(shape: IPSetMetadata)
507
+
508
+ IPSetReference.add_member(:reference_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ReferenceArn"))
509
+ IPSetReference.struct_class = Types::IPSetReference
510
+
511
+ IPSetReferenceMap.key = Shapes::ShapeRef.new(shape: IPSetReferenceName)
512
+ IPSetReferenceMap.value = Shapes::ShapeRef.new(shape: IPSetReference)
513
+
482
514
  IPSets.key = Shapes::ShapeRef.new(shape: RuleVariableName)
483
515
  IPSets.value = Shapes::ShapeRef.new(shape: IPSet)
484
516
 
@@ -591,6 +623,9 @@ module Aws::NetworkFirewall
591
623
 
592
624
  PutResourcePolicyResponse.struct_class = Types::PutResourcePolicyResponse
593
625
 
626
+ ReferenceSets.add_member(:ip_set_references, Shapes::ShapeRef.new(shape: IPSetReferenceMap, location_name: "IPSetReferences"))
627
+ ReferenceSets.struct_class = Types::ReferenceSets
628
+
594
629
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
595
630
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
596
631
 
@@ -602,6 +637,7 @@ module Aws::NetworkFirewall
602
637
  RuleDefinition.struct_class = Types::RuleDefinition
603
638
 
604
639
  RuleGroup.add_member(:rule_variables, Shapes::ShapeRef.new(shape: RuleVariables, location_name: "RuleVariables"))
640
+ RuleGroup.add_member(:reference_sets, Shapes::ShapeRef.new(shape: ReferenceSets, location_name: "ReferenceSets"))
605
641
  RuleGroup.add_member(:rules_source, Shapes::ShapeRef.new(shape: RulesSource, required: true, location_name: "RulesSource"))
606
642
  RuleGroup.add_member(:stateful_rule_options, Shapes::ShapeRef.new(shape: StatefulRuleOptions, location_name: "StatefulRuleOptions"))
607
643
  RuleGroup.struct_class = Types::RuleGroup
@@ -660,6 +696,7 @@ module Aws::NetworkFirewall
660
696
  StatefulActions.member = Shapes::ShapeRef.new(shape: CollectionMember_String)
661
697
 
662
698
  StatefulEngineOptions.add_member(:rule_order, Shapes::ShapeRef.new(shape: RuleOrder, location_name: "RuleOrder"))
699
+ StatefulEngineOptions.add_member(:stream_exception_policy, Shapes::ShapeRef.new(shape: StreamExceptionPolicy, location_name: "StreamExceptionPolicy"))
663
700
  StatefulEngineOptions.struct_class = Types::StatefulEngineOptions
664
701
 
665
702
  StatefulRule.add_member(:action, Shapes::ShapeRef.new(shape: StatefulAction, required: true, location_name: "Action"))
@@ -329,6 +329,50 @@ module Aws::NetworkFirewall
329
329
  include Aws::Structure
330
330
  end
331
331
 
332
+ # Summarizes the CIDR blocks used by the IP set references in a
333
+ # firewall. Network Firewall calculates the number of CIDRs by taking an
334
+ # aggregated count of all CIDRs used by the IP sets you are referencing.
335
+ #
336
+ # @!attribute [rw] available_cidr_count
337
+ # The number of CIDR blocks available for use by the IP set references
338
+ # in a firewall.
339
+ # @return [Integer]
340
+ #
341
+ # @!attribute [rw] utilized_cidr_count
342
+ # The number of CIDR blocks used by the IP set references in a
343
+ # firewall.
344
+ # @return [Integer]
345
+ #
346
+ # @!attribute [rw] ip_set_references
347
+ # The list of the IP set references used by a firewall.
348
+ # @return [Hash<String,Types::IPSetMetadata>]
349
+ #
350
+ # @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/CIDRSummary AWS API Documentation
351
+ #
352
+ class CIDRSummary < Struct.new(
353
+ :available_cidr_count,
354
+ :utilized_cidr_count,
355
+ :ip_set_references)
356
+ SENSITIVE = []
357
+ include Aws::Structure
358
+ end
359
+
360
+ # The capacity usage summary of the resources used by the ReferenceSets
361
+ # in a firewall.
362
+ #
363
+ # @!attribute [rw] cid_rs
364
+ # Describes the capacity usage of the CIDR blocks used by the IP set
365
+ # references in a firewall.
366
+ # @return [Types::CIDRSummary]
367
+ #
368
+ # @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/CapacityUsageSummary AWS API Documentation
369
+ #
370
+ class CapacityUsageSummary < Struct.new(
371
+ :cid_rs)
372
+ SENSITIVE = []
373
+ include Aws::Structure
374
+ end
375
+
332
376
  # @note When making an API call, you may pass CreateFirewallPolicyRequest
333
377
  # data as a hash:
334
378
  #
@@ -369,6 +413,7 @@ module Aws::NetworkFirewall
369
413
  # stateful_default_actions: ["CollectionMember_String"],
370
414
  # stateful_engine_options: {
371
415
  # rule_order: "DEFAULT_ACTION_ORDER", # accepts DEFAULT_ACTION_ORDER, STRICT_ORDER
416
+ # stream_exception_policy: "DROP", # accepts DROP, CONTINUE
372
417
  # },
373
418
  # },
374
419
  # description: "Description",
@@ -609,6 +654,13 @@ module Aws::NetworkFirewall
609
654
  # },
610
655
  # },
611
656
  # },
657
+ # reference_sets: {
658
+ # ip_set_references: {
659
+ # "IPSetReferenceName" => {
660
+ # reference_arn: "ResourceArn",
661
+ # },
662
+ # },
663
+ # },
612
664
  # rules_source: { # required
613
665
  # rules_string: "RulesString",
614
666
  # rules_source_list: {
@@ -1882,6 +1934,7 @@ module Aws::NetworkFirewall
1882
1934
  # stateful_default_actions: ["CollectionMember_String"],
1883
1935
  # stateful_engine_options: {
1884
1936
  # rule_order: "DEFAULT_ACTION_ORDER", # accepts DEFAULT_ACTION_ORDER, STRICT_ORDER
1937
+ # stream_exception_policy: "DROP", # accepts DROP, CONTINUE
1885
1938
  # },
1886
1939
  # }
1887
1940
  #
@@ -2120,12 +2173,20 @@ module Aws::NetworkFirewall
2120
2173
  # and configuration object.
2121
2174
  # @return [Hash<String,Types::SyncState>]
2122
2175
  #
2176
+ # @!attribute [rw] capacity_usage_summary
2177
+ # Describes the capacity usage of the resources contained in a
2178
+ # firewall's reference sets. Network Firewall calclulates the
2179
+ # capacity usage by taking an aggregated count of all of the resources
2180
+ # used by all of the reference sets in a firewall.
2181
+ # @return [Types::CapacityUsageSummary]
2182
+ #
2123
2183
  # @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/FirewallStatus AWS API Documentation
2124
2184
  #
2125
2185
  class FirewallStatus < Struct.new(
2126
2186
  :status,
2127
2187
  :configuration_sync_state_summary,
2128
- :sync_states)
2188
+ :sync_states,
2189
+ :capacity_usage_summary)
2129
2190
  SENSITIVE = []
2130
2191
  include Aws::Structure
2131
2192
  end
@@ -2255,6 +2316,63 @@ module Aws::NetworkFirewall
2255
2316
  include Aws::Structure
2256
2317
  end
2257
2318
 
2319
+ # General information about the IP set.
2320
+ #
2321
+ # @!attribute [rw] resolved_cidr_count
2322
+ # Describes the total number of CIDR blocks currently in use by the IP
2323
+ # set references in a firewall. To determine how many CIDR blocks are
2324
+ # available for you to use in a firewall, you can call
2325
+ # `AvailableCIDRCount`.
2326
+ # @return [Integer]
2327
+ #
2328
+ # @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/IPSetMetadata AWS API Documentation
2329
+ #
2330
+ class IPSetMetadata < Struct.new(
2331
+ :resolved_cidr_count)
2332
+ SENSITIVE = []
2333
+ include Aws::Structure
2334
+ end
2335
+
2336
+ # Configures one or more IP set references for a Suricata-compatible
2337
+ # rule group. This is used in CreateRuleGroup or UpdateRuleGroup. An IP
2338
+ # set reference is a rule variable that references a resource that you
2339
+ # create and manage in another Amazon Web Services service, such as an
2340
+ # Amazon VPC prefix list. Network Firewall IP set references enable you
2341
+ # to dynamically update the contents of your rules. When you create,
2342
+ # update, or delete the IP set you are referencing in your rule, Network
2343
+ # Firewall automatically updates the rule's content with the changes.
2344
+ # For more information about IP set references in Network Firewall, see
2345
+ # [Using IP set references][1] in the *Network Firewall Developer
2346
+ # Guide*.
2347
+ #
2348
+ # Network Firewall currently supports only [Amazon VPC prefix lists][2]
2349
+ # as IP set references.
2350
+ #
2351
+ #
2352
+ #
2353
+ # [1]: https://docs.aws.amazon.com/network-firewall/latest/developerguide/rule-groups-ip-set-references
2354
+ # [2]: https://docs.aws.amazon.com/vpc/latest/userguide/managed-prefix-lists.html
2355
+ #
2356
+ # @note When making an API call, you may pass IPSetReference
2357
+ # data as a hash:
2358
+ #
2359
+ # {
2360
+ # reference_arn: "ResourceArn",
2361
+ # }
2362
+ #
2363
+ # @!attribute [rw] reference_arn
2364
+ # The Amazon Resource Name (ARN) of the resource that you are
2365
+ # referencing in your rule group.
2366
+ # @return [String]
2367
+ #
2368
+ # @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/IPSetReference AWS API Documentation
2369
+ #
2370
+ class IPSetReference < Struct.new(
2371
+ :reference_arn)
2372
+ SENSITIVE = []
2373
+ include Aws::Structure
2374
+ end
2375
+
2258
2376
  # Amazon Web Services doesn't currently have enough available capacity
2259
2377
  # to fulfill your request. Try your request later.
2260
2378
  #
@@ -2983,6 +3101,31 @@ module Aws::NetworkFirewall
2983
3101
  #
2984
3102
  class PutResourcePolicyResponse < Aws::EmptyStructure; end
2985
3103
 
3104
+ # Contains a set of IP set references.
3105
+ #
3106
+ # @note When making an API call, you may pass ReferenceSets
3107
+ # data as a hash:
3108
+ #
3109
+ # {
3110
+ # ip_set_references: {
3111
+ # "IPSetReferenceName" => {
3112
+ # reference_arn: "ResourceArn",
3113
+ # },
3114
+ # },
3115
+ # }
3116
+ #
3117
+ # @!attribute [rw] ip_set_references
3118
+ # The list of IP set references.
3119
+ # @return [Hash<String,Types::IPSetReference>]
3120
+ #
3121
+ # @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/ReferenceSets AWS API Documentation
3122
+ #
3123
+ class ReferenceSets < Struct.new(
3124
+ :ip_set_references)
3125
+ SENSITIVE = []
3126
+ include Aws::Structure
3127
+ end
3128
+
2986
3129
  # Unable to locate a resource using the parameters that you provided.
2987
3130
  #
2988
3131
  # @!attribute [rw] message
@@ -3136,6 +3279,13 @@ module Aws::NetworkFirewall
3136
3279
  # },
3137
3280
  # },
3138
3281
  # },
3282
+ # reference_sets: {
3283
+ # ip_set_references: {
3284
+ # "IPSetReferenceName" => {
3285
+ # reference_arn: "ResourceArn",
3286
+ # },
3287
+ # },
3288
+ # },
3139
3289
  # rules_source: { # required
3140
3290
  # rules_string: "RulesString",
3141
3291
  # rules_source_list: {
@@ -3228,6 +3378,10 @@ module Aws::NetworkFirewall
3228
3378
  # You can only use these for stateful rule groups.
3229
3379
  # @return [Types::RuleVariables]
3230
3380
  #
3381
+ # @!attribute [rw] reference_sets
3382
+ # The list of a rule group's reference sets.
3383
+ # @return [Types::ReferenceSets]
3384
+ #
3231
3385
  # @!attribute [rw] rules_source
3232
3386
  # The stateful rules or stateless rules for the rule group.
3233
3387
  # @return [Types::RulesSource]
@@ -3243,6 +3397,7 @@ module Aws::NetworkFirewall
3243
3397
  #
3244
3398
  class RuleGroup < Struct.new(
3245
3399
  :rule_variables,
3400
+ :reference_sets,
3246
3401
  :rules_source,
3247
3402
  :stateful_rule_options)
3248
3403
  SENSITIVE = []
@@ -3558,7 +3713,7 @@ module Aws::NetworkFirewall
3558
3713
  #
3559
3714
  #
3560
3715
  #
3561
- # [1]: https://suricata.readthedocs.io/en/suricata-5.0.0/rules/intro.html#
3716
+ # [1]: https://suricata.readthedocs.io/rules/intro.html#
3562
3717
  # @return [Array<Types::StatefulRule>]
3563
3718
  #
3564
3719
  # @!attribute [rw] stateless_rules_and_custom_actions
@@ -3684,6 +3839,7 @@ module Aws::NetworkFirewall
3684
3839
  #
3685
3840
  # {
3686
3841
  # rule_order: "DEFAULT_ACTION_ORDER", # accepts DEFAULT_ACTION_ORDER, STRICT_ORDER
3842
+ # stream_exception_policy: "DROP", # accepts DROP, CONTINUE
3687
3843
  # }
3688
3844
  #
3689
3845
  # @!attribute [rw] rule_order
@@ -3699,10 +3855,31 @@ module Aws::NetworkFirewall
3699
3855
  # [1]: https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html
3700
3856
  # @return [String]
3701
3857
  #
3858
+ # @!attribute [rw] stream_exception_policy
3859
+ # Configures how Network Firewall processes traffic when a network
3860
+ # connection breaks midstream. Network connections can break due to
3861
+ # disruptions in external networks or within the firewall itself.
3862
+ #
3863
+ # * `DROP` - Network Firewall fails closed and drops all subsequent
3864
+ # traffic going to the firewall. This is the default behavior.
3865
+ #
3866
+ # * `CONTINUE` - Network Firewall continues to apply rules to the
3867
+ # subsequent traffic without context from traffic before the break.
3868
+ # This impacts the behavior of rules that depend on this context.
3869
+ # For example, if you have a stateful rule to `drop http` traffic,
3870
+ # Network Firewall won't match the traffic for this rule because
3871
+ # the service won't have the context from session initialization
3872
+ # defining the application layer protocol as HTTP. However, this
3873
+ # behavior is rule dependent—a TCP-layer rule using a
3874
+ # `flow:stateless` rule would still match, as would the
3875
+ # `aws:drop_strict` default action.
3876
+ # @return [String]
3877
+ #
3702
3878
  # @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/StatefulEngineOptions AWS API Documentation
3703
3879
  #
3704
3880
  class StatefulEngineOptions < Struct.new(
3705
- :rule_order)
3881
+ :rule_order,
3882
+ :stream_exception_policy)
3706
3883
  SENSITIVE = []
3707
3884
  include Aws::Structure
3708
3885
  end
@@ -3715,7 +3892,7 @@ module Aws::NetworkFirewall
3715
3892
  #
3716
3893
  #
3717
3894
  #
3718
- # [1]: https://suricata.readthedocs.io/en/suricata-5.0.0/rules/intro.html#
3895
+ # [1]: https://suricata.readthedocs.io/rules/intro.html#
3719
3896
  #
3720
3897
  # @note When making an API call, you may pass StatefulRule
3721
3898
  # data as a hash:
@@ -4800,6 +4977,7 @@ module Aws::NetworkFirewall
4800
4977
  # stateful_default_actions: ["CollectionMember_String"],
4801
4978
  # stateful_engine_options: {
4802
4979
  # rule_order: "DEFAULT_ACTION_ORDER", # accepts DEFAULT_ACTION_ORDER, STRICT_ORDER
4980
+ # stream_exception_policy: "DROP", # accepts DROP, CONTINUE
4803
4981
  # },
4804
4982
  # },
4805
4983
  # description: "Description",
@@ -5000,6 +5178,13 @@ module Aws::NetworkFirewall
5000
5178
  # },
5001
5179
  # },
5002
5180
  # },
5181
+ # reference_sets: {
5182
+ # ip_set_references: {
5183
+ # "IPSetReferenceName" => {
5184
+ # reference_arn: "ResourceArn",
5185
+ # },
5186
+ # },
5187
+ # },
5003
5188
  # rules_source: { # required
5004
5189
  # rules_string: "RulesString",
5005
5190
  # rules_source_list: {
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-networkfirewall/customizations'
48
48
  # @!group service
49
49
  module Aws::NetworkFirewall
50
50
 
51
- GEM_VERSION = '1.17.0'
51
+ GEM_VERSION = '1.19.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-networkfirewall
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.0
4
+ version: 1.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-28 00:00:00.000000000 Z
11
+ date: 2022-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core