sdk/python/pulumi_aws/ec2/outputs.py
def security_groups(self) -> Optional[Sequence[str]]:
        """
        List of security group Group Names if using EC2-Classic, or Group IDs if using a VPC.
        """
        return pulumi.get(self, "security_groups")

        List of security group Group Names if using EC2-Classic, or Group IDs if using a VPC.
        
List of security group Group Names if using EC2-Classic, or Group IDs if using a VPC.
List of security group Group Names if using EC2 - Classic or Group IDs if using a VPC .
def security_groups(self) -> Optional[Sequence[str]]:
        return pulumi.get(self, "security_groups")
def security_groups ( self ) -> Optional [ Sequence [ str ] ] : return pulumi . get ( self , "security_groups" )
List of security group Group Names if using EC2-Classic, or Group IDs if using a VPC.
List of security group Group Names if using EC2 - Classic or Group IDs if using a VPC .
"""
        List of security group Group Names if using EC2-Classic, or Group IDs if using a VPC.
        """
self