AWSEC2AnalysisSecurityGroupRule

Objective-C

@interface AWSEC2AnalysisSecurityGroupRule

Swift

class AWSEC2AnalysisSecurityGroupRule

Describes a security group rule.

  • The IPv4 address range, in CIDR notation.

    Declaration

    Objective-C

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

    Swift

    var cidr: String? { get set }
  • The direction. The following are the possible values:

    • egress

    • ingress

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var portRange: AWSEC2PortRange? { get set }
  • The prefix list ID.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var protocols: String? { get set }
  • The security group ID.

    Declaration

    Objective-C

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

    Swift

    var securityGroupId: String? { get set }