AWSEC2StaleIpPermission
Objective-C
@interface AWSEC2StaleIpPermission
Swift
class AWSEC2StaleIpPermission
Describes a stale rule in a security group.
-
If the protocol is TCP or UDP, this is the start of the port range. If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types).
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable fromPort;Swift
var fromPort: NSNumber? { get set } -
The IP protocol name (
tcp,udp,icmp,icmpv6) 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. Not applicable for stale security group rules.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<NSString *> *_Nullable prefixListIds;Swift
var prefixListIds: [String]? { get set } -
If the protocol is TCP or UDP, this is the end of the port range. If the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes).
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 }
View on GitHub
Install in Dash
AWSEC2StaleIpPermission Class Reference