CfnNetworkAclEntryProps

class aws_cdk.aws_ec2.CfnNetworkAclEntryProps(*, network_acl_id, protocol, rule_action, rule_number, cidr_block=None, egress=None, icmp=None, ipv6_cidr_block=None, port_range=None)

Bases: object

__init__(*, network_acl_id, protocol, rule_action, rule_number, cidr_block=None, egress=None, icmp=None, ipv6_cidr_block=None, port_range=None)

Properties for defining a AWS::EC2::NetworkAclEntry.

Parameters
  • network_acl_id (str) – AWS::EC2::NetworkAclEntry.NetworkAclId.

  • protocol (Union[int, float]) – AWS::EC2::NetworkAclEntry.Protocol.

  • rule_action (str) – AWS::EC2::NetworkAclEntry.RuleAction.

  • rule_number (Union[int, float]) – AWS::EC2::NetworkAclEntry.RuleNumber.

  • cidr_block (Optional[str]) – AWS::EC2::NetworkAclEntry.CidrBlock.

  • egress (Union[bool, None, IResolvable]) – AWS::EC2::NetworkAclEntry.Egress.

  • icmp (Union[IResolvable, None, IcmpProperty]) – AWS::EC2::NetworkAclEntry.Icmp.

  • ipv6_cidr_block (Optional[str]) – AWS::EC2::NetworkAclEntry.Ipv6CidrBlock.

  • port_range (Union[IResolvable, None, PortRangeProperty]) – AWS::EC2::NetworkAclEntry.PortRange.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-acl-entry.html

Attributes

cidr_block

AWS::EC2::NetworkAclEntry.CidrBlock.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-acl-entry.html#cfn-ec2-networkaclentry-cidrblock

Return type

Optional[str]

egress

AWS::EC2::NetworkAclEntry.Egress.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-acl-entry.html#cfn-ec2-networkaclentry-egress

Return type

Union[bool, None, IResolvable]

icmp

AWS::EC2::NetworkAclEntry.Icmp.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-acl-entry.html#cfn-ec2-networkaclentry-icmp

Return type

Union[IResolvable, None, IcmpProperty]

ipv6_cidr_block

AWS::EC2::NetworkAclEntry.Ipv6CidrBlock.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-acl-entry.html#cfn-ec2-networkaclentry-ipv6cidrblock

Return type

Optional[str]

network_acl_id

AWS::EC2::NetworkAclEntry.NetworkAclId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-acl-entry.html#cfn-ec2-networkaclentry-networkaclid

Return type

str

port_range

AWS::EC2::NetworkAclEntry.PortRange.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-acl-entry.html#cfn-ec2-networkaclentry-portrange

Return type

Union[IResolvable, None, PortRangeProperty]

protocol

AWS::EC2::NetworkAclEntry.Protocol.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-acl-entry.html#cfn-ec2-networkaclentry-protocol

Return type

Union[int, float]

rule_action

AWS::EC2::NetworkAclEntry.RuleAction.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-acl-entry.html#cfn-ec2-networkaclentry-ruleaction

Return type

str

rule_number

AWS::EC2::NetworkAclEntry.RuleNumber.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-acl-entry.html#cfn-ec2-networkaclentry-rulenumber

Return type

Union[int, float]