AWSEC2SecurityGroupReference

Objective-C

@interface AWSEC2SecurityGroupReference

Swift

class AWSEC2SecurityGroupReference

Describes a VPC with a security group that references your security group.

  • The ID of your security group.

    Declaration

    Objective-C

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

    Swift

    var groupId: String? { get set }
  • The ID of the VPC with the referencing security group.

    Declaration

    Objective-C

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

    Swift

    var referencingVpcId: String? { get set }
  • The ID of the transit gateway (if applicable). For more information about security group referencing for transit gateways, see Create a transit gateway attachment to a VPC in the Amazon Web Services Transit Gateway Guide.

    Declaration

    Objective-C

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

    Swift

    var transitGatewayId: String? { get set }
  • The ID of the VPC peering connection (if applicable). For more information about security group referencing for peering connections, see Update your security groups to reference peer security groups in the VPC Peering Guide.

    Declaration

    Objective-C

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

    Swift

    var vpcPeeringConnectionId: String? { get set }