AWSEC2FirewallStatefulRule

Objective-C

@interface AWSEC2FirewallStatefulRule

Swift

class AWSEC2FirewallStatefulRule

Describes a stateful rule.

  • The destination ports.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2PortRange *> *_Nullable destinationPorts;

    Swift

    var destinationPorts: [AWSEC2PortRange]? { get set }
  • The destination IP addresses, in CIDR notation.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable destinations;

    Swift

    var destinations: [String]? { get set }
  • The direction. The possible values are FORWARD and ANY.

    Declaration

    Objective-C

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

    Swift

    var direction: String? { get set }
  • The protocol.

    Declaration

    Objective-C

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

    Swift

    var protocols: String? { get set }
  • The rule action. The possible values are pass, drop, and alert.

    Declaration

    Objective-C

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

    Swift

    var ruleAction: String? { get set }
  • The ARN of the stateful rule group.

    Declaration

    Objective-C

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

    Swift

    var ruleGroupArn: String? { get set }
  • The source ports.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2PortRange *> *_Nullable sourcePorts;

    Swift

    var sourcePorts: [AWSEC2PortRange]? { get set }
  • The source IP addresses, in CIDR notation.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable sources;

    Swift

    var sources: [String]? { get set }