Creates a new security group. Group names must be
unique per account.

C# |
public class CreateSecurityGroupRequest : EC2Request

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | CreateSecurityGroupRequest()()()() | Initializes a new instance of the CreateSecurityGroupRequest class |
![]() | Equals(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.
|

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.

Object | ||
![]() | EC2Request | |
![]() | CreateSecurityGroupRequest |