class AWS::EC2::SecurityGroup

def vpc?

Returns:
  • (Boolean) - Returns true if this is a VPC security group and
def vpc?
  vpc_id ? true : false
end