Skip to content

Commit 866b31d

Browse files
You can now use VPC endpoint associations to create multiple firewall endpoints for a single firewall.
1 parent ce5dba3 commit 866b31d

File tree

69 files changed

+7671
-429
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+7671
-429
lines changed

generator/ServiceModels/network-firewall/network-firewall-2020-11-12.api.json

Lines changed: 243 additions & 9 deletions
Large diffs are not rendered by default.

generator/ServiceModels/network-firewall/network-firewall-2020-11-12.docs.json

Lines changed: 272 additions & 228 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
22
"version": "1.0",
3-
"examples": {
4-
}
3+
"examples": {}
54
}

generator/ServiceModels/network-firewall/network-firewall-2020-11-12.normal.json

Lines changed: 415 additions & 27 deletions
Large diffs are not rendered by default.

generator/ServiceModels/network-firewall/network-firewall-2020-11-12.paginators.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@
5353
"output_token": "NextToken",
5454
"limit_key": "MaxResults",
5555
"result_key": "Tags"
56+
},
57+
"ListVpcEndpointAssociations": {
58+
"input_token": "NextToken",
59+
"output_token": "NextToken",
60+
"limit_key": "MaxResults",
61+
"result_key": "VpcEndpointAssociations"
5662
}
5763
}
5864
}

sdk/code-analysis/ServiceAnalysis/NetworkFirewall/Generated/PropertyValueRules.xml

