github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/aws/vpc/AVD-AWS-0102/CloudFormation.md (about)

     1  
     2  Set specific allowed ports
     3  
     4  ```yaml
     5  ---
     6  AWSTemplateFormatVersion: "2010-09-09"
     7  Description: A sample template
     8  AWSTemplateFormatVersion: 2010-09-09
     9  Description: Godd example of excessive ports
    10  Resources: 
    11    NetworkACL:
    12      Type: AWS::EC2::NetworkAcl
    13      Properties:
    14        VpcId: "something"
    15    Rule:
    16      Type: AWS::EC2::NetworkAclEntry
    17      Properties:
    18        NetworkAclId:
    19          Ref: NetworkACL
    20        Protocol: 6
    21  ```