EC2.ServiceResource.
SecurityGroup
Creates a SecurityGroup resource.:
security_group = ec2.SecurityGroup('id')
EC2.SecurityGroup