AWSEC2FirewallStatelessRule

Objective-C

@interface AWSEC2FirewallStatelessRule

Swift

class AWSEC2FirewallStatelessRule

Describes a stateless 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 rule priority.

    Declaration

    Objective-C

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

    Swift

    var priority: NSNumber? { get set }
  • The protocols.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSNumber *> *_Nullable protocols;

    Swift

    var protocols: [NSNumber]? { get set }
  • The rule action. The possible values are pass, drop, and forward_to_site.

    Declaration

    Objective-C

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

    Swift

    var ruleAction: String? { get set }
  • The ARN of the stateless 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 }