The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::SecurityHub::AwsEc2NetworkAclEntry

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::SecurityHub::AwsEc2NetworkAclEntry object:

  $service_obj->Method(Att1 => { CidrBlock => $value, ..., RuleNumber => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::SecurityHub::AwsEc2NetworkAclEntry object:

  $result = $service_obj->Method(...);
  $result->Att1->CidrBlock

DESCRIPTION

A rule for the network ACL. Each rule allows or denies access based on the IP address, traffic direction, port, and protocol.

ATTRIBUTES

CidrBlock => Str

The IPV4 network range for which to deny or allow access.

Egress => Bool

Whether the rule is an egress rule. An egress rule is a rule that applies to traffic that leaves the subnet.

IcmpTypeCode => Paws::SecurityHub::IcmpTypeCode

The Internet Control Message Protocol (ICMP) type and code for which to deny or allow access.

Ipv6CidrBlock => Str

The IPV6 network range for which to deny or allow access.

PortRange => Paws::SecurityHub::PortRangeFromTo

For TCP or UDP protocols, the range of ports that the rule applies to.

Protocol => Str

The protocol that the rule applies to. To deny or allow access to all protocols, use the value -1.

RuleAction => Str

Whether the rule is used to allow access or deny access.

RuleNumber => Int

The rule number. The rules are processed in order by their number.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::SecurityHub

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues