AWSEC2SecurityGroupRule

Objective-C

@interface AWSEC2SecurityGroupRule

Swift

class AWSEC2SecurityGroupRule

Describes a security group rule.

  • The IPv4 CIDR range.

    Declaration

    Objective-C

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

    Swift

    var cidrIpv4: String? { get set }
  • The IPv6 CIDR range.

    Declaration

    Objective-C

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

    Swift

    var cidrIpv6: String? { get set }
  • The security group rule description.

    Declaration

    Objective-C

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

    Swift

    var detail: String? { get set }
  • The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type. A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all codes.

    Declaration

    Objective-C

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

    Swift

    var fromPort: NSNumber? { get set }
  • The ID of the security group.

    Declaration

    Objective-C

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

    Swift

    var groupId: String? { get set }
  • The ID of the account that owns the security group.

    Declaration

    Objective-C

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

    Swift

    var groupOwnerId: String? { get set }
  • The IP protocol name (tcp, udp, icmp, icmpv6) or number (see Protocol Numbers).

    Use -1 to specify all protocols.

    Declaration

    Objective-C

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

    Swift

    var ipProtocol: String? { get set }
  • Indicates whether the security group rule is an outbound rule.

    Declaration

    Objective-C

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

    Swift

    var isEgress: NSNumber? { get set }
  • The ID of the prefix list.

    Declaration

    Objective-C

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

    Swift

    var prefixListId: String? { get set }
  • Describes the security group that is referenced in the rule.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSEC2ReferencedSecurityGroup *_Nullable referencedGroupInfo;

    Swift

    var referencedGroupInfo: AWSEC2ReferencedSecurityGroup? { get set }
  • The ID of the security group rule.

    Declaration

    Objective-C

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

    Swift

    var securityGroupRuleId: String? { get set }
  • The tags applied to the security group rule.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2Tag *> *_Nullable tags;

    Swift

    var tags: [AWSEC2Tag]? { get set }
  • The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1 indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 types, you must specify all codes.

    Declaration

    Objective-C

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

    Swift

    var toPort: NSNumber? { get set }