@aws-sdk/client-network-firewall 3.1165.0 → 3.1167.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.
- package/README.md +74 -0
- package/dist-cjs/index.js +587 -54
- package/dist-es/NetworkFirewall.js +12 -0
- package/dist-es/commands/CreateFirewallPolicyV2Command.js +4 -0
- package/dist-es/commands/DeleteFirewallPolicyV2Command.js +4 -0
- package/dist-es/commands/DescribeFirewallPolicyV2Command.js +4 -0
- package/dist-es/commands/ListFirewallPoliciesV2Command.js +4 -0
- package/dist-es/commands/UpdateFirewallPolicyV2Command.js +4 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +284 -11
- package/dist-es/pagination/ListFirewallPoliciesV2Paginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +237 -42
- package/dist-types/NetworkFirewall.d.ts +45 -0
- package/dist-types/NetworkFirewallClient.d.ts +7 -2
- package/dist-types/commands/CreateFirewallPolicyV2Command.d.ts +289 -0
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +92 -2
- package/dist-types/commands/DeleteFirewallPolicyV2Command.d.ts +134 -0
- package/dist-types/commands/DeleteRuleGroupCommand.d.ts +2 -2
- package/dist-types/commands/DescribeFirewallPolicyV2Command.d.ts +270 -0
- package/dist-types/commands/DescribeRuleGroupCommand.d.ts +93 -2
- package/dist-types/commands/DescribeRuleGroupMetadataCommand.d.ts +2 -2
- package/dist-types/commands/DescribeRuleGroupSummaryCommand.d.ts +1 -1
- package/dist-types/commands/ListFirewallPoliciesV2Command.d.ts +101 -0
- package/dist-types/commands/ListRuleGroupsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFirewallPolicyV2Command.d.ts +283 -0
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +92 -2
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +362 -25
- package/dist-types/models/models_0.d.ts +1098 -265
- package/dist-types/pagination/ListFirewallPoliciesV2Paginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +28 -0
- package/dist-types/ts3.4/NetworkFirewall.d.ts +95 -0
- package/dist-types/ts3.4/NetworkFirewallClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateFirewallPolicyV2Command.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteFirewallPolicyV2Command.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeFirewallPolicyV2Command.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListFirewallPoliciesV2Command.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateFirewallPolicyV2Command.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +295 -13
- package/dist-types/ts3.4/models/models_0.d.ts +171 -22
- package/dist-types/ts3.4/pagination/ListFirewallPoliciesV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +28 -0
- package/package.json +4 -4
|
@@ -8,6 +8,7 @@ import { type AttachRuleGroupsToProxyConfigurationCommandInput, type AttachRuleG
|
|
|
8
8
|
import { type CreateContainerAssociationCommandInput, type CreateContainerAssociationCommandOutput } from "./commands/CreateContainerAssociationCommand";
|
|
9
9
|
import { type CreateFirewallCommandInput, type CreateFirewallCommandOutput } from "./commands/CreateFirewallCommand";
|
|
10
10
|
import { type CreateFirewallPolicyCommandInput, type CreateFirewallPolicyCommandOutput } from "./commands/CreateFirewallPolicyCommand";
|
|
11
|
+
import { type CreateFirewallPolicyV2CommandInput, type CreateFirewallPolicyV2CommandOutput } from "./commands/CreateFirewallPolicyV2Command";
|
|
11
12
|
import { type CreateProxyCommandInput, type CreateProxyCommandOutput } from "./commands/CreateProxyCommand";
|
|
12
13
|
import { type CreateProxyConfigurationCommandInput, type CreateProxyConfigurationCommandOutput } from "./commands/CreateProxyConfigurationCommand";
|
|
13
14
|
import { type CreateProxyRuleGroupCommandInput, type CreateProxyRuleGroupCommandOutput } from "./commands/CreateProxyRuleGroupCommand";
|
|
@@ -18,6 +19,7 @@ import { type CreateVpcEndpointAssociationCommandInput, type CreateVpcEndpointAs
|
|
|
18
19
|
import { type DeleteContainerAssociationCommandInput, type DeleteContainerAssociationCommandOutput } from "./commands/DeleteContainerAssociationCommand";
|
|
19
20
|
import { type DeleteFirewallCommandInput, type DeleteFirewallCommandOutput } from "./commands/DeleteFirewallCommand";
|
|
20
21
|
import { type DeleteFirewallPolicyCommandInput, type DeleteFirewallPolicyCommandOutput } from "./commands/DeleteFirewallPolicyCommand";
|
|
22
|
+
import { type DeleteFirewallPolicyV2CommandInput, type DeleteFirewallPolicyV2CommandOutput } from "./commands/DeleteFirewallPolicyV2Command";
|
|
21
23
|
import { type DeleteNetworkFirewallTransitGatewayAttachmentCommandInput, type DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput } from "./commands/DeleteNetworkFirewallTransitGatewayAttachmentCommand";
|
|
22
24
|
import { type DeleteProxyCommandInput, type DeleteProxyCommandOutput } from "./commands/DeleteProxyCommand";
|
|
23
25
|
import { type DeleteProxyConfigurationCommandInput, type DeleteProxyConfigurationCommandOutput } from "./commands/DeleteProxyConfigurationCommand";
|
|
@@ -31,6 +33,7 @@ import { type DescribeContainerAssociationCommandInput, type DescribeContainerAs
|
|
|
31
33
|
import { type DescribeFirewallCommandInput, type DescribeFirewallCommandOutput } from "./commands/DescribeFirewallCommand";
|
|
32
34
|
import { type DescribeFirewallMetadataCommandInput, type DescribeFirewallMetadataCommandOutput } from "./commands/DescribeFirewallMetadataCommand";
|
|
33
35
|
import { type DescribeFirewallPolicyCommandInput, type DescribeFirewallPolicyCommandOutput } from "./commands/DescribeFirewallPolicyCommand";
|
|
36
|
+
import { type DescribeFirewallPolicyV2CommandInput, type DescribeFirewallPolicyV2CommandOutput } from "./commands/DescribeFirewallPolicyV2Command";
|
|
34
37
|
import { type DescribeFlowOperationCommandInput, type DescribeFlowOperationCommandOutput } from "./commands/DescribeFlowOperationCommand";
|
|
35
38
|
import { type DescribeLoggingConfigurationCommandInput, type DescribeLoggingConfigurationCommandOutput } from "./commands/DescribeLoggingConfigurationCommand";
|
|
36
39
|
import { type DescribeProxyCommandInput, type DescribeProxyCommandOutput } from "./commands/DescribeProxyCommand";
|
|
@@ -50,6 +53,7 @@ import { type GetAnalysisReportResultsCommandInput, type GetAnalysisReportResult
|
|
|
50
53
|
import { type ListAnalysisReportsCommandInput, type ListAnalysisReportsCommandOutput } from "./commands/ListAnalysisReportsCommand";
|
|
51
54
|
import { type ListContainerAssociationsCommandInput, type ListContainerAssociationsCommandOutput } from "./commands/ListContainerAssociationsCommand";
|
|
52
55
|
import { type ListFirewallPoliciesCommandInput, type ListFirewallPoliciesCommandOutput } from "./commands/ListFirewallPoliciesCommand";
|
|
56
|
+
import { type ListFirewallPoliciesV2CommandInput, type ListFirewallPoliciesV2CommandOutput } from "./commands/ListFirewallPoliciesV2Command";
|
|
53
57
|
import { type ListFirewallsCommandInput, type ListFirewallsCommandOutput } from "./commands/ListFirewallsCommand";
|
|
54
58
|
import { type ListFlowOperationResultsCommandInput, type ListFlowOperationResultsCommandOutput } from "./commands/ListFlowOperationResultsCommand";
|
|
55
59
|
import { type ListFlowOperationsCommandInput, type ListFlowOperationsCommandOutput } from "./commands/ListFlowOperationsCommand";
|
|
@@ -75,6 +79,7 @@ import { type UpdateFirewallDescriptionCommandInput, type UpdateFirewallDescript
|
|
|
75
79
|
import { type UpdateFirewallEncryptionConfigurationCommandInput, type UpdateFirewallEncryptionConfigurationCommandOutput } from "./commands/UpdateFirewallEncryptionConfigurationCommand";
|
|
76
80
|
import { type UpdateFirewallPolicyChangeProtectionCommandInput, type UpdateFirewallPolicyChangeProtectionCommandOutput } from "./commands/UpdateFirewallPolicyChangeProtectionCommand";
|
|
77
81
|
import { type UpdateFirewallPolicyCommandInput, type UpdateFirewallPolicyCommandOutput } from "./commands/UpdateFirewallPolicyCommand";
|
|
82
|
+
import { type UpdateFirewallPolicyV2CommandInput, type UpdateFirewallPolicyV2CommandOutput } from "./commands/UpdateFirewallPolicyV2Command";
|
|
78
83
|
import { type UpdateLoggingConfigurationCommandInput, type UpdateLoggingConfigurationCommandOutput } from "./commands/UpdateLoggingConfigurationCommand";
|
|
79
84
|
import { type UpdateProxyCommandInput, type UpdateProxyCommandOutput } from "./commands/UpdateProxyCommand";
|
|
80
85
|
import { type UpdateProxyConfigurationCommandInput, type UpdateProxyConfigurationCommandOutput } from "./commands/UpdateProxyConfigurationCommand";
|
|
@@ -141,6 +146,12 @@ export interface NetworkFirewall {
|
|
|
141
146
|
createFirewallPolicy(args: CreateFirewallPolicyCommandInput, options?: NetworkFirewallRequestOptions): Promise<CreateFirewallPolicyCommandOutput>;
|
|
142
147
|
createFirewallPolicy(args: CreateFirewallPolicyCommandInput, cb: (err: any, data?: CreateFirewallPolicyCommandOutput) => void): void;
|
|
143
148
|
createFirewallPolicy(args: CreateFirewallPolicyCommandInput, options: NetworkFirewallRequestOptions, cb: (err: any, data?: CreateFirewallPolicyCommandOutput) => void): void;
|
|
149
|
+
/**
|
|
150
|
+
* @see {@link CreateFirewallPolicyV2Command}
|
|
151
|
+
*/
|
|
152
|
+
createFirewallPolicyV2(args: CreateFirewallPolicyV2CommandInput, options?: NetworkFirewallRequestOptions): Promise<CreateFirewallPolicyV2CommandOutput>;
|
|
153
|
+
createFirewallPolicyV2(args: CreateFirewallPolicyV2CommandInput, cb: (err: any, data?: CreateFirewallPolicyV2CommandOutput) => void): void;
|
|
154
|
+
createFirewallPolicyV2(args: CreateFirewallPolicyV2CommandInput, options: NetworkFirewallRequestOptions, cb: (err: any, data?: CreateFirewallPolicyV2CommandOutput) => void): void;
|
|
144
155
|
/**
|
|
145
156
|
* @see {@link CreateProxyCommand}
|
|
146
157
|
*/
|
|
@@ -204,6 +215,13 @@ export interface NetworkFirewall {
|
|
|
204
215
|
deleteFirewallPolicy(args: DeleteFirewallPolicyCommandInput, options?: NetworkFirewallRequestOptions): Promise<DeleteFirewallPolicyCommandOutput>;
|
|
205
216
|
deleteFirewallPolicy(args: DeleteFirewallPolicyCommandInput, cb: (err: any, data?: DeleteFirewallPolicyCommandOutput) => void): void;
|
|
206
217
|
deleteFirewallPolicy(args: DeleteFirewallPolicyCommandInput, options: NetworkFirewallRequestOptions, cb: (err: any, data?: DeleteFirewallPolicyCommandOutput) => void): void;
|
|
218
|
+
/**
|
|
219
|
+
* @see {@link DeleteFirewallPolicyV2Command}
|
|
220
|
+
*/
|
|
221
|
+
deleteFirewallPolicyV2(): Promise<DeleteFirewallPolicyV2CommandOutput>;
|
|
222
|
+
deleteFirewallPolicyV2(args: DeleteFirewallPolicyV2CommandInput, options?: NetworkFirewallRequestOptions): Promise<DeleteFirewallPolicyV2CommandOutput>;
|
|
223
|
+
deleteFirewallPolicyV2(args: DeleteFirewallPolicyV2CommandInput, cb: (err: any, data?: DeleteFirewallPolicyV2CommandOutput) => void): void;
|
|
224
|
+
deleteFirewallPolicyV2(args: DeleteFirewallPolicyV2CommandInput, options: NetworkFirewallRequestOptions, cb: (err: any, data?: DeleteFirewallPolicyV2CommandOutput) => void): void;
|
|
207
225
|
/**
|
|
208
226
|
* @see {@link DeleteNetworkFirewallTransitGatewayAttachmentCommand}
|
|
209
227
|
*/
|
|
@@ -290,6 +308,13 @@ export interface NetworkFirewall {
|
|
|
290
308
|
describeFirewallPolicy(args: DescribeFirewallPolicyCommandInput, options?: NetworkFirewallRequestOptions): Promise<DescribeFirewallPolicyCommandOutput>;
|
|
291
309
|
describeFirewallPolicy(args: DescribeFirewallPolicyCommandInput, cb: (err: any, data?: DescribeFirewallPolicyCommandOutput) => void): void;
|
|
292
310
|
describeFirewallPolicy(args: DescribeFirewallPolicyCommandInput, options: NetworkFirewallRequestOptions, cb: (err: any, data?: DescribeFirewallPolicyCommandOutput) => void): void;
|
|
311
|
+
/**
|
|
312
|
+
* @see {@link DescribeFirewallPolicyV2Command}
|
|
313
|
+
*/
|
|
314
|
+
describeFirewallPolicyV2(): Promise<DescribeFirewallPolicyV2CommandOutput>;
|
|
315
|
+
describeFirewallPolicyV2(args: DescribeFirewallPolicyV2CommandInput, options?: NetworkFirewallRequestOptions): Promise<DescribeFirewallPolicyV2CommandOutput>;
|
|
316
|
+
describeFirewallPolicyV2(args: DescribeFirewallPolicyV2CommandInput, cb: (err: any, data?: DescribeFirewallPolicyV2CommandOutput) => void): void;
|
|
317
|
+
describeFirewallPolicyV2(args: DescribeFirewallPolicyV2CommandInput, options: NetworkFirewallRequestOptions, cb: (err: any, data?: DescribeFirewallPolicyV2CommandOutput) => void): void;
|
|
293
318
|
/**
|
|
294
319
|
* @see {@link DescribeFlowOperationCommand}
|
|
295
320
|
*/
|
|
@@ -415,6 +440,13 @@ export interface NetworkFirewall {
|
|
|
415
440
|
listFirewallPolicies(args: ListFirewallPoliciesCommandInput, options?: NetworkFirewallRequestOptions): Promise<ListFirewallPoliciesCommandOutput>;
|
|
416
441
|
listFirewallPolicies(args: ListFirewallPoliciesCommandInput, cb: (err: any, data?: ListFirewallPoliciesCommandOutput) => void): void;
|
|
417
442
|
listFirewallPolicies(args: ListFirewallPoliciesCommandInput, options: NetworkFirewallRequestOptions, cb: (err: any, data?: ListFirewallPoliciesCommandOutput) => void): void;
|
|
443
|
+
/**
|
|
444
|
+
* @see {@link ListFirewallPoliciesV2Command}
|
|
445
|
+
*/
|
|
446
|
+
listFirewallPoliciesV2(): Promise<ListFirewallPoliciesV2CommandOutput>;
|
|
447
|
+
listFirewallPoliciesV2(args: ListFirewallPoliciesV2CommandInput, options?: NetworkFirewallRequestOptions): Promise<ListFirewallPoliciesV2CommandOutput>;
|
|
448
|
+
listFirewallPoliciesV2(args: ListFirewallPoliciesV2CommandInput, cb: (err: any, data?: ListFirewallPoliciesV2CommandOutput) => void): void;
|
|
449
|
+
listFirewallPoliciesV2(args: ListFirewallPoliciesV2CommandInput, options: NetworkFirewallRequestOptions, cb: (err: any, data?: ListFirewallPoliciesV2CommandOutput) => void): void;
|
|
418
450
|
/**
|
|
419
451
|
* @see {@link ListFirewallsCommand}
|
|
420
452
|
*/
|
|
@@ -575,6 +607,12 @@ export interface NetworkFirewall {
|
|
|
575
607
|
updateFirewallPolicyChangeProtection(args: UpdateFirewallPolicyChangeProtectionCommandInput, options?: NetworkFirewallRequestOptions): Promise<UpdateFirewallPolicyChangeProtectionCommandOutput>;
|
|
576
608
|
updateFirewallPolicyChangeProtection(args: UpdateFirewallPolicyChangeProtectionCommandInput, cb: (err: any, data?: UpdateFirewallPolicyChangeProtectionCommandOutput) => void): void;
|
|
577
609
|
updateFirewallPolicyChangeProtection(args: UpdateFirewallPolicyChangeProtectionCommandInput, options: NetworkFirewallRequestOptions, cb: (err: any, data?: UpdateFirewallPolicyChangeProtectionCommandOutput) => void): void;
|
|
610
|
+
/**
|
|
611
|
+
* @see {@link UpdateFirewallPolicyV2Command}
|
|
612
|
+
*/
|
|
613
|
+
updateFirewallPolicyV2(args: UpdateFirewallPolicyV2CommandInput, options?: NetworkFirewallRequestOptions): Promise<UpdateFirewallPolicyV2CommandOutput>;
|
|
614
|
+
updateFirewallPolicyV2(args: UpdateFirewallPolicyV2CommandInput, cb: (err: any, data?: UpdateFirewallPolicyV2CommandOutput) => void): void;
|
|
615
|
+
updateFirewallPolicyV2(args: UpdateFirewallPolicyV2CommandInput, options: NetworkFirewallRequestOptions, cb: (err: any, data?: UpdateFirewallPolicyV2CommandOutput) => void): void;
|
|
578
616
|
/**
|
|
579
617
|
* @see {@link UpdateLoggingConfigurationCommand}
|
|
580
618
|
*/
|
|
@@ -665,6 +703,13 @@ export interface NetworkFirewall {
|
|
|
665
703
|
* @returns AsyncIterable of {@link ListFirewallPoliciesCommandOutput}.
|
|
666
704
|
*/
|
|
667
705
|
paginateListFirewallPolicies(args?: ListFirewallPoliciesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFirewallPoliciesCommandOutput>;
|
|
706
|
+
/**
|
|
707
|
+
* @see {@link ListFirewallPoliciesV2Command}
|
|
708
|
+
* @param args - command input.
|
|
709
|
+
* @param paginationConfig - optional pagination config.
|
|
710
|
+
* @returns AsyncIterable of {@link ListFirewallPoliciesV2CommandOutput}.
|
|
711
|
+
*/
|
|
712
|
+
paginateListFirewallPoliciesV2(args?: ListFirewallPoliciesV2CommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFirewallPoliciesV2CommandOutput>;
|
|
668
713
|
/**
|
|
669
714
|
* @see {@link ListFirewallsCommand}
|
|
670
715
|
* @param args - command input.
|
|
@@ -14,6 +14,7 @@ import type { AttachRuleGroupsToProxyConfigurationCommandInput, AttachRuleGroups
|
|
|
14
14
|
import type { CreateContainerAssociationCommandInput, CreateContainerAssociationCommandOutput } from "./commands/CreateContainerAssociationCommand";
|
|
15
15
|
import type { CreateFirewallCommandInput, CreateFirewallCommandOutput } from "./commands/CreateFirewallCommand";
|
|
16
16
|
import type { CreateFirewallPolicyCommandInput, CreateFirewallPolicyCommandOutput } from "./commands/CreateFirewallPolicyCommand";
|
|
17
|
+
import type { CreateFirewallPolicyV2CommandInput, CreateFirewallPolicyV2CommandOutput } from "./commands/CreateFirewallPolicyV2Command";
|
|
17
18
|
import type { CreateProxyCommandInput, CreateProxyCommandOutput } from "./commands/CreateProxyCommand";
|
|
18
19
|
import type { CreateProxyConfigurationCommandInput, CreateProxyConfigurationCommandOutput } from "./commands/CreateProxyConfigurationCommand";
|
|
19
20
|
import type { CreateProxyRuleGroupCommandInput, CreateProxyRuleGroupCommandOutput } from "./commands/CreateProxyRuleGroupCommand";
|
|
@@ -24,6 +25,7 @@ import type { CreateVpcEndpointAssociationCommandInput, CreateVpcEndpointAssocia
|
|
|
24
25
|
import type { DeleteContainerAssociationCommandInput, DeleteContainerAssociationCommandOutput } from "./commands/DeleteContainerAssociationCommand";
|
|
25
26
|
import type { DeleteFirewallCommandInput, DeleteFirewallCommandOutput } from "./commands/DeleteFirewallCommand";
|
|
26
27
|
import type { DeleteFirewallPolicyCommandInput, DeleteFirewallPolicyCommandOutput } from "./commands/DeleteFirewallPolicyCommand";
|
|
28
|
+
import type { DeleteFirewallPolicyV2CommandInput, DeleteFirewallPolicyV2CommandOutput } from "./commands/DeleteFirewallPolicyV2Command";
|
|
27
29
|
import type { DeleteNetworkFirewallTransitGatewayAttachmentCommandInput, DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput } from "./commands/DeleteNetworkFirewallTransitGatewayAttachmentCommand";
|
|
28
30
|
import type { DeleteProxyCommandInput, DeleteProxyCommandOutput } from "./commands/DeleteProxyCommand";
|
|
29
31
|
import type { DeleteProxyConfigurationCommandInput, DeleteProxyConfigurationCommandOutput } from "./commands/DeleteProxyConfigurationCommand";
|
|
@@ -37,6 +39,7 @@ import type { DescribeContainerAssociationCommandInput, DescribeContainerAssocia
|
|
|
37
39
|
import type { DescribeFirewallCommandInput, DescribeFirewallCommandOutput } from "./commands/DescribeFirewallCommand";
|
|
38
40
|
import type { DescribeFirewallMetadataCommandInput, DescribeFirewallMetadataCommandOutput } from "./commands/DescribeFirewallMetadataCommand";
|
|
39
41
|
import type { DescribeFirewallPolicyCommandInput, DescribeFirewallPolicyCommandOutput } from "./commands/DescribeFirewallPolicyCommand";
|
|
42
|
+
import type { DescribeFirewallPolicyV2CommandInput, DescribeFirewallPolicyV2CommandOutput } from "./commands/DescribeFirewallPolicyV2Command";
|
|
40
43
|
import type { DescribeFlowOperationCommandInput, DescribeFlowOperationCommandOutput } from "./commands/DescribeFlowOperationCommand";
|
|
41
44
|
import type { DescribeLoggingConfigurationCommandInput, DescribeLoggingConfigurationCommandOutput } from "./commands/DescribeLoggingConfigurationCommand";
|
|
42
45
|
import type { DescribeProxyCommandInput, DescribeProxyCommandOutput } from "./commands/DescribeProxyCommand";
|
|
@@ -56,6 +59,7 @@ import type { GetAnalysisReportResultsCommandInput, GetAnalysisReportResultsComm
|
|
|
56
59
|
import type { ListAnalysisReportsCommandInput, ListAnalysisReportsCommandOutput } from "./commands/ListAnalysisReportsCommand";
|
|
57
60
|
import type { ListContainerAssociationsCommandInput, ListContainerAssociationsCommandOutput } from "./commands/ListContainerAssociationsCommand";
|
|
58
61
|
import type { ListFirewallPoliciesCommandInput, ListFirewallPoliciesCommandOutput } from "./commands/ListFirewallPoliciesCommand";
|
|
62
|
+
import type { ListFirewallPoliciesV2CommandInput, ListFirewallPoliciesV2CommandOutput } from "./commands/ListFirewallPoliciesV2Command";
|
|
59
63
|
import type { ListFirewallsCommandInput, ListFirewallsCommandOutput } from "./commands/ListFirewallsCommand";
|
|
60
64
|
import type { ListFlowOperationResultsCommandInput, ListFlowOperationResultsCommandOutput } from "./commands/ListFlowOperationResultsCommand";
|
|
61
65
|
import type { ListFlowOperationsCommandInput, ListFlowOperationsCommandOutput } from "./commands/ListFlowOperationsCommand";
|
|
@@ -81,6 +85,7 @@ import type { UpdateFirewallDescriptionCommandInput, UpdateFirewallDescriptionCo
|
|
|
81
85
|
import type { UpdateFirewallEncryptionConfigurationCommandInput, UpdateFirewallEncryptionConfigurationCommandOutput } from "./commands/UpdateFirewallEncryptionConfigurationCommand";
|
|
82
86
|
import type { UpdateFirewallPolicyChangeProtectionCommandInput, UpdateFirewallPolicyChangeProtectionCommandOutput } from "./commands/UpdateFirewallPolicyChangeProtectionCommand";
|
|
83
87
|
import type { UpdateFirewallPolicyCommandInput, UpdateFirewallPolicyCommandOutput } from "./commands/UpdateFirewallPolicyCommand";
|
|
88
|
+
import type { UpdateFirewallPolicyV2CommandInput, UpdateFirewallPolicyV2CommandOutput } from "./commands/UpdateFirewallPolicyV2Command";
|
|
84
89
|
import type { UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput } from "./commands/UpdateLoggingConfigurationCommand";
|
|
85
90
|
import type { UpdateProxyCommandInput, UpdateProxyCommandOutput } from "./commands/UpdateProxyCommand";
|
|
86
91
|
import type { UpdateProxyConfigurationCommandInput, UpdateProxyConfigurationCommandOutput } from "./commands/UpdateProxyConfigurationCommand";
|
|
@@ -97,11 +102,11 @@ export { __Client };
|
|
|
97
102
|
/**
|
|
98
103
|
* @public
|
|
99
104
|
*/
|
|
100
|
-
export type ServiceInputTypes = AcceptNetworkFirewallTransitGatewayAttachmentCommandInput | AssociateAvailabilityZonesCommandInput | AssociateFirewallPolicyCommandInput | AssociateSubnetsCommandInput | AttachRuleGroupsToProxyConfigurationCommandInput | CreateContainerAssociationCommandInput | CreateFirewallCommandInput | CreateFirewallPolicyCommandInput | CreateProxyCommandInput | CreateProxyConfigurationCommandInput | CreateProxyRuleGroupCommandInput | CreateProxyRulesCommandInput | CreateRuleGroupCommandInput | CreateTLSInspectionConfigurationCommandInput | CreateVpcEndpointAssociationCommandInput | DeleteContainerAssociationCommandInput | DeleteFirewallCommandInput | DeleteFirewallPolicyCommandInput | DeleteNetworkFirewallTransitGatewayAttachmentCommandInput | DeleteProxyCommandInput | DeleteProxyConfigurationCommandInput | DeleteProxyRuleGroupCommandInput | DeleteProxyRulesCommandInput | DeleteResourcePolicyCommandInput | DeleteRuleGroupCommandInput | DeleteTLSInspectionConfigurationCommandInput | DeleteVpcEndpointAssociationCommandInput | DescribeContainerAssociationCommandInput | DescribeFirewallCommandInput | DescribeFirewallMetadataCommandInput | DescribeFirewallPolicyCommandInput | DescribeFlowOperationCommandInput | DescribeLoggingConfigurationCommandInput | DescribeProxyCommandInput | DescribeProxyConfigurationCommandInput | DescribeProxyRuleCommandInput | DescribeProxyRuleGroupCommandInput | DescribeResourcePolicyCommandInput | DescribeRuleGroupCommandInput | DescribeRuleGroupMetadataCommandInput | DescribeRuleGroupSummaryCommandInput | DescribeTLSInspectionConfigurationCommandInput | DescribeVpcEndpointAssociationCommandInput | DetachRuleGroupsFromProxyConfigurationCommandInput | DisassociateAvailabilityZonesCommandInput | DisassociateSubnetsCommandInput | GetAnalysisReportResultsCommandInput | ListAnalysisReportsCommandInput | ListContainerAssociationsCommandInput | ListFirewallPoliciesCommandInput | ListFirewallsCommandInput | ListFlowOperationResultsCommandInput | ListFlowOperationsCommandInput | ListProxiesCommandInput | ListProxyConfigurationsCommandInput | ListProxyRuleGroupsCommandInput | ListRuleGroupsCommandInput | ListTLSInspectionConfigurationsCommandInput | ListTagsForResourceCommandInput | ListVpcEndpointAssociationsCommandInput | PutResourcePolicyCommandInput | RejectNetworkFirewallTransitGatewayAttachmentCommandInput | StartAnalysisReportCommandInput | StartFlowCaptureCommandInput | StartFlowFlushCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAvailabilityZoneChangeProtectionCommandInput | UpdateContainerAssociationCommandInput | UpdateFirewallAnalysisSettingsCommandInput | UpdateFirewallDeleteProtectionCommandInput | UpdateFirewallDescriptionCommandInput | UpdateFirewallEncryptionConfigurationCommandInput | UpdateFirewallPolicyChangeProtectionCommandInput | UpdateFirewallPolicyCommandInput | UpdateLoggingConfigurationCommandInput | UpdateProxyCommandInput | UpdateProxyConfigurationCommandInput | UpdateProxyRuleCommandInput | UpdateProxyRuleGroupPrioritiesCommandInput | UpdateProxyRulePrioritiesCommandInput | UpdateProxySettingsCommandInput | UpdateRuleGroupCommandInput | UpdateSubnetChangeProtectionCommandInput | UpdateTLSInspectionConfigurationCommandInput;
|
|
105
|
+
export type ServiceInputTypes = AcceptNetworkFirewallTransitGatewayAttachmentCommandInput | AssociateAvailabilityZonesCommandInput | AssociateFirewallPolicyCommandInput | AssociateSubnetsCommandInput | AttachRuleGroupsToProxyConfigurationCommandInput | CreateContainerAssociationCommandInput | CreateFirewallCommandInput | CreateFirewallPolicyCommandInput | CreateFirewallPolicyV2CommandInput | CreateProxyCommandInput | CreateProxyConfigurationCommandInput | CreateProxyRuleGroupCommandInput | CreateProxyRulesCommandInput | CreateRuleGroupCommandInput | CreateTLSInspectionConfigurationCommandInput | CreateVpcEndpointAssociationCommandInput | DeleteContainerAssociationCommandInput | DeleteFirewallCommandInput | DeleteFirewallPolicyCommandInput | DeleteFirewallPolicyV2CommandInput | DeleteNetworkFirewallTransitGatewayAttachmentCommandInput | DeleteProxyCommandInput | DeleteProxyConfigurationCommandInput | DeleteProxyRuleGroupCommandInput | DeleteProxyRulesCommandInput | DeleteResourcePolicyCommandInput | DeleteRuleGroupCommandInput | DeleteTLSInspectionConfigurationCommandInput | DeleteVpcEndpointAssociationCommandInput | DescribeContainerAssociationCommandInput | DescribeFirewallCommandInput | DescribeFirewallMetadataCommandInput | DescribeFirewallPolicyCommandInput | DescribeFirewallPolicyV2CommandInput | DescribeFlowOperationCommandInput | DescribeLoggingConfigurationCommandInput | DescribeProxyCommandInput | DescribeProxyConfigurationCommandInput | DescribeProxyRuleCommandInput | DescribeProxyRuleGroupCommandInput | DescribeResourcePolicyCommandInput | DescribeRuleGroupCommandInput | DescribeRuleGroupMetadataCommandInput | DescribeRuleGroupSummaryCommandInput | DescribeTLSInspectionConfigurationCommandInput | DescribeVpcEndpointAssociationCommandInput | DetachRuleGroupsFromProxyConfigurationCommandInput | DisassociateAvailabilityZonesCommandInput | DisassociateSubnetsCommandInput | GetAnalysisReportResultsCommandInput | ListAnalysisReportsCommandInput | ListContainerAssociationsCommandInput | ListFirewallPoliciesCommandInput | ListFirewallPoliciesV2CommandInput | ListFirewallsCommandInput | ListFlowOperationResultsCommandInput | ListFlowOperationsCommandInput | ListProxiesCommandInput | ListProxyConfigurationsCommandInput | ListProxyRuleGroupsCommandInput | ListRuleGroupsCommandInput | ListTLSInspectionConfigurationsCommandInput | ListTagsForResourceCommandInput | ListVpcEndpointAssociationsCommandInput | PutResourcePolicyCommandInput | RejectNetworkFirewallTransitGatewayAttachmentCommandInput | StartAnalysisReportCommandInput | StartFlowCaptureCommandInput | StartFlowFlushCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAvailabilityZoneChangeProtectionCommandInput | UpdateContainerAssociationCommandInput | UpdateFirewallAnalysisSettingsCommandInput | UpdateFirewallDeleteProtectionCommandInput | UpdateFirewallDescriptionCommandInput | UpdateFirewallEncryptionConfigurationCommandInput | UpdateFirewallPolicyChangeProtectionCommandInput | UpdateFirewallPolicyCommandInput | UpdateFirewallPolicyV2CommandInput | UpdateLoggingConfigurationCommandInput | UpdateProxyCommandInput | UpdateProxyConfigurationCommandInput | UpdateProxyRuleCommandInput | UpdateProxyRuleGroupPrioritiesCommandInput | UpdateProxyRulePrioritiesCommandInput | UpdateProxySettingsCommandInput | UpdateRuleGroupCommandInput | UpdateSubnetChangeProtectionCommandInput | UpdateTLSInspectionConfigurationCommandInput;
|
|
101
106
|
/**
|
|
102
107
|
* @public
|
|
103
108
|
*/
|
|
104
|
-
export type ServiceOutputTypes = AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput | AssociateAvailabilityZonesCommandOutput | AssociateFirewallPolicyCommandOutput | AssociateSubnetsCommandOutput | AttachRuleGroupsToProxyConfigurationCommandOutput | CreateContainerAssociationCommandOutput | CreateFirewallCommandOutput | CreateFirewallPolicyCommandOutput | CreateProxyCommandOutput | CreateProxyConfigurationCommandOutput | CreateProxyRuleGroupCommandOutput | CreateProxyRulesCommandOutput | CreateRuleGroupCommandOutput | CreateTLSInspectionConfigurationCommandOutput | CreateVpcEndpointAssociationCommandOutput | DeleteContainerAssociationCommandOutput | DeleteFirewallCommandOutput | DeleteFirewallPolicyCommandOutput | DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput | DeleteProxyCommandOutput | DeleteProxyConfigurationCommandOutput | DeleteProxyRuleGroupCommandOutput | DeleteProxyRulesCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRuleGroupCommandOutput | DeleteTLSInspectionConfigurationCommandOutput | DeleteVpcEndpointAssociationCommandOutput | DescribeContainerAssociationCommandOutput | DescribeFirewallCommandOutput | DescribeFirewallMetadataCommandOutput | DescribeFirewallPolicyCommandOutput | DescribeFlowOperationCommandOutput | DescribeLoggingConfigurationCommandOutput | DescribeProxyCommandOutput | DescribeProxyConfigurationCommandOutput | DescribeProxyRuleCommandOutput | DescribeProxyRuleGroupCommandOutput | DescribeResourcePolicyCommandOutput | DescribeRuleGroupCommandOutput | DescribeRuleGroupMetadataCommandOutput | DescribeRuleGroupSummaryCommandOutput | DescribeTLSInspectionConfigurationCommandOutput | DescribeVpcEndpointAssociationCommandOutput | DetachRuleGroupsFromProxyConfigurationCommandOutput | DisassociateAvailabilityZonesCommandOutput | DisassociateSubnetsCommandOutput | GetAnalysisReportResultsCommandOutput | ListAnalysisReportsCommandOutput | ListContainerAssociationsCommandOutput | ListFirewallPoliciesCommandOutput | ListFirewallsCommandOutput | ListFlowOperationResultsCommandOutput | ListFlowOperationsCommandOutput | ListProxiesCommandOutput | ListProxyConfigurationsCommandOutput | ListProxyRuleGroupsCommandOutput | ListRuleGroupsCommandOutput | ListTLSInspectionConfigurationsCommandOutput | ListTagsForResourceCommandOutput | ListVpcEndpointAssociationsCommandOutput | PutResourcePolicyCommandOutput | RejectNetworkFirewallTransitGatewayAttachmentCommandOutput | StartAnalysisReportCommandOutput | StartFlowCaptureCommandOutput | StartFlowFlushCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAvailabilityZoneChangeProtectionCommandOutput | UpdateContainerAssociationCommandOutput | UpdateFirewallAnalysisSettingsCommandOutput | UpdateFirewallDeleteProtectionCommandOutput | UpdateFirewallDescriptionCommandOutput | UpdateFirewallEncryptionConfigurationCommandOutput | UpdateFirewallPolicyChangeProtectionCommandOutput | UpdateFirewallPolicyCommandOutput | UpdateLoggingConfigurationCommandOutput | UpdateProxyCommandOutput | UpdateProxyConfigurationCommandOutput | UpdateProxyRuleCommandOutput | UpdateProxyRuleGroupPrioritiesCommandOutput | UpdateProxyRulePrioritiesCommandOutput | UpdateProxySettingsCommandOutput | UpdateRuleGroupCommandOutput | UpdateSubnetChangeProtectionCommandOutput | UpdateTLSInspectionConfigurationCommandOutput;
|
|
109
|
+
export type ServiceOutputTypes = AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput | AssociateAvailabilityZonesCommandOutput | AssociateFirewallPolicyCommandOutput | AssociateSubnetsCommandOutput | AttachRuleGroupsToProxyConfigurationCommandOutput | CreateContainerAssociationCommandOutput | CreateFirewallCommandOutput | CreateFirewallPolicyCommandOutput | CreateFirewallPolicyV2CommandOutput | CreateProxyCommandOutput | CreateProxyConfigurationCommandOutput | CreateProxyRuleGroupCommandOutput | CreateProxyRulesCommandOutput | CreateRuleGroupCommandOutput | CreateTLSInspectionConfigurationCommandOutput | CreateVpcEndpointAssociationCommandOutput | DeleteContainerAssociationCommandOutput | DeleteFirewallCommandOutput | DeleteFirewallPolicyCommandOutput | DeleteFirewallPolicyV2CommandOutput | DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput | DeleteProxyCommandOutput | DeleteProxyConfigurationCommandOutput | DeleteProxyRuleGroupCommandOutput | DeleteProxyRulesCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRuleGroupCommandOutput | DeleteTLSInspectionConfigurationCommandOutput | DeleteVpcEndpointAssociationCommandOutput | DescribeContainerAssociationCommandOutput | DescribeFirewallCommandOutput | DescribeFirewallMetadataCommandOutput | DescribeFirewallPolicyCommandOutput | DescribeFirewallPolicyV2CommandOutput | DescribeFlowOperationCommandOutput | DescribeLoggingConfigurationCommandOutput | DescribeProxyCommandOutput | DescribeProxyConfigurationCommandOutput | DescribeProxyRuleCommandOutput | DescribeProxyRuleGroupCommandOutput | DescribeResourcePolicyCommandOutput | DescribeRuleGroupCommandOutput | DescribeRuleGroupMetadataCommandOutput | DescribeRuleGroupSummaryCommandOutput | DescribeTLSInspectionConfigurationCommandOutput | DescribeVpcEndpointAssociationCommandOutput | DetachRuleGroupsFromProxyConfigurationCommandOutput | DisassociateAvailabilityZonesCommandOutput | DisassociateSubnetsCommandOutput | GetAnalysisReportResultsCommandOutput | ListAnalysisReportsCommandOutput | ListContainerAssociationsCommandOutput | ListFirewallPoliciesCommandOutput | ListFirewallPoliciesV2CommandOutput | ListFirewallsCommandOutput | ListFlowOperationResultsCommandOutput | ListFlowOperationsCommandOutput | ListProxiesCommandOutput | ListProxyConfigurationsCommandOutput | ListProxyRuleGroupsCommandOutput | ListRuleGroupsCommandOutput | ListTLSInspectionConfigurationsCommandOutput | ListTagsForResourceCommandOutput | ListVpcEndpointAssociationsCommandOutput | PutResourcePolicyCommandOutput | RejectNetworkFirewallTransitGatewayAttachmentCommandOutput | StartAnalysisReportCommandOutput | StartFlowCaptureCommandOutput | StartFlowFlushCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAvailabilityZoneChangeProtectionCommandOutput | UpdateContainerAssociationCommandOutput | UpdateFirewallAnalysisSettingsCommandOutput | UpdateFirewallDeleteProtectionCommandOutput | UpdateFirewallDescriptionCommandOutput | UpdateFirewallEncryptionConfigurationCommandOutput | UpdateFirewallPolicyChangeProtectionCommandOutput | UpdateFirewallPolicyCommandOutput | UpdateFirewallPolicyV2CommandOutput | UpdateLoggingConfigurationCommandOutput | UpdateProxyCommandOutput | UpdateProxyConfigurationCommandOutput | UpdateProxyRuleCommandOutput | UpdateProxyRuleGroupPrioritiesCommandOutput | UpdateProxyRulePrioritiesCommandOutput | UpdateProxySettingsCommandOutput | UpdateRuleGroupCommandOutput | UpdateSubnetChangeProtectionCommandOutput | UpdateTLSInspectionConfigurationCommandOutput;
|
|
105
110
|
/**
|
|
106
111
|
* @public
|
|
107
112
|
*/
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateFirewallPolicyV2Request, CreateFirewallPolicyV2Response } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateFirewallPolicyV2Command}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateFirewallPolicyV2CommandInput extends CreateFirewallPolicyV2Request {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateFirewallPolicyV2Command}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateFirewallPolicyV2CommandOutput extends CreateFirewallPolicyV2Response, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateFirewallPolicyV2Command_base: {
|
|
22
|
+
new (input: CreateFirewallPolicyV2CommandInput): import("@smithy/core/client").CommandImpl<CreateFirewallPolicyV2CommandInput, CreateFirewallPolicyV2CommandOutput, import("..").NetworkFirewallClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateFirewallPolicyV2CommandInput): import("@smithy/core/client").CommandImpl<CreateFirewallPolicyV2CommandInput, CreateFirewallPolicyV2CommandOutput, import("..").NetworkFirewallClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Creates a Next Generation policy according to the specifications.</p>
|
|
28
|
+
* <p>A Next Generation policy defines the behavior of a firewall in a collection of firewall engine and IPS engine rule groups and other settings. You can use one firewall policy for multiple firewalls. For more information, see <a href="https://docs.aws.amazon.com/network-firewall/latest/developerguide/firewall-policies-v2.html">Next Generation policies</a> in the <i>Network Firewall Developer Guide</i>.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { NetworkFirewallClient, CreateFirewallPolicyV2Command } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
33
|
+
* // const { NetworkFirewallClient, CreateFirewallPolicyV2Command } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
34
|
+
* // import type { NetworkFirewallClientConfig } from "@aws-sdk/client-network-firewall";
|
|
35
|
+
* const config = {}; // type is NetworkFirewallClientConfig
|
|
36
|
+
* const client = new NetworkFirewallClient(config);
|
|
37
|
+
* const input = { // CreateFirewallPolicyV2Request
|
|
38
|
+
* FirewallPolicyV2Name: "STRING_VALUE", // required
|
|
39
|
+
* FirewallPolicyV2: { // FirewallPolicyV2
|
|
40
|
+
* FirewallRuleGroupEntries: [ // FirewallRuleGroupEntries
|
|
41
|
+
* { // FirewallRuleGroupEntry
|
|
42
|
+
* Priority: Number("int"),
|
|
43
|
+
* ResourceArn: "STRING_VALUE",
|
|
44
|
+
* InlineRuleGroup: { // FirewallRuleGroup
|
|
45
|
+
* RulesSource: { // FirewallRulesSource
|
|
46
|
+
* RulesString: "STRING_VALUE",
|
|
47
|
+
* FirewallRules: [ // FirewallRules
|
|
48
|
+
* { // FirewallRule
|
|
49
|
+
* Action: "ACCEPT" || "DROP" || "REJECT" || "REJECT_DST" || "REJECT_BOTH", // required
|
|
50
|
+
* ActionScope: "FLOW" || "TX" || "HOOK" || "PACKET", // required
|
|
51
|
+
* Hook: "TCP_ALL" || "TCP_FLOW_START" || "TCP_PRE_FLOW" || "TCP_PRE_STREAM" || "SCTP_ALL" || "SCTP_FLOW_START" || "SCTP_PRE_FLOW" || "SCTP_PRE_STREAM" || "IPV6_ALL" || "IPV6_FLOW_START" || "IPV6_PRE_FLOW" || "IPV6_PRE_STREAM" || "ICMPV6_ALL" || "ICMPV6_FLOW_START" || "ICMPV6_PRE_FLOW" || "ICMPV6_PRE_STREAM" || "UDP_ALL" || "UDP_FLOW_START" || "UDP_PRE_FLOW" || "UDP_PRE_STREAM" || "ICMP_ALL" || "ICMP_FLOW_START" || "ICMP_PRE_FLOW" || "ICMP_PRE_STREAM" || "ICMPV4_ALL" || "ICMPV4_FLOW_START" || "ICMPV4_PRE_FLOW" || "ICMPV4_PRE_STREAM" || "IP_ALL" || "IP_FLOW_START" || "IP_PRE_FLOW" || "IP_PRE_STREAM" || "IPV4_ALL" || "IPV4_FLOW_START" || "IPV4_PRE_FLOW" || "IPV4_PRE_STREAM" || "TLS_CLIENT_STARTED" || "TLS_CLIENT_HELLO" || "TLS_CLIENT_CERT" || "TLS_CLIENT_DATA" || "TLS_CLIENT_FINISHED" || "TLS_SERVER_STARTED" || "TLS_SERVER_HELLO" || "TLS_SERVER_CERT" || "TLS_SERVER_DATA" || "TLS_SERVER_FINISHED" || "HTTP1_REQUEST_STARTED" || "HTTP1_REQUEST_LINE" || "HTTP1_REQUEST_HEADERS" || "HTTP1_REQUEST_BODY" || "HTTP1_REQUEST_TRAILER" || "HTTP1_REQUEST_COMPLETE" || "HTTP1_RESPONSE_STARTED" || "HTTP1_RESPONSE_LINE" || "HTTP1_RESPONSE_HEADERS" || "HTTP1_RESPONSE_BODY" || "HTTP1_RESPONSE_TRAILER" || "HTTP1_RESPONSE_COMPLETE" || "HTTP2_STREAM_REQUEST_STARTED" || "HTTP2_STREAM_REQUEST_HEADERS" || "HTTP2_STREAM_REQUEST_DATA" || "HTTP2_STREAM_REQUEST_CLOSED" || "HTTP2_STREAM_REQUEST_COMPLETE" || "HTTP2_STREAM_RESPONSE_STARTED" || "HTTP2_STREAM_RESPONSE_HEADERS" || "HTTP2_STREAM_RESPONSE_DATA" || "HTTP2_STREAM_RESPONSE_CLOSED" || "HTTP2_STREAM_RESPONSE_COMPLETE" || "HTTP2_GLOBAL_REQUEST_STARTED" || "HTTP2_GLOBAL_REQUEST_COMPLETE" || "HTTP2_GLOBAL_RESPONSE_STARTED" || "HTTP2_GLOBAL_RESPONSE_COMPLETE" || "DOH2_STREAM_REQUEST_STARTED" || "DOH2_STREAM_REQUEST_HEADERS" || "DOH2_STREAM_REQUEST_DATA" || "DOH2_STREAM_REQUEST_CLOSED" || "DOH2_STREAM_REQUEST_COMPLETE" || "DOH2_STREAM_RESPONSE_STARTED" || "DOH2_STREAM_RESPONSE_HEADERS" || "DOH2_STREAM_RESPONSE_DATA" || "DOH2_STREAM_RESPONSE_CLOSED" || "DOH2_STREAM_RESPONSE_COMPLETE" || "DOH2_GLOBAL_REQUEST_STARTED" || "DOH2_GLOBAL_REQUEST_COMPLETE" || "DOH2_GLOBAL_RESPONSE_STARTED" || "DOH2_GLOBAL_RESPONSE_COMPLETE" || "DNS_REQUEST_STARTED" || "DNS_REQUEST_COMPLETE" || "DNS_RESPONSE_STARTED" || "DNS_RESPONSE_COMPLETE" || "SMTP_REQUEST_STARTED" || "SMTP_REQUEST_DATA" || "SMTP_REQUEST_COMPLETE" || "SMTP_RESPONSE_STARTED" || "SMTP_RESPONSE_DATA" || "SMTP_RESPONSE_COMPLETE" || "FTP_REQUEST_STARTED" || "FTP_REQUEST_COMPLETE" || "FTP_RESPONSE_STARTED" || "FTP_RESPONSE_COMPLETE" || "FTP_DATA_REQUEST_STARTED" || "FTP_DATA_REQUEST_COMPLETE" || "FTP_DATA_RESPONSE_STARTED" || "FTP_DATA_RESPONSE_COMPLETE" || "SMB_REQUEST_STARTED" || "SMB_REQUEST_COMPLETE" || "SMB_RESPONSE_STARTED" || "SMB_RESPONSE_COMPLETE" || "DCERPC_REQUEST_STARTED" || "DCERPC_REQUEST_COMPLETE" || "DCERPC_RESPONSE_STARTED" || "DCERPC_RESPONSE_COMPLETE" || "NFS_REQUEST_STARTED" || "NFS_REQUEST_COMPLETE" || "NFS_RESPONSE_STARTED" || "NFS_RESPONSE_COMPLETE" || "KRB5_REQUEST_STARTED" || "KRB5_REQUEST_COMPLETE" || "KRB5_RESPONSE_STARTED" || "KRB5_RESPONSE_COMPLETE" || "IKE_REQUEST_STARTED" || "IKE_REQUEST_COMPLETE" || "IKE_RESPONSE_STARTED" || "IKE_RESPONSE_COMPLETE" || "TFTP_REQUEST_STARTED" || "TFTP_REQUEST_COMPLETE" || "TFTP_RESPONSE_STARTED" || "TFTP_RESPONSE_COMPLETE" || "DHCP_REQUEST_STARTED" || "DHCP_REQUEST_COMPLETE" || "DHCP_RESPONSE_STARTED" || "DHCP_RESPONSE_COMPLETE" || "QUIC_REQUEST_STARTED" || "QUIC_REQUEST_COMPLETE" || "QUIC_RESPONSE_STARTED" || "QUIC_RESPONSE_COMPLETE" || "RDP_REQUEST_STARTED" || "RDP_REQUEST_COMPLETE" || "RDP_RESPONSE_STARTED" || "RDP_RESPONSE_COMPLETE" || "RFB_REQUEST_STARTED" || "RFB_REQUEST_COMPLETE" || "RFB_RESPONSE_STARTED" || "RFB_RESPONSE_COMPLETE" || "MQTT_REQUEST_STARTED" || "MQTT_REQUEST_COMPLETE" || "MQTT_RESPONSE_STARTED" || "MQTT_RESPONSE_COMPLETE" || "PGSQL_REQUEST_STARTED" || "PGSQL_REQUEST_COMPLETE" || "PGSQL_RESPONSE_STARTED" || "PGSQL_RESPONSE_COMPLETE" || "SNMP_REQUEST_STARTED" || "SNMP_REQUEST_COMPLETE" || "SNMP_RESPONSE_STARTED" || "SNMP_RESPONSE_COMPLETE" || "NTP_REQUEST_STARTED" || "NTP_REQUEST_COMPLETE" || "NTP_RESPONSE_STARTED" || "NTP_RESPONSE_COMPLETE" || "TELNET_REQUEST_STARTED" || "TELNET_REQUEST_COMPLETE" || "TELNET_RESPONSE_STARTED" || "TELNET_RESPONSE_COMPLETE" || "WEBSOCKET_REQUEST_STARTED" || "WEBSOCKET_REQUEST_COMPLETE" || "WEBSOCKET_RESPONSE_STARTED" || "WEBSOCKET_RESPONSE_COMPLETE" || "LDAP_REQUEST_STARTED" || "LDAP_REQUEST_COMPLETE" || "LDAP_RESPONSE_STARTED" || "LDAP_RESPONSE_COMPLETE" || "POP3_REQUEST_STARTED" || "POP3_REQUEST_COMPLETE" || "POP3_RESPONSE_STARTED" || "POP3_RESPONSE_COMPLETE" || "MDNS_REQUEST_STARTED" || "MDNS_REQUEST_COMPLETE" || "MDNS_RESPONSE_STARTED" || "MDNS_RESPONSE_COMPLETE" || "BITTORRENT_DHT_REQUEST_STARTED" || "BITTORRENT_DHT_REQUEST_COMPLETE" || "BITTORRENT_DHT_RESPONSE_STARTED" || "BITTORRENT_DHT_RESPONSE_COMPLETE" || "DNP3_REQUEST_STARTED" || "DNP3_REQUEST_COMPLETE" || "DNP3_RESPONSE_STARTED" || "DNP3_RESPONSE_COMPLETE" || "SSH_REQUEST_IN_PROGRESS" || "SSH_REQUEST_BANNER_WAIT_EOL" || "SSH_REQUEST_BANNER_DONE" || "SSH_REQUEST_FINISHED" || "SSH_RESPONSE_IN_PROGRESS" || "SSH_RESPONSE_BANNER_WAIT_EOL" || "SSH_RESPONSE_BANNER_DONE" || "SSH_RESPONSE_FINISHED", // required
|
|
52
|
+
* Protocol: "IP" || "TCP" || "UDP" || "ICMP" || "HTTP" || "FTP" || "TLS" || "SMB" || "DNS" || "DCERPC" || "SSH" || "SMTP" || "MSN" || "KRB5" || "IKEV2" || "TFTP" || "NTP" || "DHCP" || "HTTP2" || "QUIC" || "ICMPV4" || "ICMPV6" || "SCTP" || "IPV4" || "IPV6" || "DOH2" || "FTP_DATA" || "NFS" || "RDP" || "RFB" || "MQTT" || "PGSQL" || "SNMP" || "TELNET" || "WEBSOCKET" || "LDAP" || "POP3" || "MDNS" || "BITTORRENT_DHT" || "DNP3", // required
|
|
53
|
+
* SourceIPs: "STRING_VALUE",
|
|
54
|
+
* DestIPs: "STRING_VALUE",
|
|
55
|
+
* SourcePorts: "STRING_VALUE",
|
|
56
|
+
* DestPorts: "STRING_VALUE",
|
|
57
|
+
* RuleOptions: [ // RuleOptions
|
|
58
|
+
* { // RuleOption
|
|
59
|
+
* Keyword: "STRING_VALUE", // required
|
|
60
|
+
* Settings: [ // Settings
|
|
61
|
+
* "STRING_VALUE",
|
|
62
|
+
* ],
|
|
63
|
+
* },
|
|
64
|
+
* ],
|
|
65
|
+
* AcceptPriorHooks: true || false,
|
|
66
|
+
* AlertEnabled: true || false,
|
|
67
|
+
* BypassIPSEnabled: true || false,
|
|
68
|
+
* RuleMetadata: { // RuleMetadata
|
|
69
|
+
* RuleEnabled: true || false,
|
|
70
|
+
* RuleDescription: "STRING_VALUE",
|
|
71
|
+
* },
|
|
72
|
+
* },
|
|
73
|
+
* ],
|
|
74
|
+
* RulesSourceList: { // RulesSourceList
|
|
75
|
+
* Targets: [ // RuleTargets // required
|
|
76
|
+
* "STRING_VALUE",
|
|
77
|
+
* ],
|
|
78
|
+
* TargetTypes: [ // TargetTypes // required
|
|
79
|
+
* "TLS_SNI" || "HTTP_HOST" || "AWS_ROUTE_53_RESOLVED_DOMAIN",
|
|
80
|
+
* ],
|
|
81
|
+
* GeneratedRulesType: "ALLOWLIST" || "DENYLIST" || "REJECTLIST" || "ALERTLIST", // required
|
|
82
|
+
* },
|
|
83
|
+
* },
|
|
84
|
+
* RuleVariables: { // RuleVariables
|
|
85
|
+
* IPSets: { // IPSets
|
|
86
|
+
* "<keys>": { // IPSet
|
|
87
|
+
* Definition: [ // VariableDefinitionList // required
|
|
88
|
+
* "STRING_VALUE",
|
|
89
|
+
* ],
|
|
90
|
+
* },
|
|
91
|
+
* },
|
|
92
|
+
* PortSets: { // PortSets
|
|
93
|
+
* "<keys>": { // PortSet
|
|
94
|
+
* Definition: [
|
|
95
|
+
* "STRING_VALUE",
|
|
96
|
+
* ],
|
|
97
|
+
* },
|
|
98
|
+
* },
|
|
99
|
+
* },
|
|
100
|
+
* ReferenceSets: { // ReferenceSets
|
|
101
|
+
* IPSetReferences: { // IPSetReferenceMap
|
|
102
|
+
* "<keys>": { // IPSetReference
|
|
103
|
+
* ReferenceArn: "STRING_VALUE",
|
|
104
|
+
* },
|
|
105
|
+
* },
|
|
106
|
+
* },
|
|
107
|
+
* },
|
|
108
|
+
* },
|
|
109
|
+
* ],
|
|
110
|
+
* IpsRuleGroupEntries: [ // IpsRuleGroupEntries
|
|
111
|
+
* { // IpsRuleGroupEntry
|
|
112
|
+
* ResourceArn: "STRING_VALUE",
|
|
113
|
+
* InlineRuleGroup: { // IpsRuleGroup
|
|
114
|
+
* RulesSource: { // IpsRulesSource
|
|
115
|
+
* RulesString: "STRING_VALUE",
|
|
116
|
+
* },
|
|
117
|
+
* RuleVariables: {
|
|
118
|
+
* IPSets: {
|
|
119
|
+
* "<keys>": {
|
|
120
|
+
* Definition: [ // required
|
|
121
|
+
* "STRING_VALUE",
|
|
122
|
+
* ],
|
|
123
|
+
* },
|
|
124
|
+
* },
|
|
125
|
+
* PortSets: {
|
|
126
|
+
* "<keys>": {
|
|
127
|
+
* Definition: [
|
|
128
|
+
* "STRING_VALUE",
|
|
129
|
+
* ],
|
|
130
|
+
* },
|
|
131
|
+
* },
|
|
132
|
+
* },
|
|
133
|
+
* ReferenceSets: {
|
|
134
|
+
* IPSetReferences: {
|
|
135
|
+
* "<keys>": {
|
|
136
|
+
* ReferenceArn: "STRING_VALUE",
|
|
137
|
+
* },
|
|
138
|
+
* },
|
|
139
|
+
* },
|
|
140
|
+
* },
|
|
141
|
+
* Override: { // IpsRuleGroupOverride
|
|
142
|
+
* Action: "DROP_TO_ALERT",
|
|
143
|
+
* },
|
|
144
|
+
* },
|
|
145
|
+
* ],
|
|
146
|
+
* PolicyMode: "ENFORCE" || "MONITOR",
|
|
147
|
+
* FirewallDefaultAction: "DROP" || "ACCEPT" || "REJECT" || "ALERT",
|
|
148
|
+
* StatefulEngineOptions: { // StatefulEngineOptionsV2
|
|
149
|
+
* StreamExceptionPolicy: "DROP" || "REJECT",
|
|
150
|
+
* FlowTimeouts: { // FlowTimeouts
|
|
151
|
+
* TcpIdleTimeoutSeconds: Number("int"),
|
|
152
|
+
* },
|
|
153
|
+
* },
|
|
154
|
+
* TLSInspectionConfigurationArn: "STRING_VALUE",
|
|
155
|
+
* PolicyVariables: { // PolicyVariables
|
|
156
|
+
* RuleVariables: {
|
|
157
|
+
* "<keys>": {
|
|
158
|
+
* Definition: [ // required
|
|
159
|
+
* "STRING_VALUE",
|
|
160
|
+
* ],
|
|
161
|
+
* },
|
|
162
|
+
* },
|
|
163
|
+
* },
|
|
164
|
+
* Route53ResolvedIPValidation: { // Route53ResolvedIPValidation
|
|
165
|
+
* Action: "REJECT" || "DROP" || "ALERT", // required
|
|
166
|
+
* DNSFirewallRuleGroupId: "STRING_VALUE", // required
|
|
167
|
+
* DNSExpiryExceptionPolicy: "REJECT" || "DROP" || "CONTINUE", // required
|
|
168
|
+
* BypassDestinationValidationIPRanges: [ // Route53ResolvedIPValidationAddresses
|
|
169
|
+
* { // Address
|
|
170
|
+
* AddressDefinition: "STRING_VALUE", // required
|
|
171
|
+
* },
|
|
172
|
+
* ],
|
|
173
|
+
* SourceIPRanges: [
|
|
174
|
+
* {
|
|
175
|
+
* AddressDefinition: "STRING_VALUE", // required
|
|
176
|
+
* },
|
|
177
|
+
* ],
|
|
178
|
+
* },
|
|
179
|
+
* },
|
|
180
|
+
* Description: "STRING_VALUE",
|
|
181
|
+
* Tags: [ // TagList
|
|
182
|
+
* { // Tag
|
|
183
|
+
* Key: "STRING_VALUE", // required
|
|
184
|
+
* Value: "STRING_VALUE", // required
|
|
185
|
+
* },
|
|
186
|
+
* ],
|
|
187
|
+
* DryRun: true || false,
|
|
188
|
+
* EncryptionConfiguration: { // EncryptionConfiguration
|
|
189
|
+
* KeyId: "STRING_VALUE",
|
|
190
|
+
* Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
191
|
+
* },
|
|
192
|
+
* };
|
|
193
|
+
* const command = new CreateFirewallPolicyV2Command(input);
|
|
194
|
+
* const response = await client.send(command);
|
|
195
|
+
* // { // CreateFirewallPolicyV2Response
|
|
196
|
+
* // UpdateToken: "STRING_VALUE", // required
|
|
197
|
+
* // FirewallPolicyV2Response: { // FirewallPolicyV2Response
|
|
198
|
+
* // FirewallPolicyV2Name: "STRING_VALUE", // required
|
|
199
|
+
* // FirewallPolicyV2Arn: "STRING_VALUE", // required
|
|
200
|
+
* // FirewallPolicyV2Id: "STRING_VALUE", // required
|
|
201
|
+
* // Description: "STRING_VALUE",
|
|
202
|
+
* // FirewallPolicyV2Status: "ACTIVE" || "DELETING" || "ERROR" || "UPDATING",
|
|
203
|
+
* // StatusMessage: "STRING_VALUE",
|
|
204
|
+
* // Tags: [ // TagList
|
|
205
|
+
* // { // Tag
|
|
206
|
+
* // Key: "STRING_VALUE", // required
|
|
207
|
+
* // Value: "STRING_VALUE", // required
|
|
208
|
+
* // },
|
|
209
|
+
* // ],
|
|
210
|
+
* // ConsumedFirewallRuleCapacity: Number("int"),
|
|
211
|
+
* // ConsumedIpsRuleCapacity: Number("int"),
|
|
212
|
+
* // ConsumedIpsDomainCapacity: Number("int"),
|
|
213
|
+
* // NumberOfAssociations: Number("int"),
|
|
214
|
+
* // EncryptionConfiguration: { // EncryptionConfiguration
|
|
215
|
+
* // KeyId: "STRING_VALUE",
|
|
216
|
+
* // Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
217
|
+
* // },
|
|
218
|
+
* // Errors: [ // FirewallPolicyErrors
|
|
219
|
+
* // { // FirewallPolicyError
|
|
220
|
+
* // Code: "DNS_FIREWALL_RULE_GROUP_UNAVAILABLE" || "ROUTE53_RESOLVED_IP_VALIDATION_MISSING", // required
|
|
221
|
+
* // Message: "STRING_VALUE", // required
|
|
222
|
+
* // ResourceId: "STRING_VALUE",
|
|
223
|
+
* // },
|
|
224
|
+
* // ],
|
|
225
|
+
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
226
|
+
* // },
|
|
227
|
+
* // };
|
|
228
|
+
*
|
|
229
|
+
* ```
|
|
230
|
+
*
|
|
231
|
+
* @param CreateFirewallPolicyV2CommandInput - {@link CreateFirewallPolicyV2CommandInput}
|
|
232
|
+
* @returns {@link CreateFirewallPolicyV2CommandOutput}
|
|
233
|
+
* @see {@link CreateFirewallPolicyV2CommandInput} for command's `input` shape.
|
|
234
|
+
* @see {@link CreateFirewallPolicyV2CommandOutput} for command's `response` shape.
|
|
235
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
236
|
+
*
|
|
237
|
+
* @throws {@link InsufficientCapacityException} (server fault)
|
|
238
|
+
* <p>Amazon Web Services doesn't currently have enough available capacity to fulfill your request. Try your
|
|
239
|
+
* request later. </p>
|
|
240
|
+
*
|
|
241
|
+
* @throws {@link InternalServerError} (server fault)
|
|
242
|
+
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
243
|
+
* system problem. Retry your request. </p>
|
|
244
|
+
*
|
|
245
|
+
* @throws {@link InvalidOperationException} (client fault)
|
|
246
|
+
* <p>The operation failed because it's not valid. For example, you might have tried to delete
|
|
247
|
+
* a rule group or firewall policy that's in use.</p>
|
|
248
|
+
*
|
|
249
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
250
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
251
|
+
* <ul>
|
|
252
|
+
* <li>
|
|
253
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
254
|
+
* </li>
|
|
255
|
+
* <li>
|
|
256
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
257
|
+
* types.</p>
|
|
258
|
+
* </li>
|
|
259
|
+
* <li>
|
|
260
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
261
|
+
* that isn't valid in the context of the request.</p>
|
|
262
|
+
* </li>
|
|
263
|
+
* </ul>
|
|
264
|
+
*
|
|
265
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
266
|
+
* <p>Unable to perform the operation because doing so would violate a limit setting. </p>
|
|
267
|
+
*
|
|
268
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
269
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
270
|
+
*
|
|
271
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
272
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
273
|
+
*
|
|
274
|
+
*
|
|
275
|
+
* @public
|
|
276
|
+
*/
|
|
277
|
+
export declare class CreateFirewallPolicyV2Command extends CreateFirewallPolicyV2Command_base {
|
|
278
|
+
/** @internal type navigation helper, not in runtime. */
|
|
279
|
+
protected static __types: {
|
|
280
|
+
api: {
|
|
281
|
+
input: CreateFirewallPolicyV2Request;
|
|
282
|
+
output: CreateFirewallPolicyV2Response;
|
|
283
|
+
};
|
|
284
|
+
sdk: {
|
|
285
|
+
input: CreateFirewallPolicyV2CommandInput;
|
|
286
|
+
output: CreateFirewallPolicyV2CommandOutput;
|
|
287
|
+
};
|
|
288
|
+
};
|
|
289
|
+
}
|
|
@@ -162,8 +162,98 @@ declare const CreateRuleGroupCommand_base: {
|
|
|
162
162
|
* RuleOrder: "DEFAULT_ACTION_ORDER" || "STRICT_ORDER",
|
|
163
163
|
* },
|
|
164
164
|
* },
|
|
165
|
+
* FirewallRuleGroup: { // FirewallRuleGroup
|
|
166
|
+
* RulesSource: { // FirewallRulesSource
|
|
167
|
+
* RulesString: "STRING_VALUE",
|
|
168
|
+
* FirewallRules: [ // FirewallRules
|
|
169
|
+
* { // FirewallRule
|
|
170
|
+
* Action: "ACCEPT" || "DROP" || "REJECT" || "REJECT_DST" || "REJECT_BOTH", // required
|
|
171
|
+
* ActionScope: "FLOW" || "TX" || "HOOK" || "PACKET", // required
|
|
172
|
+
* Hook: "TCP_ALL" || "TCP_FLOW_START" || "TCP_PRE_FLOW" || "TCP_PRE_STREAM" || "SCTP_ALL" || "SCTP_FLOW_START" || "SCTP_PRE_FLOW" || "SCTP_PRE_STREAM" || "IPV6_ALL" || "IPV6_FLOW_START" || "IPV6_PRE_FLOW" || "IPV6_PRE_STREAM" || "ICMPV6_ALL" || "ICMPV6_FLOW_START" || "ICMPV6_PRE_FLOW" || "ICMPV6_PRE_STREAM" || "UDP_ALL" || "UDP_FLOW_START" || "UDP_PRE_FLOW" || "UDP_PRE_STREAM" || "ICMP_ALL" || "ICMP_FLOW_START" || "ICMP_PRE_FLOW" || "ICMP_PRE_STREAM" || "ICMPV4_ALL" || "ICMPV4_FLOW_START" || "ICMPV4_PRE_FLOW" || "ICMPV4_PRE_STREAM" || "IP_ALL" || "IP_FLOW_START" || "IP_PRE_FLOW" || "IP_PRE_STREAM" || "IPV4_ALL" || "IPV4_FLOW_START" || "IPV4_PRE_FLOW" || "IPV4_PRE_STREAM" || "TLS_CLIENT_STARTED" || "TLS_CLIENT_HELLO" || "TLS_CLIENT_CERT" || "TLS_CLIENT_DATA" || "TLS_CLIENT_FINISHED" || "TLS_SERVER_STARTED" || "TLS_SERVER_HELLO" || "TLS_SERVER_CERT" || "TLS_SERVER_DATA" || "TLS_SERVER_FINISHED" || "HTTP1_REQUEST_STARTED" || "HTTP1_REQUEST_LINE" || "HTTP1_REQUEST_HEADERS" || "HTTP1_REQUEST_BODY" || "HTTP1_REQUEST_TRAILER" || "HTTP1_REQUEST_COMPLETE" || "HTTP1_RESPONSE_STARTED" || "HTTP1_RESPONSE_LINE" || "HTTP1_RESPONSE_HEADERS" || "HTTP1_RESPONSE_BODY" || "HTTP1_RESPONSE_TRAILER" || "HTTP1_RESPONSE_COMPLETE" || "HTTP2_STREAM_REQUEST_STARTED" || "HTTP2_STREAM_REQUEST_HEADERS" || "HTTP2_STREAM_REQUEST_DATA" || "HTTP2_STREAM_REQUEST_CLOSED" || "HTTP2_STREAM_REQUEST_COMPLETE" || "HTTP2_STREAM_RESPONSE_STARTED" || "HTTP2_STREAM_RESPONSE_HEADERS" || "HTTP2_STREAM_RESPONSE_DATA" || "HTTP2_STREAM_RESPONSE_CLOSED" || "HTTP2_STREAM_RESPONSE_COMPLETE" || "HTTP2_GLOBAL_REQUEST_STARTED" || "HTTP2_GLOBAL_REQUEST_COMPLETE" || "HTTP2_GLOBAL_RESPONSE_STARTED" || "HTTP2_GLOBAL_RESPONSE_COMPLETE" || "DOH2_STREAM_REQUEST_STARTED" || "DOH2_STREAM_REQUEST_HEADERS" || "DOH2_STREAM_REQUEST_DATA" || "DOH2_STREAM_REQUEST_CLOSED" || "DOH2_STREAM_REQUEST_COMPLETE" || "DOH2_STREAM_RESPONSE_STARTED" || "DOH2_STREAM_RESPONSE_HEADERS" || "DOH2_STREAM_RESPONSE_DATA" || "DOH2_STREAM_RESPONSE_CLOSED" || "DOH2_STREAM_RESPONSE_COMPLETE" || "DOH2_GLOBAL_REQUEST_STARTED" || "DOH2_GLOBAL_REQUEST_COMPLETE" || "DOH2_GLOBAL_RESPONSE_STARTED" || "DOH2_GLOBAL_RESPONSE_COMPLETE" || "DNS_REQUEST_STARTED" || "DNS_REQUEST_COMPLETE" || "DNS_RESPONSE_STARTED" || "DNS_RESPONSE_COMPLETE" || "SMTP_REQUEST_STARTED" || "SMTP_REQUEST_DATA" || "SMTP_REQUEST_COMPLETE" || "SMTP_RESPONSE_STARTED" || "SMTP_RESPONSE_DATA" || "SMTP_RESPONSE_COMPLETE" || "FTP_REQUEST_STARTED" || "FTP_REQUEST_COMPLETE" || "FTP_RESPONSE_STARTED" || "FTP_RESPONSE_COMPLETE" || "FTP_DATA_REQUEST_STARTED" || "FTP_DATA_REQUEST_COMPLETE" || "FTP_DATA_RESPONSE_STARTED" || "FTP_DATA_RESPONSE_COMPLETE" || "SMB_REQUEST_STARTED" || "SMB_REQUEST_COMPLETE" || "SMB_RESPONSE_STARTED" || "SMB_RESPONSE_COMPLETE" || "DCERPC_REQUEST_STARTED" || "DCERPC_REQUEST_COMPLETE" || "DCERPC_RESPONSE_STARTED" || "DCERPC_RESPONSE_COMPLETE" || "NFS_REQUEST_STARTED" || "NFS_REQUEST_COMPLETE" || "NFS_RESPONSE_STARTED" || "NFS_RESPONSE_COMPLETE" || "KRB5_REQUEST_STARTED" || "KRB5_REQUEST_COMPLETE" || "KRB5_RESPONSE_STARTED" || "KRB5_RESPONSE_COMPLETE" || "IKE_REQUEST_STARTED" || "IKE_REQUEST_COMPLETE" || "IKE_RESPONSE_STARTED" || "IKE_RESPONSE_COMPLETE" || "TFTP_REQUEST_STARTED" || "TFTP_REQUEST_COMPLETE" || "TFTP_RESPONSE_STARTED" || "TFTP_RESPONSE_COMPLETE" || "DHCP_REQUEST_STARTED" || "DHCP_REQUEST_COMPLETE" || "DHCP_RESPONSE_STARTED" || "DHCP_RESPONSE_COMPLETE" || "QUIC_REQUEST_STARTED" || "QUIC_REQUEST_COMPLETE" || "QUIC_RESPONSE_STARTED" || "QUIC_RESPONSE_COMPLETE" || "RDP_REQUEST_STARTED" || "RDP_REQUEST_COMPLETE" || "RDP_RESPONSE_STARTED" || "RDP_RESPONSE_COMPLETE" || "RFB_REQUEST_STARTED" || "RFB_REQUEST_COMPLETE" || "RFB_RESPONSE_STARTED" || "RFB_RESPONSE_COMPLETE" || "MQTT_REQUEST_STARTED" || "MQTT_REQUEST_COMPLETE" || "MQTT_RESPONSE_STARTED" || "MQTT_RESPONSE_COMPLETE" || "PGSQL_REQUEST_STARTED" || "PGSQL_REQUEST_COMPLETE" || "PGSQL_RESPONSE_STARTED" || "PGSQL_RESPONSE_COMPLETE" || "SNMP_REQUEST_STARTED" || "SNMP_REQUEST_COMPLETE" || "SNMP_RESPONSE_STARTED" || "SNMP_RESPONSE_COMPLETE" || "NTP_REQUEST_STARTED" || "NTP_REQUEST_COMPLETE" || "NTP_RESPONSE_STARTED" || "NTP_RESPONSE_COMPLETE" || "TELNET_REQUEST_STARTED" || "TELNET_REQUEST_COMPLETE" || "TELNET_RESPONSE_STARTED" || "TELNET_RESPONSE_COMPLETE" || "WEBSOCKET_REQUEST_STARTED" || "WEBSOCKET_REQUEST_COMPLETE" || "WEBSOCKET_RESPONSE_STARTED" || "WEBSOCKET_RESPONSE_COMPLETE" || "LDAP_REQUEST_STARTED" || "LDAP_REQUEST_COMPLETE" || "LDAP_RESPONSE_STARTED" || "LDAP_RESPONSE_COMPLETE" || "POP3_REQUEST_STARTED" || "POP3_REQUEST_COMPLETE" || "POP3_RESPONSE_STARTED" || "POP3_RESPONSE_COMPLETE" || "MDNS_REQUEST_STARTED" || "MDNS_REQUEST_COMPLETE" || "MDNS_RESPONSE_STARTED" || "MDNS_RESPONSE_COMPLETE" || "BITTORRENT_DHT_REQUEST_STARTED" || "BITTORRENT_DHT_REQUEST_COMPLETE" || "BITTORRENT_DHT_RESPONSE_STARTED" || "BITTORRENT_DHT_RESPONSE_COMPLETE" || "DNP3_REQUEST_STARTED" || "DNP3_REQUEST_COMPLETE" || "DNP3_RESPONSE_STARTED" || "DNP3_RESPONSE_COMPLETE" || "SSH_REQUEST_IN_PROGRESS" || "SSH_REQUEST_BANNER_WAIT_EOL" || "SSH_REQUEST_BANNER_DONE" || "SSH_REQUEST_FINISHED" || "SSH_RESPONSE_IN_PROGRESS" || "SSH_RESPONSE_BANNER_WAIT_EOL" || "SSH_RESPONSE_BANNER_DONE" || "SSH_RESPONSE_FINISHED", // required
|
|
173
|
+
* Protocol: "IP" || "TCP" || "UDP" || "ICMP" || "HTTP" || "FTP" || "TLS" || "SMB" || "DNS" || "DCERPC" || "SSH" || "SMTP" || "MSN" || "KRB5" || "IKEV2" || "TFTP" || "NTP" || "DHCP" || "HTTP2" || "QUIC" || "ICMPV4" || "ICMPV6" || "SCTP" || "IPV4" || "IPV6" || "DOH2" || "FTP_DATA" || "NFS" || "RDP" || "RFB" || "MQTT" || "PGSQL" || "SNMP" || "TELNET" || "WEBSOCKET" || "LDAP" || "POP3" || "MDNS" || "BITTORRENT_DHT" || "DNP3", // required
|
|
174
|
+
* SourceIPs: "STRING_VALUE",
|
|
175
|
+
* DestIPs: "STRING_VALUE",
|
|
176
|
+
* SourcePorts: "STRING_VALUE",
|
|
177
|
+
* DestPorts: "STRING_VALUE",
|
|
178
|
+
* RuleOptions: [
|
|
179
|
+
* {
|
|
180
|
+
* Keyword: "STRING_VALUE", // required
|
|
181
|
+
* Settings: [
|
|
182
|
+
* "STRING_VALUE",
|
|
183
|
+
* ],
|
|
184
|
+
* },
|
|
185
|
+
* ],
|
|
186
|
+
* AcceptPriorHooks: true || false,
|
|
187
|
+
* AlertEnabled: true || false,
|
|
188
|
+
* BypassIPSEnabled: true || false,
|
|
189
|
+
* RuleMetadata: { // RuleMetadata
|
|
190
|
+
* RuleEnabled: true || false,
|
|
191
|
+
* RuleDescription: "STRING_VALUE",
|
|
192
|
+
* },
|
|
193
|
+
* },
|
|
194
|
+
* ],
|
|
195
|
+
* RulesSourceList: {
|
|
196
|
+
* Targets: [ // required
|
|
197
|
+
* "STRING_VALUE",
|
|
198
|
+
* ],
|
|
199
|
+
* TargetTypes: [ // required
|
|
200
|
+
* "TLS_SNI" || "HTTP_HOST" || "AWS_ROUTE_53_RESOLVED_DOMAIN",
|
|
201
|
+
* ],
|
|
202
|
+
* GeneratedRulesType: "ALLOWLIST" || "DENYLIST" || "REJECTLIST" || "ALERTLIST", // required
|
|
203
|
+
* },
|
|
204
|
+
* },
|
|
205
|
+
* RuleVariables: {
|
|
206
|
+
* IPSets: {
|
|
207
|
+
* "<keys>": {
|
|
208
|
+
* Definition: [ // required
|
|
209
|
+
* "STRING_VALUE",
|
|
210
|
+
* ],
|
|
211
|
+
* },
|
|
212
|
+
* },
|
|
213
|
+
* PortSets: {
|
|
214
|
+
* "<keys>": {
|
|
215
|
+
* Definition: [
|
|
216
|
+
* "STRING_VALUE",
|
|
217
|
+
* ],
|
|
218
|
+
* },
|
|
219
|
+
* },
|
|
220
|
+
* },
|
|
221
|
+
* ReferenceSets: {
|
|
222
|
+
* IPSetReferences: {
|
|
223
|
+
* "<keys>": {
|
|
224
|
+
* ReferenceArn: "STRING_VALUE",
|
|
225
|
+
* },
|
|
226
|
+
* },
|
|
227
|
+
* },
|
|
228
|
+
* },
|
|
229
|
+
* IpsRuleGroup: { // IpsRuleGroup
|
|
230
|
+
* RulesSource: { // IpsRulesSource
|
|
231
|
+
* RulesString: "STRING_VALUE",
|
|
232
|
+
* },
|
|
233
|
+
* RuleVariables: {
|
|
234
|
+
* IPSets: {
|
|
235
|
+
* "<keys>": {
|
|
236
|
+
* Definition: [ // required
|
|
237
|
+
* "STRING_VALUE",
|
|
238
|
+
* ],
|
|
239
|
+
* },
|
|
240
|
+
* },
|
|
241
|
+
* PortSets: {
|
|
242
|
+
* "<keys>": {
|
|
243
|
+
* Definition: "<VariableDefinitionList>",
|
|
244
|
+
* },
|
|
245
|
+
* },
|
|
246
|
+
* },
|
|
247
|
+
* ReferenceSets: {
|
|
248
|
+
* IPSetReferences: {
|
|
249
|
+
* "<keys>": {
|
|
250
|
+
* ReferenceArn: "STRING_VALUE",
|
|
251
|
+
* },
|
|
252
|
+
* },
|
|
253
|
+
* },
|
|
254
|
+
* },
|
|
165
255
|
* Rules: "STRING_VALUE",
|
|
166
|
-
* Type: "STATELESS" || "STATEFUL" || "STATEFUL_DOMAIN", // required
|
|
256
|
+
* Type: "STATELESS" || "STATEFUL" || "STATEFUL_DOMAIN" || "FIREWALL" || "IPS", // required
|
|
167
257
|
* Description: "STRING_VALUE",
|
|
168
258
|
* Capacity: Number("int"), // required
|
|
169
259
|
* Tags: [ // TagList
|
|
@@ -197,7 +287,7 @@ declare const CreateRuleGroupCommand_base: {
|
|
|
197
287
|
* // RuleGroupName: "STRING_VALUE", // required
|
|
198
288
|
* // RuleGroupId: "STRING_VALUE", // required
|
|
199
289
|
* // Description: "STRING_VALUE",
|
|
200
|
-
* // Type: "STATELESS" || "STATEFUL" || "STATEFUL_DOMAIN",
|
|
290
|
+
* // Type: "STATELESS" || "STATEFUL" || "STATEFUL_DOMAIN" || "FIREWALL" || "IPS",
|
|
201
291
|
* // Capacity: Number("int"),
|
|
202
292
|
* // RuleGroupStatus: "ACTIVE" || "DELETING" || "ERROR" || "UPDATING",
|
|
203
293
|
* // Tags: [ // TagList
|