AWSEC2StaleIpPermission

@interface AWSEC2StaleIpPermission

Describes a stale rule in a security group.

  • The start of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1 indicates all ICMP types.

    Declaration

    Objective-C

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

    Swift

    var fromPort: NSNumber? { get set }
  • The IP protocol name (for tcp, udp, and icmp) or number (see Protocol Numbers).

    Declaration

    Objective-C

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

    Swift

    var ipProtocol: String? { get set }
  • The IP ranges. Not applicable for stale security group rules.

    Declaration

    Objective-C

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

    Swift

    var ipRanges: [String]? { get set }
  • The prefix list IDs for an AWS service. Not applicable for stale security group rules.

    Declaration

    Objective-C

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

    Swift

    var prefixListIds: [String]? { get set }
  • The end of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1 indicates all ICMP types.

    Declaration

    Objective-C

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

    Swift

    var toPort: NSNumber? { get set }
  • The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2UserIdGroupPair *> *_Nullable userIdGroupPairs;

    Swift

    var userIdGroupPairs: [AWSEC2UserIdGroupPair]? { get set }