Lines changed: 194 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,23 @@
163163
<max>1024</max>
164164
<pattern>^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$</pattern>
165165
</property-value-rule>
166+
<property-value-rule>
167+
<property>Amazon.NetworkFirewall.Model.CreateVpcEndpointAssociationRequest.Description</property>
168+
<max>512</max>
169+
<pattern>^.*$</pattern>
170+
</property-value-rule>
171+
<property-value-rule>
172+
<property>Amazon.NetworkFirewall.Model.CreateVpcEndpointAssociationRequest.FirewallArn</property>
173+
<min>1</min>
174+
<max>256</max>
175+
<pattern>^arn:aws.*</pattern>
176+
</property-value-rule>
177+
<property-value-rule>
178+
<property>Amazon.NetworkFirewall.Model.CreateVpcEndpointAssociationRequest.VpcId</property>
179+
<min>1</min>
180+
<max>128</max>
181+
<pattern>^vpc-[0-9a-f]+$</pattern>
182+
</property-value-rule>
166183
<property-value-rule>
167184
<property>Amazon.NetworkFirewall.Model.DeleteFirewallRequest.FirewallArn</property>
168185
<min>1</min>
@@ -217,6 +234,12 @@
217234
<max>128</max>
218235
<pattern>^[a-zA-Z0-9-]+$</pattern>
219236
</property-value-rule>
237+
<property-value-rule>
238+
<property>Amazon.NetworkFirewall.Model.DeleteVpcEndpointAssociationRequest.VpcEndpointAssociationArn</property>
239+
<min>1</min>
240+
<max>256</max>
241+
<pattern>^arn:aws.*</pattern>
242+
</property-value-rule>
220243
<property-value-rule>
221244
<property>Amazon.NetworkFirewall.Model.DescribeFirewallRequest.FirewallArn</property>
222245
<min>1</min>
@@ -235,6 +258,29 @@
235258
<max>1024</max>
236259
<pattern>^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$</pattern>
237260
</property-value-rule>
261+
<property-value-rule>
262+
<property>Amazon.NetworkFirewall.Model.DescribeFirewallMetadataRequest.FirewallArn</property>
263+
<min>1</min>
264+
<max>256</max>
265+
<pattern>^arn:aws.*</pattern>
266+
</property-value-rule>
267+
<property-value-rule>
268+
<property>Amazon.NetworkFirewall.Model.DescribeFirewallMetadataResponse.Description</property>
269+
<max>512</max>
270+
<pattern>^.*$</pattern>
271+
</property-value-rule>
272+
<property-value-rule>
273+
<property>Amazon.NetworkFirewall.Model.DescribeFirewallMetadataResponse.FirewallArn</property>
274+
<min>1</min>
275+
<max>256</max>
276+
<pattern>^arn:aws.*</pattern>
277+
</property-value-rule>
278+
<property-value-rule>
279+
<property>Amazon.NetworkFirewall.Model.DescribeFirewallMetadataResponse.FirewallPolicyArn</property>
280+
<min>1</min>
281+
<max>256</max>
282+
<pattern>^arn:aws.*</pattern>
283+
</property-value-rule>
238284
<property-value-rule>
239285
<property>Amazon.NetworkFirewall.Model.DescribeFirewallPolicyRequest.FirewallPolicyArn</property>
240286
<min>1</min>
@@ -265,6 +311,18 @@
265311
<max>36</max>
266312
<pattern>^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$</pattern>
267313
</property-value-rule>
314+
<property-value-rule>
315+
<property>Amazon.NetworkFirewall.Model.DescribeFlowOperationRequest.VpcEndpointAssociationArn</property>
316+
<min>1</min>
317+
<max>256</max>
318+
<pattern>^arn:aws.*</pattern>
319+
</property-value-rule>
320+
<property-value-rule>
321+
<property>Amazon.NetworkFirewall.Model.DescribeFlowOperationRequest.VpcEndpointId</property>
322+
<min>5</min>
323+
<max>256</max>
324+
<pattern>^vpce-[a-zA-Z0-9]*$</pattern>
325+
</property-value-rule>
268326
<property-value-rule>
269327
<property>Amazon.NetworkFirewall.Model.DescribeFlowOperationResponse.FirewallArn</property>
270328
<min>1</min>
@@ -283,6 +341,18 @@
283341
<max>256</max>
284342
<pattern>^[a-zA-Z0-9- ]+$</pattern>
285343
</property-value-rule>
344+
<property-value-rule>
345+
<property>Amazon.NetworkFirewall.Model.DescribeFlowOperationResponse.VpcEndpointAssociationArn</property>
346+
<min>1</min>
347+
<max>256</max>
348+
<pattern>^arn:aws.*</pattern>
349+
</property-value-rule>
350+
<property-value-rule>
351+
<property>Amazon.NetworkFirewall.Model.DescribeFlowOperationResponse.VpcEndpointId</property>
352+
<min>5</min>
353+
<max>256</max>
354+
<pattern>^vpce-[a-zA-Z0-9]*$</pattern>
355+
</property-value-rule>
286356
<property-value-rule>
287357
<property>Amazon.NetworkFirewall.Model.DescribeLoggingConfigurationRequest.FirewallArn</property>
288358
<min>1</min>
@@ -378,6 +448,12 @@
378448
<max>1024</max>
379449
<pattern>^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$</pattern>
380450
</property-value-rule>
451+
<property-value-rule>
452+
<property>Amazon.NetworkFirewall.Model.DescribeVpcEndpointAssociationRequest.VpcEndpointAssociationArn</property>
453+
<min>1</min>
454+
<max>256</max>
455+
<pattern>^arn:aws.*</pattern>
456+
</property-value-rule>
381457
<property-value-rule>
382458
<property>Amazon.NetworkFirewall.Model.DisassociateSubnetsRequest.FirewallArn</property>
383459
<min>1</min>
@@ -533,6 +609,18 @@
533609
<max>4096</max>
534610
<pattern>[0-9A-Za-z:\/+=]+$</pattern>
535611
</property-value-rule>
612+
<property-value-rule>
613+
<property>Amazon.NetworkFirewall.Model.ListFlowOperationResultsRequest.VpcEndpointAssociationArn</property>
614+
<min>1</min>
615+
<max>256</max>
616+
<pattern>^arn:aws.*</pattern>
617+
</property-value-rule>
618+
<property-value-rule>
619+
<property>Amazon.NetworkFirewall.Model.ListFlowOperationResultsRequest.VpcEndpointId</property>
620+
<min>5</min>
621+
<max>256</max>
622+
<pattern>^vpce-[a-zA-Z0-9]*$</pattern>
623+
</property-value-rule>
536624
<property-value-rule>
537625
<property>Amazon.NetworkFirewall.Model.ListFlowOperationResultsResponse.FirewallArn</property>
538626
<min>1</min>
@@ -557,6 +645,18 @@
557645
<max>256</max>
558646
<pattern>^[a-zA-Z0-9- ]+$</pattern>
559647
</property-value-rule>
648+
<property-value-rule>
649+
<property>Amazon.NetworkFirewall.Model.ListFlowOperationResultsResponse.VpcEndpointAssociationArn</property>
650+
<min>1</min>
651+
<max>256</max>
652+
<pattern>^arn:aws.*</pattern>
653+
</property-value-rule>
654+
<property-value-rule>
655+
<property>Amazon.NetworkFirewall.Model.ListFlowOperationResultsResponse.VpcEndpointId</property>
656+
<min>5</min>
657+
<max>256</max>
658+
<pattern>^vpce-[a-zA-Z0-9]*$</pattern>
659+
</property-value-rule>
560660
<property-value-rule>
561661
<property>Amazon.NetworkFirewall.Model.ListFlowOperationsRequest.FirewallArn</property>
562662
<min>1</min>
@@ -574,6 +674,18 @@
574674
<max>4096</max>
575675
<pattern>[0-9A-Za-z:\/+=]+$</pattern>
576676
</property-value-rule>
677+
<property-value-rule>
678+
<property>Amazon.NetworkFirewall.Model.ListFlowOperationsRequest.VpcEndpointAssociationArn</property>
679+
<min>1</min>
680+
<max>256</max>
681+
<pattern>^arn:aws.*</pattern>
682+
</property-value-rule>
683+
<property-value-rule>
684+
<property>Amazon.NetworkFirewall.Model.ListFlowOperationsRequest.VpcEndpointId</property>
685+
<min>5</min>
686+
<max>256</max>
687+
<pattern>^vpce-[a-zA-Z0-9]*$</pattern>
688+
</property-value-rule>
577689
<property-value-rule>
578690
<property>Amazon.NetworkFirewall.Model.ListFlowOperationsResponse.NextToken</property>
579691
<min>1</min>
@@ -637,6 +749,29 @@
637749
<max>4096</max>
638750
<pattern>[0-9A-Za-z:\/+=]+$</pattern>
639751
</property-value-rule>
752+
<property-value-rule>
753+
<property>Amazon.NetworkFirewall.Model.ListVpcEndpointAssociationsRequest.FirewallArn</property>
754+
<min>1</min>
755+
<max>256</max>
756+
<pattern>^arn:aws.*</pattern>
757+
</property-value-rule>
758+
<property-value-rule>
759+
<property>Amazon.NetworkFirewall.Model.ListVpcEndpointAssociationsRequest.MaxResults</property>
760+
<min>1</min>
761+
<max>100</max>
762+
</property-value-rule>
763+
<property-value-rule>
764+
<property>Amazon.NetworkFirewall.Model.ListVpcEndpointAssociationsRequest.NextToken</property>
765+
<min>1</min>
766+
<max>4096</max>
767+
<pattern>[0-9A-Za-z:\/+=]+$</pattern>
768+
</property-value-rule>
769+
<property-value-rule>
770+
<property>Amazon.NetworkFirewall.Model.ListVpcEndpointAssociationsResponse.NextToken</property>
771+
<min>1</min>
772+
<max>4096</max>
773+
<pattern>[0-9A-Za-z:\/+=]+$</pattern>
774+
</property-value-rule>
640775
<property-value-rule>
641776
<property>Amazon.NetworkFirewall.Model.PutResourcePolicyRequest.Policy</property>
642777
<min>1</min>
@@ -673,6 +808,18 @@
673808
<max>256</max>
674809
<pattern>^arn:aws.*</pattern>
675810
</property-value-rule>
811+
<property-value-rule>
812+
<property>Amazon.NetworkFirewall.Model.StartFlowCaptureRequest.VpcEndpointAssociationArn</property>
813+
<min>1</min>
814+
<max>256</max>
815+
<pattern>^arn:aws.*</pattern>
816+
</property-value-rule>
817+
<property-value-rule>
818+
<property>Amazon.NetworkFirewall.Model.StartFlowCaptureRequest.VpcEndpointId</property>
819+
<min>5</min>
820+
<max>256</max>
821+
<pattern>^vpce-[a-zA-Z0-9]*$</pattern>
822+
</property-value-rule>
676823
<property-value-rule>
677824
<property>Amazon.NetworkFirewall.Model.StartFlowCaptureResponse.FirewallArn</property>
678825
<min>1</min>
@@ -691,6 +838,18 @@
691838
<max>256</max>
692839
<pattern>^arn:aws.*</pattern>
693840
</property-value-rule>
841+
<property-value-rule>
842+
<property>Amazon.NetworkFirewall.Model.StartFlowFlushRequest.VpcEndpointAssociationArn</property>
843+
<min>1</min>
844+
<max>256</max>
845+
<pattern>^arn:aws.*</pattern>
846+
</property-value-rule>
847+
<property-value-rule>
848+
<property>Amazon.NetworkFirewall.Model.StartFlowFlushRequest.VpcEndpointId</property>
849+
<min>5</min>
850+
<max>256</max>
851+
<pattern>^vpce-[a-zA-Z0-9]*$</pattern>
852+
</property-value-rule>
694853
<property-value-rule>
695854
<property>Amazon.NetworkFirewall.Model.StartFlowFlushResponse.FirewallArn</property>
696855
<min>1</min>
@@ -1446,4 +1605,39 @@
14461605
<max>128</max>
14471606
<pattern>^[a-zA-Z0-9-]+$</pattern>
14481607
</property-value-rule>
1608+
<property-value-rule>
1609+
<property>Amazon.NetworkFirewall.Model.VpcEndpointAssociation.Description</property>
1610+
<max>512</max>
1611+
<pattern>^.*$</pattern>
1612+
</property-value-rule>
1613+
<property-value-rule>
1614+
<property>Amazon.NetworkFirewall.Model.VpcEndpointAssociation.FirewallArn</property>
1615+
<min>1</min>
1616+
<max>256</max>
1617+
<pattern>^arn:aws.*</pattern>
1618+
</property-value-rule>
1619+
<property-value-rule>
1620+
<property>Amazon.NetworkFirewall.Model.VpcEndpointAssociation.VpcEndpointAssociationArn</property>
1621+
<min>1</min>
1622+
<max>256</max>
1623+
<pattern>^arn:aws.*</pattern>
1624+
</property-value-rule>
1625+
<property-value-rule>
1626+
<property>Amazon.NetworkFirewall.Model.VpcEndpointAssociation.VpcEndpointAssociationId</property>
1627+
<min>36</min>
1628+
<max>36</max>
1629+
<pattern>^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$</pattern>
1630+
</property-value-rule>
1631+
<property-value-rule>
1632+
<property>Amazon.NetworkFirewall.Model.VpcEndpointAssociation.VpcId</property>
1633+
<min>1</min>
1634+
<max>128</max>
1635+
<pattern>^vpc-[0-9a-f]+$</pattern>
1636+
</property-value-rule>
1637+
<property-value-rule>
1638+
<property>Amazon.NetworkFirewall.Model.VpcEndpointAssociationMetadata.VpcEndpointAssociationArn</property>
1639+
<min>1</min>
1640+
<max>256</max>
1641+
<pattern>^arn:aws.*</pattern>
1642+
</property-value-rule>
14491643
</property-value-rules>
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
/*
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License").
5+
* You may not use this file except in compliance with the License.
6+
* A copy of the License is located at
7+
*
8+
* http://aws.amazon.com/apache2.0
9+
*
10+
* or in the "license" file accompanying this file. This file is distributed
11+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12+
* express or implied. See the License for the specific language governing
13+
* permissions and limitations under the License.
14+
*/
15+
16+
/*
17+
* Do not modify this file. This file is generated from the network-firewall-2020-11-12.normal.json service model.
18+
*/
19+
using System;
20+
using System.Collections.Generic;
21+
using System.Xml.Serialization;
22+
using System.Text;
23+
using System.IO;
24+
using System.Net;
25+
26+
using Amazon.Runtime;
27+
using Amazon.Runtime.Internal;
28+
29+
#pragma warning disable CS0612,CS0618,CS1570
30+
namespace Amazon.NetworkFirewall.Model
31+
{
32+
/// <summary>
33+
/// The status of the firewall endpoint defined by a <c>VpcEndpointAssociation</c>.
34+
/// </summary>
35+
public partial class AZSyncState
36+
{
37+
private Attachment _attachment;
38+
39+
/// <summary>
40+
/// Gets and sets the property Attachment.
41+
/// </summary>
42+
public Attachment Attachment
43+
{
44+
get { return this._attachment; }
45+
set { this._attachment = value; }
46+
}
47+
48+
// Check to see if Attachment property is set
49+
internal bool IsSetAttachment()
50+
{
51+
return this._attachment != null;
52+
}
53+
54+
}
55+
}

0 commit comments

Comments
 (0)