AWSEC2UserIdGroupPair
Objective-C
@interface AWSEC2UserIdGroupPair
Swift
class AWSEC2UserIdGroupPair
Describes a security group and Amazon Web Services account ID pair.
We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide.
-
A description for the security group rule that references this user ID group pair.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable detail;
Swift
var detail: String? { get set }
-
The ID of the security group.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable groupId;
Swift
var groupId: String? { get set }
-
The name of the security group. In a request, use this parameter for a security group in EC2-Classic or a default VPC only. For a security group in a nondefault VPC, use the security group ID.
For a referenced security group in another VPC, this value is not returned if the referenced security group is deleted.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable groupName;
Swift
var groupName: String? { get set }
-
The status of a VPC peering connection, if applicable.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable peeringStatus;
Swift
var peeringStatus: String? { get set }
-
The ID of an Amazon Web Services account.
For a referenced security group in another VPC, the account ID of the referenced security group is returned in the response. If the referenced security group is deleted, this value is not returned.
[EC2-Classic] Required when adding or removing rules that reference a security group in another Amazon Web Services account.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable userId;
Swift
var userId: String? { get set }
-
The ID of the VPC for the referenced security group, if applicable.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable vpcId;
Swift
var vpcId: String? { get set }
-
The ID of the VPC peering connection, if applicable.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable vpcPeeringConnectionId;
Swift
var vpcPeeringConnectionId: String? { get set }