AWSEC2IpPermission Class Reference

Inherits from AWSModel : AWSMTLModel
Declared in AWSEC2Model.h
AWSEC2Model.m

Overview

Describes a security group rule.

  fromPort

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

@property (nonatomic, strong) NSNumber *fromPort

Declared In

AWSEC2Model.h

  ipProtocol

The IP protocol name (for tcp, udp, and icmp) or number (see Protocol Numbers).

[EC2-VPC only] When you authorize or revoke security group rules, you can use -1 to specify all.

@property (nonatomic, strong) NSString *ipProtocol

Declared In

AWSEC2Model.h

  ipRanges

One or more IP ranges.

@property (nonatomic, strong) NSArray<AWSEC2IpRange*> *ipRanges

Declared In

AWSEC2Model.h

  prefixListIds

(Valid for AuthorizeSecurityGroupEgress, RevokeSecurityGroupEgress and DescribeSecurityGroups only) One or more prefix list IDs for an AWS service. In an AuthorizeSecurityGroupEgress request, this is the AWS service that you want to access through a VPC endpoint from instances associated with the security group.

@property (nonatomic, strong) NSArray<AWSEC2PrefixListId*> *prefixListIds

Declared In

AWSEC2Model.h

  toPort

The end of port range for the TCP and UDP protocols, or an ICMP code. A value of -1 indicates all ICMP codes for the specified ICMP type.

@property (nonatomic, strong) NSNumber *toPort

Declared In

AWSEC2Model.h

  userIdGroupPairs

One or more security group and AWS account ID pairs.

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

Declared In

AWSEC2Model.h