:doc:`Instance <index>` / Attribute / security_groups

***************
security_groups
***************



.. py:attribute:: EC2.Instance.security_groups

  

  - *(list) --* 

    The security groups for the instance.

    
    

    - *(dict) --* 

      Describes a security group.

      
      

      - **GroupId** *(string) --* 

        The ID of the security group.

        
      

      - **GroupName** *(string) --* 

        The name of the security group.

        
  
