aws-sdk-networksecuritymanager 1.12.0 → 1.13.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-networksecuritymanager/client.rb +240 -34
- data/lib/aws-sdk-networksecuritymanager/client_api.rb +128 -0
- data/lib/aws-sdk-networksecuritymanager/types.rb +400 -5
- data/lib/aws-sdk-networksecuritymanager.rb +1 -1
- data/sig/client.rbs +52 -18
- data/sig/params.rbs +10 -1
- data/sig/types.rbs +98 -26
- metadata +1 -1
|
@@ -1274,6 +1274,16 @@ module Aws::NetworkSecurityManager
|
|
|
1274
1274
|
# scope.
|
|
1275
1275
|
# @return [Types::ScopeConfiguration]
|
|
1276
1276
|
#
|
|
1277
|
+
# @!attribute [rw] specialized_scope_type
|
|
1278
|
+
# The specialized type of the scope. Omit this value to create a
|
|
1279
|
+
# standard scope that you can associate with a deployment. Set it to
|
|
1280
|
+
# create a scope that is built for one specific purpose: a specialized
|
|
1281
|
+
# scope can be used only for the purpose that its type defines, is
|
|
1282
|
+
# validated against that use, and can't be associated with a
|
|
1283
|
+
# deployment. This value is set when the scope is created and can't
|
|
1284
|
+
# be changed.
|
|
1285
|
+
# @return [String]
|
|
1286
|
+
#
|
|
1277
1287
|
# @!attribute [rw] is_published
|
|
1278
1288
|
# Specifies whether to publish the resource. When `true`, the resource
|
|
1279
1289
|
# is saved in published (`ACTIVE`) state. When `false`, it is saved as
|
|
@@ -1291,6 +1301,7 @@ module Aws::NetworkSecurityManager
|
|
|
1291
1301
|
:scope_name,
|
|
1292
1302
|
:scope_description,
|
|
1293
1303
|
:scope_configuration,
|
|
1304
|
+
:specialized_scope_type,
|
|
1294
1305
|
:is_published,
|
|
1295
1306
|
:tags)
|
|
1296
1307
|
SENSITIVE = []
|
|
@@ -1318,6 +1329,15 @@ module Aws::NetworkSecurityManager
|
|
|
1318
1329
|
# scope.
|
|
1319
1330
|
# @return [Types::ScopeConfiguration]
|
|
1320
1331
|
#
|
|
1332
|
+
# @!attribute [rw] specialized_scope_type
|
|
1333
|
+
# The specialized type of the scope, if the scope is built for one
|
|
1334
|
+
# specific purpose. A scope with no `specializedScopeType` is a
|
|
1335
|
+
# standard scope that you can associate with a deployment. A
|
|
1336
|
+
# specialized scope can be used only for the purpose that its type
|
|
1337
|
+
# defines and can't be associated with a deployment. This value is
|
|
1338
|
+
# set when the scope is created and can't be changed.
|
|
1339
|
+
# @return [String]
|
|
1340
|
+
#
|
|
1321
1341
|
# @!attribute [rw] status
|
|
1322
1342
|
# The current status of the resource: `DRAFT` (unpublished, editable)
|
|
1323
1343
|
# or `ACTIVE` (published, in use).
|
|
@@ -1353,6 +1373,7 @@ module Aws::NetworkSecurityManager
|
|
|
1353
1373
|
:scope_name,
|
|
1354
1374
|
:scope_description,
|
|
1355
1375
|
:scope_configuration,
|
|
1376
|
+
:specialized_scope_type,
|
|
1356
1377
|
:status,
|
|
1357
1378
|
:version,
|
|
1358
1379
|
:update_token,
|
|
@@ -1413,6 +1434,15 @@ module Aws::NetworkSecurityManager
|
|
|
1413
1434
|
# scope.
|
|
1414
1435
|
# @return [Types::ScopeConfiguration]
|
|
1415
1436
|
#
|
|
1437
|
+
# @!attribute [rw] specialized_scope_type
|
|
1438
|
+
# The specialized type of the scope, if the scope is built for one
|
|
1439
|
+
# specific purpose. A scope with no `specializedScopeType` is a
|
|
1440
|
+
# standard scope that you can associate with a deployment. A
|
|
1441
|
+
# specialized scope can be used only for the purpose that its type
|
|
1442
|
+
# defines and can't be associated with a deployment. This value is
|
|
1443
|
+
# set when the scope is created and can't be changed.
|
|
1444
|
+
# @return [String]
|
|
1445
|
+
#
|
|
1416
1446
|
# @!attribute [rw] status
|
|
1417
1447
|
# The current status of the resource: `DRAFT` (unpublished, editable)
|
|
1418
1448
|
# or `ACTIVE` (published, in use).
|
|
@@ -1448,6 +1478,7 @@ module Aws::NetworkSecurityManager
|
|
|
1448
1478
|
:scope_name,
|
|
1449
1479
|
:scope_description,
|
|
1450
1480
|
:scope_configuration,
|
|
1481
|
+
:specialized_scope_type,
|
|
1451
1482
|
:status,
|
|
1452
1483
|
:version,
|
|
1453
1484
|
:update_token,
|
|
@@ -1872,7 +1903,8 @@ module Aws::NetworkSecurityManager
|
|
|
1872
1903
|
end
|
|
1873
1904
|
|
|
1874
1905
|
# Describes why a firewall is out of sync. Exactly one of
|
|
1875
|
-
# `missingFirewall` or `
|
|
1906
|
+
# `missingFirewall`, `invalidFirewall`, or `invalidResource` contains a
|
|
1907
|
+
# value.
|
|
1876
1908
|
#
|
|
1877
1909
|
# @note FirewallSyncReason is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of FirewallSyncReason corresponding to the set member.
|
|
1878
1910
|
#
|
|
@@ -1886,11 +1918,20 @@ module Aws::NetworkSecurityManager
|
|
|
1886
1918
|
# intended configuration.
|
|
1887
1919
|
# @return [Types::InvalidFirewallReasons]
|
|
1888
1920
|
#
|
|
1921
|
+
# @!attribute [rw] invalid_resource
|
|
1922
|
+
# A map of related resources whose configuration does not match the
|
|
1923
|
+
# intended configuration, grouped by resource type. Each entry lists
|
|
1924
|
+
# the resources of that type that are out of sync. For example,
|
|
1925
|
+
# subnets whose connectivity type differs from the connectivity type
|
|
1926
|
+
# that the policy specifies.
|
|
1927
|
+
# @return [Hash<String,Array<Types::InvalidResourceIssue>>]
|
|
1928
|
+
#
|
|
1889
1929
|
# @see http://docs.aws.amazon.com/goto/WebAPI/network-security-manager-2025-10-30/FirewallSyncReason AWS API Documentation
|
|
1890
1930
|
#
|
|
1891
1931
|
class FirewallSyncReason < Struct.new(
|
|
1892
1932
|
:missing_firewall,
|
|
1893
1933
|
:invalid_firewall,
|
|
1934
|
+
:invalid_resource,
|
|
1894
1935
|
:unknown)
|
|
1895
1936
|
SENSITIVE = []
|
|
1896
1937
|
include Aws::Structure
|
|
@@ -1898,6 +1939,7 @@ module Aws::NetworkSecurityManager
|
|
|
1898
1939
|
|
|
1899
1940
|
class MissingFirewall < FirewallSyncReason; end
|
|
1900
1941
|
class InvalidFirewall < FirewallSyncReason; end
|
|
1942
|
+
class InvalidResource < FirewallSyncReason; end
|
|
1901
1943
|
class Unknown < FirewallSyncReason; end
|
|
1902
1944
|
end
|
|
1903
1945
|
|
|
@@ -2318,6 +2360,15 @@ module Aws::NetworkSecurityManager
|
|
|
2318
2360
|
# scope.
|
|
2319
2361
|
# @return [Types::ScopeConfiguration]
|
|
2320
2362
|
#
|
|
2363
|
+
# @!attribute [rw] specialized_scope_type
|
|
2364
|
+
# The specialized type of the scope, if the scope is built for one
|
|
2365
|
+
# specific purpose. A scope with no `specializedScopeType` is a
|
|
2366
|
+
# standard scope that you can associate with a deployment. A
|
|
2367
|
+
# specialized scope can be used only for the purpose that its type
|
|
2368
|
+
# defines and can't be associated with a deployment. This value is
|
|
2369
|
+
# set when the scope is created and can't be changed.
|
|
2370
|
+
# @return [String]
|
|
2371
|
+
#
|
|
2321
2372
|
# @!attribute [rw] status
|
|
2322
2373
|
# The current status of the resource: `DRAFT` (unpublished, editable),
|
|
2323
2374
|
# `ACTIVE` (published, in use), or `DISABLED` (deactivated; changes
|
|
@@ -2354,6 +2405,7 @@ module Aws::NetworkSecurityManager
|
|
|
2354
2405
|
:scope_name,
|
|
2355
2406
|
:scope_description,
|
|
2356
2407
|
:scope_configuration,
|
|
2408
|
+
:specialized_scope_type,
|
|
2357
2409
|
:status,
|
|
2358
2410
|
:version,
|
|
2359
2411
|
:update_token,
|
|
@@ -2447,6 +2499,53 @@ module Aws::NetworkSecurityManager
|
|
|
2447
2499
|
include Aws::Structure
|
|
2448
2500
|
end
|
|
2449
2501
|
|
|
2502
|
+
# Policy configuration settings for Network Firewall automated internet
|
|
2503
|
+
# firewall policies.
|
|
2504
|
+
#
|
|
2505
|
+
# @!attribute [rw] default_subnet_connectivity
|
|
2506
|
+
# The default internet connectivity treatment that AWS Network
|
|
2507
|
+
# Security Manager applies to subnets in scope, unless a subnet
|
|
2508
|
+
# connectivity override applies. Required for Network Firewall
|
|
2509
|
+
# automated internet firewall policies. Valid values:
|
|
2510
|
+
#
|
|
2511
|
+
# * `flexible` – Sets the connectivity for each network interface in
|
|
2512
|
+
# the subnet based on whether it is associated with a public IP
|
|
2513
|
+
# address. A network interface with a public IP address gets
|
|
2514
|
+
# bidirectional internet connectivity. A network interface without a
|
|
2515
|
+
# public IP address gets outbound-only connectivity. All traffic is
|
|
2516
|
+
# inspected against your firewall rules.
|
|
2517
|
+
#
|
|
2518
|
+
# * `bidirectional` – Provides bidirectional internet connectivity to
|
|
2519
|
+
# every network interface that has a public IP association. Any
|
|
2520
|
+
# network interface without a public IP cannot communicate with the
|
|
2521
|
+
# internet unless a NAT device is explicitly inserted in the path.
|
|
2522
|
+
# All inbound and outbound traffic is inspected against your
|
|
2523
|
+
# firewall rules.
|
|
2524
|
+
#
|
|
2525
|
+
# * `outbound-only` – Provides egress-only connectivity for all
|
|
2526
|
+
# network interfaces in the subnet. All outbound traffic and inbound
|
|
2527
|
+
# responses are inspected against your firewall rules. Unsolicited
|
|
2528
|
+
# inbound connections are dropped. For IPv4 traffic, the Network
|
|
2529
|
+
# Firewall automated internet firewall performs NAT.
|
|
2530
|
+
# @return [String]
|
|
2531
|
+
#
|
|
2532
|
+
# @!attribute [rw] subnet_connectivity_overrides
|
|
2533
|
+
# An ordered list of overrides that apply a different connectivity
|
|
2534
|
+
# treatment to the subnets that a scope selects. When a subnet matches
|
|
2535
|
+
# more than one override, the first matching override in the list
|
|
2536
|
+
# applies. You can specify at most one override for each connectivity
|
|
2537
|
+
# type.
|
|
2538
|
+
# @return [Array<Types::SubnetConnectivityOverride>]
|
|
2539
|
+
#
|
|
2540
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-security-manager-2025-10-30/IgwFirewallConfig AWS API Documentation
|
|
2541
|
+
#
|
|
2542
|
+
class IgwFirewallConfig < Struct.new(
|
|
2543
|
+
:default_subnet_connectivity,
|
|
2544
|
+
:subnet_connectivity_overrides)
|
|
2545
|
+
SENSITIVE = []
|
|
2546
|
+
include Aws::Structure
|
|
2547
|
+
end
|
|
2548
|
+
|
|
2450
2549
|
# The request processing failed because of an internal error in the
|
|
2451
2550
|
# service. This is a retryable error.
|
|
2452
2551
|
#
|
|
@@ -2503,6 +2602,32 @@ module Aws::NetworkSecurityManager
|
|
|
2503
2602
|
include Aws::Structure
|
|
2504
2603
|
end
|
|
2505
2604
|
|
|
2605
|
+
# Describes a single related resource whose configuration does not match
|
|
2606
|
+
# the intended configuration.
|
|
2607
|
+
#
|
|
2608
|
+
# @!attribute [rw] resource_id
|
|
2609
|
+
# The identifier of the resource, such as a subnet ARN.
|
|
2610
|
+
# @return [String]
|
|
2611
|
+
#
|
|
2612
|
+
# @!attribute [rw] expected_value
|
|
2613
|
+
# The attribute value that the policy configuration requires, such as
|
|
2614
|
+
# the connectivity type for a subnet.
|
|
2615
|
+
# @return [String]
|
|
2616
|
+
#
|
|
2617
|
+
# @!attribute [rw] actual_value
|
|
2618
|
+
# The current attribute value on the resource.
|
|
2619
|
+
# @return [String]
|
|
2620
|
+
#
|
|
2621
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-security-manager-2025-10-30/InvalidResourceIssue AWS API Documentation
|
|
2622
|
+
#
|
|
2623
|
+
class InvalidResourceIssue < Struct.new(
|
|
2624
|
+
:resource_id,
|
|
2625
|
+
:expected_value,
|
|
2626
|
+
:actual_value)
|
|
2627
|
+
SENSITIVE = []
|
|
2628
|
+
include Aws::Structure
|
|
2629
|
+
end
|
|
2630
|
+
|
|
2506
2631
|
# @!attribute [rw] max_results
|
|
2507
2632
|
# The maximum number of results to return in a single call. Valid
|
|
2508
2633
|
# range: 1-100. To retrieve the remaining results, use the returned
|
|
@@ -2680,6 +2805,60 @@ module Aws::NetworkSecurityManager
|
|
|
2680
2805
|
include Aws::Structure
|
|
2681
2806
|
end
|
|
2682
2807
|
|
|
2808
|
+
# @!attribute [rw] entity_arn
|
|
2809
|
+
# The Amazon Resource Name (ARN) of the Network Security Manager
|
|
2810
|
+
# entity to list covered resources for. The ARN must not include a
|
|
2811
|
+
# `:DRAFT` qualifier.
|
|
2812
|
+
# @return [String]
|
|
2813
|
+
#
|
|
2814
|
+
# @!attribute [rw] resource_owner_account_id
|
|
2815
|
+
# Filters the results to the protected resources owned by the
|
|
2816
|
+
# specified AWS account.
|
|
2817
|
+
# @return [String]
|
|
2818
|
+
#
|
|
2819
|
+
# @!attribute [rw] max_results
|
|
2820
|
+
# The maximum number of results to return in a single call. Valid
|
|
2821
|
+
# range: 1–100. The default value is 100. To retrieve the remaining
|
|
2822
|
+
# results, use the returned `nextToken` value in a subsequent call.
|
|
2823
|
+
# @return [Integer]
|
|
2824
|
+
#
|
|
2825
|
+
# @!attribute [rw] next_token
|
|
2826
|
+
# The token for the next page of results. To retrieve the next page,
|
|
2827
|
+
# call the operation again and provide this value. When there are no
|
|
2828
|
+
# more results, this value is null.
|
|
2829
|
+
# @return [String]
|
|
2830
|
+
#
|
|
2831
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-security-manager-2025-10-30/ListEntityCoveragesInput AWS API Documentation
|
|
2832
|
+
#
|
|
2833
|
+
class ListEntityCoveragesInput < Struct.new(
|
|
2834
|
+
:entity_arn,
|
|
2835
|
+
:resource_owner_account_id,
|
|
2836
|
+
:max_results,
|
|
2837
|
+
:next_token)
|
|
2838
|
+
SENSITIVE = []
|
|
2839
|
+
include Aws::Structure
|
|
2840
|
+
end
|
|
2841
|
+
|
|
2842
|
+
# @!attribute [rw] next_token
|
|
2843
|
+
# The token for the next page of results. To retrieve the next page,
|
|
2844
|
+
# call the operation again and provide this value. When there are no
|
|
2845
|
+
# more results, this value is null.
|
|
2846
|
+
# @return [String]
|
|
2847
|
+
#
|
|
2848
|
+
# @!attribute [rw] resource_coverages
|
|
2849
|
+
# The list of resource coverages for the Network Security Manager
|
|
2850
|
+
# entity.
|
|
2851
|
+
# @return [Array<Types::ResourceCoverageSummary>]
|
|
2852
|
+
#
|
|
2853
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-security-manager-2025-10-30/ListEntityCoveragesOutput AWS API Documentation
|
|
2854
|
+
#
|
|
2855
|
+
class ListEntityCoveragesOutput < Struct.new(
|
|
2856
|
+
:next_token,
|
|
2857
|
+
:resource_coverages)
|
|
2858
|
+
SENSITIVE = []
|
|
2859
|
+
include Aws::Structure
|
|
2860
|
+
end
|
|
2861
|
+
|
|
2683
2862
|
# @!attribute [rw] max_results
|
|
2684
2863
|
# The maximum number of results to return in a single call. Valid
|
|
2685
2864
|
# range: 1-100. To retrieve the remaining results, use the returned
|
|
@@ -2771,6 +2950,58 @@ module Aws::NetworkSecurityManager
|
|
|
2771
2950
|
include Aws::Structure
|
|
2772
2951
|
end
|
|
2773
2952
|
|
|
2953
|
+
# @!attribute [rw] resource_arn
|
|
2954
|
+
# The Amazon Resource Name (ARN) of the protected resource to list
|
|
2955
|
+
# coverage for. You must own the resource.
|
|
2956
|
+
# @return [String]
|
|
2957
|
+
#
|
|
2958
|
+
# @!attribute [rw] entity_type
|
|
2959
|
+
# Filters the results by the type of the entity that covers the
|
|
2960
|
+
# resource. The only supported value is `Policy`.
|
|
2961
|
+
# @return [String]
|
|
2962
|
+
#
|
|
2963
|
+
# @!attribute [rw] max_results
|
|
2964
|
+
# The maximum number of results to return in a single call. Valid
|
|
2965
|
+
# range: 1–100. The default value is 100. To retrieve the remaining
|
|
2966
|
+
# results, use the returned `nextToken` value in a subsequent call.
|
|
2967
|
+
# @return [Integer]
|
|
2968
|
+
#
|
|
2969
|
+
# @!attribute [rw] next_token
|
|
2970
|
+
# The token for the next page of results. To retrieve the next page,
|
|
2971
|
+
# call the operation again and provide this value. When there are no
|
|
2972
|
+
# more results, this value is null.
|
|
2973
|
+
# @return [String]
|
|
2974
|
+
#
|
|
2975
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-security-manager-2025-10-30/ListProtectedResourceCoveragesInput AWS API Documentation
|
|
2976
|
+
#
|
|
2977
|
+
class ListProtectedResourceCoveragesInput < Struct.new(
|
|
2978
|
+
:resource_arn,
|
|
2979
|
+
:entity_type,
|
|
2980
|
+
:max_results,
|
|
2981
|
+
:next_token)
|
|
2982
|
+
SENSITIVE = []
|
|
2983
|
+
include Aws::Structure
|
|
2984
|
+
end
|
|
2985
|
+
|
|
2986
|
+
# @!attribute [rw] next_token
|
|
2987
|
+
# The token for the next page of results. To retrieve the next page,
|
|
2988
|
+
# call the operation again and provide this value. When there are no
|
|
2989
|
+
# more results, this value is null.
|
|
2990
|
+
# @return [String]
|
|
2991
|
+
#
|
|
2992
|
+
# @!attribute [rw] resource_coverages
|
|
2993
|
+
# The list of resource coverages for the protected resource.
|
|
2994
|
+
# @return [Array<Types::ResourceCoverageSummary>]
|
|
2995
|
+
#
|
|
2996
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-security-manager-2025-10-30/ListProtectedResourceCoveragesOutput AWS API Documentation
|
|
2997
|
+
#
|
|
2998
|
+
class ListProtectedResourceCoveragesOutput < Struct.new(
|
|
2999
|
+
:next_token,
|
|
3000
|
+
:resource_coverages)
|
|
3001
|
+
SENSITIVE = []
|
|
3002
|
+
include Aws::Structure
|
|
3003
|
+
end
|
|
3004
|
+
|
|
2774
3005
|
# @!attribute [rw] resource_identifier
|
|
2775
3006
|
# The identifier of the resource to list associations for. This is the
|
|
2776
3007
|
# resource's Amazon Resource Name (ARN).
|
|
@@ -3138,12 +3369,22 @@ module Aws::NetworkSecurityManager
|
|
|
3138
3369
|
# Filters the results by status, either `ACTIVE` or `DRAFT`.
|
|
3139
3370
|
# @return [String]
|
|
3140
3371
|
#
|
|
3372
|
+
# @!attribute [rw] template_owner
|
|
3373
|
+
# Specifies which templates to list. The default is `CUSTOMER`. Valid
|
|
3374
|
+
# values:
|
|
3375
|
+
#
|
|
3376
|
+
# * `CUSTOMER` – Lists the templates in your account.
|
|
3377
|
+
#
|
|
3378
|
+
# * `AWS` – Lists the AWS managed templates.
|
|
3379
|
+
# @return [String]
|
|
3380
|
+
#
|
|
3141
3381
|
# @see http://docs.aws.amazon.com/goto/WebAPI/network-security-manager-2025-10-30/ListTemplatesInput AWS API Documentation
|
|
3142
3382
|
#
|
|
3143
3383
|
class ListTemplatesInput < Struct.new(
|
|
3144
3384
|
:max_results,
|
|
3145
3385
|
:next_token,
|
|
3146
|
-
:status
|
|
3386
|
+
:status,
|
|
3387
|
+
:template_owner)
|
|
3147
3388
|
SENSITIVE = []
|
|
3148
3389
|
include Aws::Structure
|
|
3149
3390
|
end
|
|
@@ -3240,8 +3481,8 @@ module Aws::NetworkSecurityManager
|
|
|
3240
3481
|
#
|
|
3241
3482
|
# @!attribute [rw] resources_clean_up
|
|
3242
3483
|
# Specifies whether AWS Network Security Manager automatically removes
|
|
3243
|
-
# the resources it created when they are no longer needed.
|
|
3244
|
-
# `
|
|
3484
|
+
# the resources it created when they are no longer needed. This member
|
|
3485
|
+
# is required, and the only supported value is `true`.
|
|
3245
3486
|
# @return [Boolean]
|
|
3246
3487
|
#
|
|
3247
3488
|
# @!attribute [rw] waf_config
|
|
@@ -3249,12 +3490,18 @@ module Aws::NetworkSecurityManager
|
|
|
3249
3490
|
# policies.
|
|
3250
3491
|
# @return [Types::WafConfig]
|
|
3251
3492
|
#
|
|
3493
|
+
# @!attribute [rw] igw_firewall_config
|
|
3494
|
+
# Policy settings for Network Firewall automated internet firewall
|
|
3495
|
+
# policies. Specify these settings only for this policy type.
|
|
3496
|
+
# @return [Types::IgwFirewallConfig]
|
|
3497
|
+
#
|
|
3252
3498
|
# @see http://docs.aws.amazon.com/goto/WebAPI/network-security-manager-2025-10-30/PolicyConfiguration AWS API Documentation
|
|
3253
3499
|
#
|
|
3254
3500
|
class PolicyConfiguration < Struct.new(
|
|
3255
3501
|
:remediation_enabled,
|
|
3256
3502
|
:resources_clean_up,
|
|
3257
|
-
:waf_config
|
|
3503
|
+
:waf_config,
|
|
3504
|
+
:igw_firewall_config)
|
|
3258
3505
|
SENSITIVE = []
|
|
3259
3506
|
include Aws::Structure
|
|
3260
3507
|
end
|
|
@@ -3441,6 +3688,71 @@ module Aws::NetworkSecurityManager
|
|
|
3441
3688
|
include Aws::Structure
|
|
3442
3689
|
end
|
|
3443
3690
|
|
|
3691
|
+
# Describes how an AWS Network Security Manager entity covers a
|
|
3692
|
+
# protected resource.
|
|
3693
|
+
#
|
|
3694
|
+
# @!attribute [rw] resource_arn
|
|
3695
|
+
# The Amazon Resource Name (ARN) of the protected resource.
|
|
3696
|
+
# @return [String]
|
|
3697
|
+
#
|
|
3698
|
+
# @!attribute [rw] entity_type
|
|
3699
|
+
# The type of the entity that covers the resource, such as `Policy`.
|
|
3700
|
+
# @return [String]
|
|
3701
|
+
#
|
|
3702
|
+
# @!attribute [rw] entity_arn
|
|
3703
|
+
# The Amazon Resource Name (ARN) of the entity that covers the
|
|
3704
|
+
# resource.
|
|
3705
|
+
# @return [String]
|
|
3706
|
+
#
|
|
3707
|
+
# @!attribute [rw] resource_owner_account_id
|
|
3708
|
+
# The AWS account ID that owns the protected resource. This can differ
|
|
3709
|
+
# from the account that owns the entity.
|
|
3710
|
+
# @return [String]
|
|
3711
|
+
#
|
|
3712
|
+
# @!attribute [rw] resource_type
|
|
3713
|
+
# The type of the protected resource, in AWS CloudFormation format.
|
|
3714
|
+
# @return [String]
|
|
3715
|
+
#
|
|
3716
|
+
# @!attribute [rw] firewall_type
|
|
3717
|
+
# The firewall type of the policy that covers the resource. This is
|
|
3718
|
+
# present when `entityType` is `Policy`.
|
|
3719
|
+
# @return [String]
|
|
3720
|
+
#
|
|
3721
|
+
# @!attribute [rw] coverage_status
|
|
3722
|
+
# Specifies whether the entity contributes to the effective
|
|
3723
|
+
# configuration of the resource for its firewall type. For firewall
|
|
3724
|
+
# types that combine policies, such as AWS WAF and AWS Shield
|
|
3725
|
+
# Advanced, every policy that covers the resource is `IN_EFFECT`. For
|
|
3726
|
+
# firewall types that apply a single policy, only the highest-priority
|
|
3727
|
+
# policy is `IN_EFFECT` and the others are `SUPERSEDED`.
|
|
3728
|
+
# @return [String]
|
|
3729
|
+
#
|
|
3730
|
+
# @!attribute [rw] deployment_arns
|
|
3731
|
+
# The Amazon Resource Names (ARNs) of the deployments through which
|
|
3732
|
+
# the entity covers the resource.
|
|
3733
|
+
# @return [Array<String>]
|
|
3734
|
+
#
|
|
3735
|
+
# @!attribute [rw] updated_at
|
|
3736
|
+
# The time when AWS Network Security Manager last evaluated the
|
|
3737
|
+
# coverage.
|
|
3738
|
+
# @return [Time]
|
|
3739
|
+
#
|
|
3740
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-security-manager-2025-10-30/ResourceCoverageSummary AWS API Documentation
|
|
3741
|
+
#
|
|
3742
|
+
class ResourceCoverageSummary < Struct.new(
|
|
3743
|
+
:resource_arn,
|
|
3744
|
+
:entity_type,
|
|
3745
|
+
:entity_arn,
|
|
3746
|
+
:resource_owner_account_id,
|
|
3747
|
+
:resource_type,
|
|
3748
|
+
:firewall_type,
|
|
3749
|
+
:coverage_status,
|
|
3750
|
+
:deployment_arns,
|
|
3751
|
+
:updated_at)
|
|
3752
|
+
SENSITIVE = []
|
|
3753
|
+
include Aws::Structure
|
|
3754
|
+
end
|
|
3755
|
+
|
|
3444
3756
|
# A leaf condition that matches resources by tag or by
|
|
3445
3757
|
# resource-type-specific configuration.
|
|
3446
3758
|
#
|
|
@@ -3777,6 +4089,15 @@ module Aws::NetworkSecurityManager
|
|
|
3777
4089
|
# The name of the scope.
|
|
3778
4090
|
# @return [String]
|
|
3779
4091
|
#
|
|
4092
|
+
# @!attribute [rw] specialized_scope_type
|
|
4093
|
+
# The specialized type of the scope, if the scope is built for one
|
|
4094
|
+
# specific purpose. A scope with no `specializedScopeType` is a
|
|
4095
|
+
# standard scope that you can associate with a deployment. A
|
|
4096
|
+
# specialized scope can be used only for the purpose that its type
|
|
4097
|
+
# defines and can't be associated with a deployment. This value is
|
|
4098
|
+
# set when the scope is created and can't be changed.
|
|
4099
|
+
# @return [String]
|
|
4100
|
+
#
|
|
3780
4101
|
# @!attribute [rw] status
|
|
3781
4102
|
# The current status of the resource: `DRAFT` (unpublished, editable),
|
|
3782
4103
|
# `ACTIVE` (published, in use), or `DISABLED` (deactivated; changes
|
|
@@ -3802,6 +4123,7 @@ module Aws::NetworkSecurityManager
|
|
|
3802
4123
|
:scope_id,
|
|
3803
4124
|
:scope_arn,
|
|
3804
4125
|
:scope_name,
|
|
4126
|
+
:specialized_scope_type,
|
|
3805
4127
|
:status,
|
|
3806
4128
|
:version,
|
|
3807
4129
|
:has_published_version,
|
|
@@ -3862,6 +4184,60 @@ module Aws::NetworkSecurityManager
|
|
|
3862
4184
|
include Aws::Structure
|
|
3863
4185
|
end
|
|
3864
4186
|
|
|
4187
|
+
# An override that applies a connectivity treatment to the subnets that
|
|
4188
|
+
# a scope selects, instead of the policy's `defaultSubnetConnectivity`.
|
|
4189
|
+
#
|
|
4190
|
+
# @!attribute [rw] connectivity_type
|
|
4191
|
+
# The connectivity treatment to apply to the selected subnets. You
|
|
4192
|
+
# select both the override value as well as the subnets they apply to.
|
|
4193
|
+
# The Network Firewall automated internet firewall applies the
|
|
4194
|
+
# override value to the specified subnets, and applies the default
|
|
4195
|
+
# connectivity to the rest of the subnets. Valid values:
|
|
4196
|
+
#
|
|
4197
|
+
# * `flexible` – Sets the connectivity for each network interface in
|
|
4198
|
+
# the subnet based on whether it is associated with a public IP
|
|
4199
|
+
# address. A network interface with a public IP address gets
|
|
4200
|
+
# bidirectional internet connectivity. A network interface without a
|
|
4201
|
+
# public IP address gets outbound-only connectivity. All traffic is
|
|
4202
|
+
# inspected against your firewall rules.
|
|
4203
|
+
#
|
|
4204
|
+
# * `bidirectional` – Provides bidirectional internet connectivity to
|
|
4205
|
+
# every network interface that has a public IP association. Any
|
|
4206
|
+
# network interface without a public IP cannot communicate with the
|
|
4207
|
+
# internet unless a NAT device is explicitly inserted in the path.
|
|
4208
|
+
# All inbound and outbound traffic is inspected against your
|
|
4209
|
+
# firewall rules.
|
|
4210
|
+
#
|
|
4211
|
+
# * `outbound-only` – Provides egress-only connectivity for all
|
|
4212
|
+
# network interfaces in the subnet. All outbound traffic and inbound
|
|
4213
|
+
# responses are inspected against your firewall rules. Unsolicited
|
|
4214
|
+
# inbound connections are dropped. For IPv4 traffic, the Network
|
|
4215
|
+
# Firewall automated internet firewall performs NAT.
|
|
4216
|
+
#
|
|
4217
|
+
# * `exclude` – The Network Firewall automated internet firewall
|
|
4218
|
+
# doesn't inspect traffic for the selected subnets. The subnets
|
|
4219
|
+
# bypass the firewall entirely, and their traffic passes directly
|
|
4220
|
+
# through the internet gateway. You can specify this value only in
|
|
4221
|
+
# an override, not as the `defaultSubnetConnectivity`.
|
|
4222
|
+
# @return [String]
|
|
4223
|
+
#
|
|
4224
|
+
# @!attribute [rw] scopes
|
|
4225
|
+
# A list that contains the Amazon Resource Name (ARN) of the scope
|
|
4226
|
+
# that selects the subnets to override. The list must contain exactly
|
|
4227
|
+
# one scope ARN. The deployment determines which accounts are in
|
|
4228
|
+
# scope, and the referenced scope selects subnets within those
|
|
4229
|
+
# accounts.
|
|
4230
|
+
# @return [Array<String>]
|
|
4231
|
+
#
|
|
4232
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-security-manager-2025-10-30/SubnetConnectivityOverride AWS API Documentation
|
|
4233
|
+
#
|
|
4234
|
+
class SubnetConnectivityOverride < Struct.new(
|
|
4235
|
+
:connectivity_type,
|
|
4236
|
+
:scopes)
|
|
4237
|
+
SENSITIVE = []
|
|
4238
|
+
include Aws::Structure
|
|
4239
|
+
end
|
|
4240
|
+
|
|
3865
4241
|
# The request violates a tag policy that is in effect for the account or
|
|
3866
4242
|
# organization.
|
|
3867
4243
|
#
|
|
@@ -3942,6 +4318,14 @@ module Aws::NetworkSecurityManager
|
|
|
3942
4318
|
# The name of the template.
|
|
3943
4319
|
# @return [String]
|
|
3944
4320
|
#
|
|
4321
|
+
# @!attribute [rw] template_owner
|
|
4322
|
+
# The owner of the template. Valid values:
|
|
4323
|
+
#
|
|
4324
|
+
# * `CUSTOMER` – The template is in your account.
|
|
4325
|
+
#
|
|
4326
|
+
# * `AWS` – The template is an AWS managed template.
|
|
4327
|
+
# @return [String]
|
|
4328
|
+
#
|
|
3945
4329
|
# @!attribute [rw] status
|
|
3946
4330
|
# The current status of the resource: `DRAFT` (unpublished, editable)
|
|
3947
4331
|
# or `ACTIVE` (published, in use).
|
|
@@ -3970,6 +4354,7 @@ module Aws::NetworkSecurityManager
|
|
|
3970
4354
|
:template_id,
|
|
3971
4355
|
:template_arn,
|
|
3972
4356
|
:template_name,
|
|
4357
|
+
:template_owner,
|
|
3973
4358
|
:status,
|
|
3974
4359
|
:version,
|
|
3975
4360
|
:has_published_version,
|
|
@@ -4540,6 +4925,15 @@ module Aws::NetworkSecurityManager
|
|
|
4540
4925
|
# scope.
|
|
4541
4926
|
# @return [Types::ScopeConfiguration]
|
|
4542
4927
|
#
|
|
4928
|
+
# @!attribute [rw] specialized_scope_type
|
|
4929
|
+
# The specialized type of the scope, if the scope is built for one
|
|
4930
|
+
# specific purpose. A scope with no `specializedScopeType` is a
|
|
4931
|
+
# standard scope that you can associate with a deployment. A
|
|
4932
|
+
# specialized scope can be used only for the purpose that its type
|
|
4933
|
+
# defines and can't be associated with a deployment. This value is
|
|
4934
|
+
# set when the scope is created and can't be changed.
|
|
4935
|
+
# @return [String]
|
|
4936
|
+
#
|
|
4543
4937
|
# @!attribute [rw] status
|
|
4544
4938
|
# The current status of the resource: `DRAFT` (unpublished, editable)
|
|
4545
4939
|
# or `ACTIVE` (published, in use).
|
|
@@ -4575,6 +4969,7 @@ module Aws::NetworkSecurityManager
|
|
|
4575
4969
|
:scope_name,
|
|
4576
4970
|
:scope_description,
|
|
4577
4971
|
:scope_configuration,
|
|
4972
|
+
:specialized_scope_type,
|
|
4578
4973
|
:status,
|
|
4579
4974
|
:version,
|
|
4580
4975
|
:update_token,
|