AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

A security group association with a VPC that you made with AssociateSecurityGroupVpc.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.SecurityGroupVpcAssociation

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class SecurityGroupVpcAssociation

The SecurityGroupVpcAssociation type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property GroupId System.String

Gets and sets the property GroupId.

The association's security group ID.

Public Property GroupOwnerId System.String

Gets and sets the property GroupOwnerId.

The Amazon Web Services account ID of the owner of the security group.

Public Property State Amazon.EC2.SecurityGroupVpcAssociationState

Gets and sets the property State.

The association's state.

Public Property StateReason System.String

Gets and sets the property StateReason.

The association's state reason.

Public Property VpcId System.String

Gets and sets the property VpcId.

The association's VPC ID.

Public Property VpcOwnerId System.String

Gets and sets the property VpcOwnerId.

The Amazon Web Services account ID of the owner of the VPC.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer