Creates a new security group. Group names must be unique per account. 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

Namespace: Amazon.EC2.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class CreateSecurityGroupRequest
Public Class CreateSecurityGroupRequest
public ref class CreateSecurityGroupRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
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
Gets and sets the GroupDescription property. Description of the group. Constraints: Accepts alphanumeric characters, spaces, dashes, and underscores.
GroupName
Gets and sets the GroupName property. Name of the security group. Constraints: Accepts alphanumeric characters, spaces, dashes, and underscores.
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
Gets and sets the VpcId property. ID of the VPC. Condition: Required for VPC security groups
WithGroupDescription(String)
Sets the GroupDescription property
WithGroupName(String)
Sets the GroupName property
WithVpcId(String)
Sets the VpcId property

Inheritance Hierarchy

System..::..Object
  Amazon.EC2.Model..::..CreateSecurityGroupRequest

See Also