AWS SDK for .NET Documentation
CreateSecurityGroupRequest Class
AmazonAmazon.EC2.ModelCreateSecurityGroupRequest Did this page help you?   Yes   No    Tell us about it...
Creates a new security group. Group names must be unique per account.
Declaration Syntax
C#
public class CreateSecurityGroupRequest : EC2Request
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
CreateSecurityGroupRequest()()()()
Initializes a new instance of the CreateSecurityGroupRequest class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
GroupDescription
Description of the group.

GroupName
Name of the security group.

IsSetGroupDescription()()()()
Checks if GroupDescription property is set

IsSetGroupName()()()()
Checks if GroupName property is set

IsSetVpcId()()()()
Checks if VpcId property is set

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
VpcId
ID of the VPC.

WithGroupDescription(String) Obsolete.
Sets the description of the group.

WithGroupName(String) Obsolete.
Sets the name of the security group.

WithVpcId(String) Obsolete.
Sets the ID of the VPC.

Remarks
Every instance is launched in a security group. If no security group is specified during launch, the instances are launched in the default security group. Instances within the same security group have unrestricted network access to each other. Instances will reject network access attempts from other instances in a different security group. As the owner of instances you can grant or revoke specific permissions using the AuthorizeSecurityGroupIngress and RevokeSecurityGroupIngress operations.
Inheritance Hierarchy
Object
EC2Request
 CreateSecurityGroupRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)