AWSEC2NetworkAclEntry

Objective-C

@interface AWSEC2NetworkAclEntry

Swift

class AWSEC2NetworkAclEntry

Describes an entry in a network ACL.

  • The IPv4 network range to allow or deny, in CIDR notation.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable cidrBlock;

    Swift

    var cidrBlock: String? { get set }
  • Indicates whether the rule is an egress rule (applied to traffic leaving the subnet).

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable egress;

    Swift

    var egress: NSNumber? { get set }
  • ICMP protocol: The ICMP type and code.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSEC2IcmpTypeCode *_Nullable icmpTypeCode;

    Swift

    var icmpTypeCode: AWSEC2IcmpTypeCode? { get set }
  • The IPv6 network range to allow or deny, in CIDR notation.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable ipv6CidrBlock;

    Swift

    var ipv6CidrBlock: String? { get set }
  • TCP or UDP protocols: The range of ports the rule applies to.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSEC2PortRange *_Nullable portRange;

    Swift

    var portRange: AWSEC2PortRange? { get set }
  • The protocol number. A value of “-1” means all protocols.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable protocols;

    Swift

    var protocols: String? { get set }
  • Indicates whether to allow or deny the traffic that matches the rule.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2RuleAction ruleAction;

    Swift

    var ruleAction: AWSEC2RuleAction { get set }
  • The rule number for the entry. ACL entries are processed in ascending order by rule number.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable ruleNumber;

    Swift

    var ruleNumber: NSNumber? { get set }