The CreateSecurityGroup operation creates a new security group.
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
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public class CreateSecurityGroupRequest : AmazonWebServiceRequest IRequestEvents
The CreateSecurityGroupRequest type exposes the following members
Constructors
Name | Description | |
---|---|---|
![]() |
CreateSecurityGroupRequest() |
Properties
Name | Description | |
---|---|---|
![]() |
Description | Description of the group. This is informational only. |
![]() |
GroupName | Name of the security group. |
![]() |
VpcId | ID of the VPC. |
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8
.NET for Windows Phone:
Supported in: Window Phone 8