Class AWS::EC2::SecurityGroupCollection
In: lib/aws/ec2/security_group_collection.rb
Parent: Collection

Represents all EC2 security groups in an AWS account.

Methods

[]   create   each   member_class  

Included Modules

TaggedCollection

Public Instance methods

@param [String] group_id The group id of a security group. @return [SecurityGroup] The group with the given id.

Creates a new @param [String] name The name of the security group to create. @param [Hash] options @option options [String] :description An informal description

  of this security group.  Accepts alphanumeric characters, spaces,
  dashes, and underscores. If left blank the description will be set
  to the name.

@return [SecurityGroup]

Yields once for each security group in this account.

@yield [group] @yieldparam [SecurityGroup] group @return [nil]

Protected Instance methods

[Validate]